nifty static file indexer
Find a file
2026-03-18 09:48:45 +00:00
log tidy source files 2026-03-18 09:39:02 +00:00
web add some common code file extensions as text/plain 2026-03-18 09:48:45 +00:00
.gitignore serve index.html when present (case-sensitve) 2026-03-16 22:05:29 +01:00
go.mod fixed prior merge conflic causing double'd embed, added readme parser with full markdown, added readme render to HTML, renamed filepath to fpath to use FilePath.Join for case insensitivity, fixed ident in html src (inline css), added readme css with proper accents 2026-03-16 20:41:16 +01:00
go.sum fixed prior merge conflic causing double'd embed, added readme parser with full markdown, added readme render to HTML, renamed filepath to fpath to use FilePath.Join for case insensitivity, fixed ident in html src (inline css), added readme css with proper accents 2026-03-16 20:41:16 +01:00
main.go tidy source files 2026-03-18 09:39:02 +00:00
Makefile add makefile 2025-06-08 21:40:19 +01:00
README.md update readme 2026-03-18 09:19:52 +00:00

indir

a nifty static file indexer

indir provides a nice, simple web frontend for browsing your file directories! heavily inspired by traditional file indexers provided by the likes of nginx and apache, with some modern amenities on top :)

usage

indir [--host address] [--port port] [--root http_root] directory

    --help              shows this help message
    --host address      hosts on the specified address
    --port port         hosts on the specified port
    --root http_root    hosts on the specified subdirectory, i.e. `/files/`

features

  • index files: if available, indir will prefer serving an index.html file instead of a directory listing.
  • custom CSS: indir will append the contents of a local index.css file to the default stylesheet, if applicable.
  • readme files: adding a readme.md file (case insensitive) will append its contents beneath the directory tree in rendered markdown.