https://github.com/mxssl/webshare
webshare is a CLI tool that provides web-interface for your local files
https://github.com/mxssl/webshare
cli go golang
Last synced: 12 months ago
JSON representation
webshare is a CLI tool that provides web-interface for your local files
- Host: GitHub
- URL: https://github.com/mxssl/webshare
- Owner: mxssl
- License: apache-2.0
- Created: 2018-04-26T18:51:32.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-12-02T18:02:45.000Z (over 7 years ago)
- Last Synced: 2024-06-20T06:28:12.543Z (about 2 years ago)
- Topics: cli, go, golang
- Language: Go
- Homepage:
- Size: 168 KB
- Stars: 12
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# webshare
`webshare` is a CLI tool that provides web-interface for your local files.
## How to use this app
Download binary for your system:
[Windows](https://github.com/mxssl/webshare/releases/download/v0.0.3/webshare-windows-amd64.exe)
[Linux](https://github.com/mxssl/webshare/releases/download/v0.0.3/webshare-linux-amd64)
[MacOS](https://github.com/mxssl/webshare/releases/download/v0.0.3/webshare-darwin-amd64)
Rename binary for convinient use:
Windows: `ren webshare-windows-amd64.exe webshare.exe`
Linux: `mv webshare-linux-amd64 webshare`
MacOS: `mv webshare-darwin-amd64 webshare`
Then just run:
Windows: `webshare.exe`
Linux: `./webshare`
MacOS: `./webshare`
```
webshare [command]
Available Commands:
help Help about any command
serve Start webshare server
version Print the version number of Webshare
```
`webshare serve` - main command that you need
```
webshare serve [flags]
Flags:
-a, --address string IP address of needed interface (default "0.0.0.0")
-d, --dir string path to files that you want to share (default ".")
-h, --help help for serve
-p, --port string listen this port (default "8080")
```
* Start webshare server: `webshare serve`
* Open your browser http://your_ip:8080 and you will see files in directory that you picked
* To stop this app use `ctrl + c` combination