Finding a file on macOS took ages in the Finder! And on external drives it was even worse since they were not indexed. I wanted to quickly find a file, I had 3 hard disks and was not sure which one of them had it, and Finder was so slow that I literally built a fast ratatui project to deal with this.
Demo
Terminal preview
Overview
Lightning fast indexing and searching tool for directories and external drives
Lightning fast indexing and searching tool for any directory/external drive
From the maintainer
You can index a drive using the scan command, both internal and external drives work the same, it works on any platform. After the index exists, using the search command surfaces the file at a lightning fast rate compared to Finder search. The scan itself is also fast, thanks to the Rust architecture!
The speed is just miles ahead of the inbuilt indexing and search capabilities of macOS and Windows, and it is a portable solution so an indexed drive can be searched by someone else who has this tui program installed and the search will work just as fast!
Want to improve the search UI, make it easier to install, make it even faster somehow
Latest Release
lctr v0.3.6
A responsiveness and terminal cleanup release for interactive search.
Search interaction
- The highlighted result now moves through the visible rows before the viewport scrolls at the top or bottom edge.
- Upward and downward navigation stop at the first and last result instead of wrapping.
- The selected path and current viewport position remain stable while progressive or live results refresh.
Startup and terminal cleanup
- Search no longer waits for keyboard or graphics capability responses before drawing its first frame.
- Image previews use the half-block renderer without a blocking terminal graphics probe.
- Queued SGR mouse-motion reports are discarded during teardown, so exiting search leaves a clean parent-shell prompt.
Compatibility
- No database migration or schema change is required.
- No new dependency is required.
- The macOS arm64 binary remains M1-compatible.
Discussions