https://github.com/techstark/http-server
A simple command-line HTTP server
https://github.com/techstark/http-server
Last synced: 4 months ago
JSON representation
A simple command-line HTTP server
- Host: GitHub
- URL: https://github.com/techstark/http-server
- Owner: TechStark
- License: mit
- Created: 2019-11-08T01:58:53.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2025-06-17T13:55:08.000Z (12 months ago)
- Last Synced: 2025-06-17T14:43:16.758Z (12 months ago)
- Language: Go
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# http-server
A simple command-line HTTP server
## Usage:
```sh
cd path/to/web-folder/
http-server start
```
## Help Doc:
```sh
% http-server start --help
Start the HTTP server
Usage:
http-server start [flags]
Flags:
-d, --directory string Path of the web folder
-f, --file string Path of a file (for sharing a single file)
-h, --help help for start
-p, --port int Port number (default 8080)
--qrcode Show QR code of server URL
--upload Allow uploading files via path /upload
```