Skip to main content

Blazing-fast TUI file finder — search your entire system in real time

Project description

⚡ foldlash

Blazing-fast TUI file finder — search your entire system in real time.

pip install foldlash
foldlash

Features

  • 🔍 System-wide search — all drives on Windows (C:\, D:\, …), full / on Unix
  • Fast BFS indexer — uses os.scandir (2-3× faster than os.walk), streams results live
  • 🎯 Relevance sorting — exact → prefix → substring → path matches, in that order
  • 📁 OneDrive / reparse points — correctly follows Windows junctions so Documents, Music, Pictures, Downloads are all indexed
  • 👁️ Live index counter — stats bar shows how many files have been indexed so far
  • ⌨️ Keyboard-first — type to search, ↑↓ to navigate, Enter to open, q to quit
  • 🖥️ Cross-platform openos.startfile on Windows, open on macOS, xdg-open on Linux
  • 👁️ Watchdog — picks up newly created files in real time across all drives

Install

pip install foldlash

Requires Python 3.9+.

Usage

foldlash          # launch the TUI

Or run as a module:

python -m foldlash

Key bindings

Key Action
Type Search files & folders
/ Navigate results
Enter Open highlighted item
q Quit

How it works

On launch, foldlash starts a background BFS scanner using os.scandir across every available drive. Results stream into the cache immediately — you can start searching before indexing is complete. The stats bar shows the live count.

Matches are ranked:

  1. Exact filename match
  2. Filename starts with query
  3. Filename contains query
  4. Full path contains query

Development

git clone https://github.com/yourusername/foldlash
cd foldlash
pip install -e ".[dev]"
foldlash

Publishing to PyPI

pip install build twine
python -m build
twine upload dist/*

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

foldlash-1.0.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

foldlash-1.0.0-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file foldlash-1.0.0.tar.gz.

File metadata

  • Download URL: foldlash-1.0.0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for foldlash-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b1e8283fc5fa431c0bfd3beec7232a1fae1a0550e6429520993ac04b44dcd9c2
MD5 b3c666c877350f284992f199488695e3
BLAKE2b-256 96472ed6719fb232ebe78cb3604a74f560fd62ef107ada971164a360967333d0

See more details on using hashes here.

File details

Details for the file foldlash-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: foldlash-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for foldlash-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1e4b428ddf4380455ba11f18f85b418bb4a7f9267b546583995aa9fe37758fc9
MD5 e8ae8b52528e792da05bf8f3d023bf27
BLAKE2b-256 b057f180a761c7ba6025e845f62c21930a36fbacf700d0b2ee4420b86c72a87b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page