Skip to content
Raisul Sohan

Windows Desktop Search App & On-Device AI

lazyFinds

Search Your PC by What's Inside Your Files: Photos, PDFs, Recordings, Video and Code, in English and Bengali

Solo Developer — Search Engine, On-Device AI & Windows Desktop Engineering Documentation Windows 10 & 11 • Python, PySide6 • EmbeddingGemma 2 & llama.cpp (CUDA, Vulkan, CPU) • SQLite FTS5 • v0.1.5

  • GitHub stars: 10
  • Downloads: 41
  • v0.1.12 · 1 month ago
lazyFinds

You remember what was in a file, not what you named it. lazyFinds is a free Windows app that searches photos, screenshots, PDFs, documents, audio, video and code by what is inside them. Press Ctrl+Alt+Space in any app and type "a bicycle in the park" or "পার্কে সাইকেল": the photo comes up. "washing machine won't drain" opens the manual at page 2, "how volcanoes form" plays the recording from that moment, and "বিদ্যুৎ বিল" finds the Bengali bill screenshot. Bengali typed in English letters (Banglish) is searched in Bengali, and Name mode finds any part of any of the PC's roughly one million file and folder names as you type. Google DeepMind's EmbeddingGemma 2 runs on llama.cpp, all on your PC: no account, no cloud, no telemetry. Free and open source under MIT.

The challenge

Windows search finds files by name, yet nobody remembers IMG_20230814_193211.jpg or final_FINAL_v2.pdf. People remember what the photo showed, which problem the manual covered, what was said in a recording. Cloud search can do that, but only after every file is uploaded to someone else's server. And searching in Bengali, or Bengali typed in English letters, is something almost no tool understands.

Technical challenges:
1. Every kind of file in one list: photos, pages, passages, stretches of sound and video shots have to compete fairly, so that no one kind fills the results.
2. All on the PC: the model has to run on any GPU, or none, and its vectors have to match Google's official model.
3. Bengali as a first-class language: Bengali word endings, Bengali digits (881275 has to find ৮৮১২৭৫), and Bengali typed in Latin letters.
4. Opening the right place: not just the file, but the PDF at its page, sound and video at the moment, and code at its line.

The solution

1. One model for every medium: Google DeepMind's EmbeddingGemma 2 puts text, pictures, sound and video into one shared space. Photos are read by what they show, screenshots and scans by their words too (Windows OCR, Tesseract for Bengali), PDFs page by page, documents in passages of about 300 tokens cut at sentence ends, sound in 20-second windows, video by one frame per shot and its soundtrack, and code in blocks cut at definitions.

2. On the PC, and checked: the model runs on llama.cpp, with CUDA on NVIDIA, Vulkan on any other GPU, or on the processor alone. Each backend's vectors are checked against Google's official model (worst cosine 0.998); a backend that fails is not used. The server listens on 127.0.0.1 with a random port and key, and dies with the app.

3. Meaning and exact words together: a vector for every piece and an FTS5 index of every word live in SQLite. Meaning is measured from each kind's own median, so a page, a photo and a stretch of sound compete fairly; the two rankings are joined by reciprocal rank fusion, and a file holding a code like ORD-77A91X exactly comes first.

4. Bengali and Banglish: Bengali words lose their endings to match (টমেটোর → টমেটো), and Bengali digits are searched as digits too. Bengali typed in Latin letters becomes Bengali spellings by phonetic rules, steered by the 40,000 words of Tesseract's Bengali dictionary: "atoshbaji" finds the fireworks video. All offline, in a few milliseconds; Ctrl+B searches a query as typed.

5. Opens at the right place: Enter opens a PDF at the matching page, plays sound and video from the matching moment, and opens code in VS Code at its line; Space previews, Ctrl+Enter shows the file in File Explorer.

6. Name mode: Tab switches to the names (never the contents) of every file and folder on the PC, about a million on a typical PC, read in under a minute without admin rights and kept up to date by watching the drives. Any part of a name matches ("ract si" → contract_signed.docx), in 15–40 ms a search.

7. Safe and light: it reads only the folders you choose, and never Windows' own folders, AppData, node_modules, hidden items, OneDrive files that live only online, or anything that looks like a key or password store. It never changes, moves or uploads a file. After the first pass, new files are searchable a few seconds after they land, and the model quits when there is nothing to do.

8. Tested, and easy to install: 32 test queries (9 in Bengali) all come first, 8 of 8 at the right page or moment, on CUDA, Vulkan and the CPU alike. A web installer of about 3 MB downloads the app, checks its SHA-256 and installs it without admin rights; an offline installer covers a PC without internet. The promo film on this page is drawn entirely in code too.

Highlights

  • Ctrl+Alt+Space in any app, then describe what is in the file
  • Photos, screenshots, PDFs, documents, audio, video and code in one list
  • Search in English and Bengali, Bengali digits and Bengali typed in English letters (Banglish)
  • Opens a PDF at its page, sound and video at the moment, code at its line
  • Meaning and exact words together: a code like ORD-77A91X matches exactly
  • Name mode: any part of about a million names, in 15–40 ms
  • Google DeepMind's EmbeddingGemma 2 on llama.cpp: CUDA, Vulkan or the CPU alone
  • All on your PC: no account, no cloud, no telemetry
  • 32 of 32 test queries found first (9 in Bengali)
  • A 3 MB installer that needs no admin rights; free and open source under MIT

Built with

  • Windows 10/11
  • Python
  • On-Device AI
  • Semantic Search
  • llama.cpp
  • Bengali
  • Open Source