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

https://github.com/ttulka/dir2http

Directory to a HTTP server - makes a local directory accessible via HTTP.
https://github.com/ttulka/dir2http

golang http http-server local-development

Last synced: 3 months ago
JSON representation

Directory to a HTTP server - makes a local directory accessible via HTTP.

Awesome Lists containing this project

README

          

# dir2http: Directory to a HTTP Server

Makes a local directory accessible via HTTP.

## Usage
```
dir2http 1234 ./test

curl http://localhost:1234
curl http://localhost:1234/page/
curl http://localhost:1234/page/next.html
curl http://localhost:1234/image.jpg --output image.jpg
```