Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nof0rte/simple-http-server
A really simple HTTP server like python's simple web server but slightly more configurable.
https://github.com/nof0rte/simple-http-server
go golang http-server simple-http-file-server simple-http-server
Last synced: 14 days ago
JSON representation
A really simple HTTP server like python's simple web server but slightly more configurable.
- Host: GitHub
- URL: https://github.com/nof0rte/simple-http-server
- Owner: NoF0rte
- Created: 2022-11-03T22:24:02.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-21T20:52:53.000Z (about 1 year ago)
- Last Synced: 2024-06-20T11:06:50.176Z (5 months ago)
- Topics: go, golang, http-server, simple-http-file-server, simple-http-server
- Language: Go
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple HTTP Server
This is a simple HTTP server that tries to act like python's HTTP server and be slightly more configurable.## Install
Use go to install the binary
```
go install github.com/NoF0rte/simple-http-server@latest
```## Usage
```
Usage of simple-http-server:
-cors
Enable CORS
-d string
The directory where the files are served (default ".")
-l string
The address to listen on (default "0.0.0.0")
-p string
The port to listen on (default "8000")```