Dumb server that helps you serve files from a path via HTTP.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Darshil Chanpura b594a4c352 Merge pull request 'Dumb HTTP with S3 Proxy' (#1) from s3-proxy into master 1 year ago
cmd Added the missing logger in s3 part 1 year ago
logger Moved things to cmd 1 year ago
.editorconfig Update: added Makefile, editorconfig and dependency management (not needed though) 3 years ago
.gitignore Makefile updated with version 1 year ago
LICENSE Updated License and added it in README.md 1 year ago
Makefile Update: changes in Makefile and fixing lint errors 1 year ago
README.md Updated License and added it in README.md 1 year ago
go.mod Moved s3fs to a module 1 year ago
go.sum Moved s3fs to a module 1 year ago

README.md

dumb-http

Simple HTTP Server

Usage

dumb-http [-path path-to-serve] [port]

Example

$ dumb-http -path ./docs
Serving at http://0.0.0.0:8000/ from ./docs
127.0.0.1 - - [06/Jul/2018 17:05:36] "GET / HTTP/1.1" 200 0 16.76µs "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:61.0) Gecko/20100101 Firefox/61.0"
127.0.0.1 - - [06/Jul/2018 17:05:37] "GET / HTTP/1.1" 304 0 173ns "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:61.0) Gecko/20100101 Firefox/61.0"

Inspired by Python module http.server

Reference: https://gist.github.com/cespare/3985516

LICENSE

MIT