nifty static file indexer
Find a file
2026-03-18 09:18:43 +00:00
templates credit contributors in footer 2026-03-18 09:18:43 +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 FEAT: directory stylesheet overrides 2026-03-17 20:16:28 +01:00
Makefile add makefile 2025-06-08 21:40:19 +01:00
README.md updated readme to reflect new features <3 2026-03-17 20:38:48 +01:00

indir

a nifty static file indexer

indir provides a nice, simple frontend for browsing your web 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

file serving

indir has the possibility of automatically serving an index.html instead of displaying the directory view!

customization

readme

drop a README.md into any directory and indir will render it below the file listing with full markdown support!

custom css

using a 'index.css' file, you can customize the directory view!


to-do:

  • use templates instead of hard-coded HTML (i was lazy)
  • directory header from readme file
  • directory stylesheet overrides
  • index.html serving support
  • fix mime-types for browser file view