fileserver

command module
v0.0.0-...-e4994d0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2023 License: MIT Imports: 16 Imported by: 0

README

fileserver

A simple file server to share files on a local network or on the internet using ngrok.

Requirements

Go 1.20

Install

go install github.com/uri/fileserver@latest

Usage

Running the program will share the current directory:

fileserver # host current directory on local network
fileserver -ngrok <NGROK_AUTHTOKEN> # hosts through ngrok

Use -prefix to set the network prefix (if your local network is different than the default.)

Usage of fileserver:
  -log string
        log level: info|debug
  -ngrok string
        Ngrok API token
  -port string
        local port to serve (default "8080")
  -prefix string
        subnet to use for local server (default "192.168.0.0/16")

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL