Leaf Index
Leaf Index

A file list.
Without a server.

Leaf Index turns a directory into a small, linked HTML page. One Python script, no packages, and source you can inspect.

Python 3.9+Standard library onlyMIT license
terminal
python3 leafindex.py ./notes --output ./notes/index.html

From a folder to a readable page

Useful for a small collection of public notes, handouts, or project files. The output is an ordinary HTML file with links to the files you selected.

A list, not a backup. The generated page links to your files; it does not copy or embed them. Keep the files alongside the page when sharing it.