Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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")

```