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.

Revisions

  1. lassik created this gist Mar 30, 2018.
    40 changes: 40 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,40 @@
    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.