Skip to content

Instantly share code, notes, and snippets.

@lassik
Created March 30, 2018 14:45
Show Gist options
  • Save lassik/50e41451f859c20b9b53e2243c02e2db to your computer and use it in GitHub Desktop.
Save lassik/50e41451f859c20b9b53e2243c02e2db to your computer and use it in GitHub Desktop.
Review of "webhere" programs on github
https://github.com/teerl/httphere
Go. HTTPS, directory listing.
https://github.com/dcparker/httphere
Ruby. HTTPS, cache size, Markdown, Textile.
https://github.com/dgl/httphere
Go. Good addr and logging stuff, very very simple server.
----------------------------------------------------------------------
https://github.com/jeremychone/node-webhere/blob/master/server.js
Node JS.
cors: {origin: ['*'], additionalHeaders: ["Accept-language"]}
request.response.header('access-control-allow-origin', '*');
request.response.header('access-control-expose-headers',
'WWW-Authenticate,Server-Authorization');
https://github.com/smallyard/webhere
Node JS. Good set of command line options
----------------------------------------------------------------------
https://github.com/h8liu/webhere
Go. Just http.FileServer, given a port number.
https://github.com/rsesek/httphere
Go. Just http.FileServer, given a port number.
https://github.com/manucorporat/httphere-ruby
Ruby. Just WEBrick HTTPServer, given a port number.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment