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.
- Host: GitHub
- URL: https://github.com/ttulka/dir2http
- Owner: ttulka
- Created: 2020-01-26T15:19:35.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-28T14:20:06.000Z (about 6 years ago)
- Last Synced: 2025-01-18T03:08:16.552Z (about 1 year ago)
- Topics: golang, http, http-server, local-development
- Language: Go
- Size: 12.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```