https://github.com/sharpvik/serve
Simple static file server
https://github.com/sharpvik/serve
file-server
Last synced: 11 months ago
JSON representation
Simple static file server
- Host: GitHub
- URL: https://github.com/sharpvik/serve
- Owner: sharpvik
- License: mit
- Created: 2020-10-18T22:54:20.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-02-10T20:16:52.000Z (almost 3 years ago)
- Last Synced: 2025-01-16T18:29:42.056Z (about 1 year ago)
- Topics: file-server
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `serve`
Local static file server.
## Install
```bash
go install github.com/sharpvik/serve@latest
```
## Usage
```bash
NAME:
serve - local static file server
USAGE:
serve [global options] command [command options] [arguments...]
COMMANDS:
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--dir value, -d value Serve files from the specified directory (default: ".")
--port value, -p value Bind server to custom port (default: 8888)
--share, -s Use host 0.0.0.0 instead of localhost (default: false)
--help, -h show help
```