https://github.com/sharpvik/serve
Simple static file server
https://github.com/sharpvik/serve
file-server
Last synced: 17 days 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 (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2026-01-21T17:50:58.000Z (6 months ago)
- Last Synced: 2026-01-22T05:36:04.295Z (6 months 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
```