nifty static file indexer
Find a file
2026-03-17 19:18:42 +01:00
templates serve index.html when present (case-sensitve) 2026-03-16 22:05:29 +01: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 Merge branch 'main' of https://codeberg.org/supitszaire/indir 2026-03-17 10:49:47 +01:00
Makefile add makefile 2025-06-08 21:40:19 +01:00
README.md update: reflect MIME-TYPE fix 2026-03-17 10:52:04 +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/`

customization

readme

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


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