Skip to content
/ fileserver Public

A simple fileserver for sharing on your local network on on the internet using ngrok.

License

Notifications You must be signed in to change notification settings

uri/fileserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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")

About

A simple fileserver for sharing on your local network on on the internet using ngrok.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors