https://github.com/xlab/tun
Tun is a tool that serves files from the specified directory or a web resource.
https://github.com/xlab/tun
Last synced: over 1 year ago
JSON representation
Tun is a tool that serves files from the specified directory or a web resource.
- Host: GitHub
- URL: https://github.com/xlab/tun
- Owner: xlab
- Created: 2014-08-05T22:22:17.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2015-01-24T10:45:15.000Z (over 11 years ago)
- Last Synced: 2025-01-28T04:31:16.410Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 180 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
Awesome Lists containing this project
README
Usage: tun [option]
Spawns an http server that serves files from the specified directory or a web resource.
OPTIONS:
-p, --port=5051 a port used by the server
-pin, --pin=false use a PIN code that will protect this tun (random alphanumeric)
--pin-len=4 specify the length of a randomly generated alphanumeric PIN
--set-pin="" set a custom PIN code to override the autogenerated one
-u, --url=false take an url as source
-v, --verbose=false be verbose