Leaf Index
Leaf Index

Know what the script does.

A short description of version 0.1.0, including its limits.

Reading the directory

The script enumerates regular files, sorts their relative paths case-insensitively, and renders one link per file. File bodies are not read. It records no access time, owner name, or absolute source path in the generated page.

Entries that are skipped

The input directory itself must not be a symbolic link. This is a small utility for a stable directory that you control, not a hardened service for untrusted, concurrently changing filesystems.

Links and portability

With --output, file URLs are relative to the generated page. Moving the page and its referenced files together preserves those links when their relative layout stays the same. Moving only the page may break them.

HTML handling

Names and the title are escaped as text. Filenames are percent-encoded in URLs. The output contains no JavaScript, external fonts, analytics, or remote resources.

Limits

A filename can itself contain personal information. Review names as well as file contents before publishing a list.