r/tui • u/Agreeable_Flounder58 • 15h ago
AI assisted I added an index manager to ff: half my folder index was a video editor's cache
Last week I shared ff here: type part of a folder's name and your shell lands there. It works by indexing every folder under your home, which raised a question I couldn't answer: what's actually in that index?
So 0.3.0 adds an index manager (Space then i):
- Every folder under your home, biggest first, with a bar showing how much of the index it fills.
Tabopens a "biggest" view: a tree opened down to whatever is actually heavy (caches, build output, virtualenvs, plugins), with everything small folded away.Spaceswitches a folder off or back on. The title shows the result before you save:37,063 → 16,326 folders (−56%).Entersaves toignore_pathsin your settings. It applies right away, with no re-index wait, and comments in your settings file are kept.
For me, over half the index was two folders I never search: a CapCut cache (16,894 folders) and the Go module cache. Switching them off cut the index from 37,063 to 16,326 folders, and a full re-walk from 2.1 s to under 1 s.
ignore_paths takes exact folders, so ~/go skips only that folder, not every folder named go. The name-based ignore_directories still works alongside it.
Also in 0.3.0: multi-word search (geoid comp), initials (ffr → file-finder-rust), and the search time in the top bar (124 of 36,982 · 2 ms).
Built in Rust with Ratatui.
Install: brew install anthonyamaro15/tap/ff (macOS and Linux), or build from source. Already have it? brew trust anthonyamaro15/tap && brew upgrade ff
Repo: https://github.com/anthonyamaro15/file-finder-rust
Curious what fills yours. If you try it, tell me what turned out to be the biggest folder.