Skip to content

Instantly share code, notes, and snippets.

@btbytes
Last active August 29, 2015 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save btbytes/e905687f84deae6753bd to your computer and use it in GitHub Desktop.
Save btbytes/e905687f84deae6753bd to your computer and use it in GitHub Desktop.
Hyper File Server

Hyper File Server

Assuming a large directory with many sub-directories and varying file-types are expected to be available over HTTP.

This program should serve these files under the following requirements:

  • Serve up Markdown/rST/asciidoc etc., files as HTML (ie., behave as a "Handler" in Apache)
  • Render a predefined set of files (eg: README.md, README.txt) as HTML files at the end of file listing in a directoy (ie., behave as ReadmeName in Apache)
  • Compressed files should be shown as browsable directory.
  • search file names.
  • search contents
  • navigate files by - creation, last modified, file type
  • edit text file types.
  • annotate every file with metadata such as tags, summary etc.,
  • show metadata, summary etc., next to each file in the directory view if available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment