Original Reddit post

I’ve been working on Scry , a Windows port of fsearch by Noah Dunnagan (macOS, MIT). It indexes every file and folder on your fixed drives and answers as you type: a search bar on Alt+Shift+Space, a CLI, and a JSON-over-named-pipe API. Numbers from my laptop: i7-11850H, NVMe, Defender on, 5.08M files and folders on C:, a busy dev machine. Name queries are scry bench medians over 20 runs. How it gets there (the index design is Noah’s; the Windows side is new): Crawl: each folder is opened relative to its parent’s handle ( NtOpenFile ) and listed in bulk with GetFileInformationByHandleEx , so names, sizes and times come in a few calls per folder, with no per-file stat. 16 reads are in flight. Index: one flat mmap’d blob, written folder by folder in depth-first order, so every folder’s subtree is a contiguous range: in:C:\Projects is a range bound, not a filter. Names are interned and each distinct name is scored once per query. Staying live: ReadDirectoryChangesW on each drive root. A change names a folder, which is relisted and diffed. After a restart, the NTFS change journal (readable without admin) says which folders changed. Inside files: a trigram index of your text files. Matches are re-read from disk, so they’re never stale. Deps: windows-sys, rayon, memchr, memmap2, regex and serde. No async runtime. The UI is raw Win32: the search bar, the tray icon, and the folder picker through a hand-rolled COM vtable call. It installs per user, with no admin rights and no service. The installer and a zip are on the releases page, or cargo build --release . It isn’t code-signed yet (I’ve applied for SignPath’s free OSS signing), so SmartScreen will warn. https://github.com/R-Hatim/scry . Feedback on the index layout or the crawler is very welcome. submitted by /u/Don_Crespo

Originally posted by u/Don_Crespo on r/ClaudeCode