Shipped · v0.3.5
Project — 04 · app · windows

Effodio

Describe it. Find it. Effodio searches the files on your computer by what is in them: a photo by what it shows, a PDF by what a page says, a recording or a video by the moment. One model reads text, pictures and sound into the same space, it runs on your own machine, and nothing you index leaves it. Effodio is Latin for “I dig out”.

a few words → the photo, the clip at its second, the PDF at its page (files made for the tour)
try it · describe a fileinteractive

Type what a file shows or says and the matching file comes up, at the page or the moment. The interactive demo loads here when scripts run.

  • 1 vector spacefor pictures, pages, passages, video frames and 30 s of sound: EmbeddingGemma 2, 768 dimensions, 100+ languages.
  • 0 uploadsno account, no telemetry. The model runs in a helper process on your PC.
  • To the placea PDF opens at its page, a video or recording at its second.
  • ~14k linesRust core, helper and app, TypeScript interface. English and Vietnamese.
The idea

Search by what's in it

Windows search finds a file if you remember its name. Most of the time you remember something else: what the photo showed, roughly what the contract said, the moment in a video. Effodio indexes the inside of files instead of their names, and lets you search the way you remember.

queries from the tour
"a lighthouse at dusk"                        the photo
"a train crossing a bridge"                   the clip, at the second the train comes on
"what the warranty says about water damage"   the PDF, at page 3
"sync failed error"                           the screenshot, by the text in it
"hoa don tien nuoc"                           "Hóa đơn tiền nước tháng 9.pdf" (accents optional)
"SYNC-4412-QX"                                an exact code, wherever it's written, pictures included
  • Every kind of file, one search: pictures, screenshots, PDFs (scans too), Word, Excel, PowerPoint and OpenDocument, text and Markdown, e-books, audio and video.
  • Across languages. A search in English can find a note written in Vietnamese.
  • Search by example: drop or paste a picture, press Tab on a result, or draw a rough sketch.
  • Filters you type: kind:video, in:Downloads, ext:pdf, after:30d, "exact words", -word, color:blue, subject:left, person:.
A look around

Seven ways in

The search 'a lighthouse at dusk' finding two photos of a lighthouse
say what the picture shows
A question about a warranty finding page 3 of a PDF, with the passage marked
to the page, with the passage marked
An error code found in the text of a screenshot
words inside pictures count (Windows OCR)
A search for a train crossing a bridge finding a video, with a strip of matching moments
to the moment in a video
The map: every file a dot placed by meaning, one picked with its details beside it
the map: every file a dot, placed by meaning
The tidy-up view suggesting which of two near-identical photos to keep
tidy-up: bursts and near-copies, suggestions only
  • The quick panel. Ctrl+Shift+Space opens a small search over any app; Enter opens the result at its place, Tab finds more like it, Space previews.
  • People, off until turned on: name a face once and the name finds that person; drag one group onto another to join them.
  • Albums that make themselves, gathered from what the photos show, and the thread: from one file on through the files most like it.
  • Ask your files: a question answered from what your files say, with the sources beside it, by a local language model you choose to download.
  • Words spoken in recordings and videos, also an optional local download, become searchable too.
The quick search panel floating over another app
Ctrl+Shift+Space, from any app
Architecture

From a folder to a point in space

architecture · diagram
 your folders                         Effodio
 ┌───────────┐  watcher  ┌──────────────────────────────────────────────┐
 │ photos    │ ────────▶ │ crawler + rules    what to read, what to skip│
 │ PDFs      │           │ readers                                      │
 │ office    │           │   images ── Windows codecs (HEIC, RAW)       │
 │ screens   │           │   pdf ───── Windows PDF renderer, OCR        │
 │ audio     │           │   office ── text out of the zip              │
 │ video     │           │   media ─── FFmpeg (separate process)        │
 └───────────┘           │        │ pictures, passages, 30 s of sound   │
                         │        ▼                                     │
                         │ effodio-helper (own process, quits when done)│
                         │   EmbeddingGemma 2 on llama.cpp, CPU or GPU  │
                         │        │ 768 × f16 per segment               │
                         │        ▼                                     │
                         │ one SQLite file: files, segments, vectors,   │
                         │   keyword index over names and text          │
                         │        ▲                                     │
 your words ───────────▶ │ search: meaning + words on one scale         │
                         │ app (Tauri) · panel · map · local door :47600│
                         └──────────────────────────────────────────────┘
  • crates/coreRules, crawler, readers, the index and the search, about 5.5k lines. Long files are read in pieces: each page, passage, video frame and 30-second window of sound (25 s apart) becomes a segment with its place in the file.
  • crates/embedThe model on llama.cpp: text, images and audio into one 768-dimensional space, mean-pooled and L2-normalised so a dot product is a cosine. Pinned to ggml-org's Q8_0 conversion at one revision; never the F16 files, whose activations overflow.
  • crates/helperA separate process for indexing, searching, the speed check and the model download. It quits when it is done, so the model's memory is not held while you work.
  • crates/facesYuNet finds faces, SFace gives each a 128-dimensional vector; two faces closer than 0.363 by cosine are the same person. Both small, both on the processor.
  • insight.rsA picture's main colours (named in English or Vietnamese), how sharp it is, and which side its subject sits on, for color:, subject: and tidy-up's “keep the sharper one”.
  • app/src-tauriTray, global shortcut, windows, the folder watcher and the local search door. The interface is plain TypeScript, no UI framework.
Ranking

A photo and a page, on one scale

Text, image and audio vectors sit at slightly different similarity levels for the same query, so raw cosines cannot rank a photo against a PDF page. Since every vector is scored against the query anyway, each query gets its own scale for free.

  • Stand-out, not similarity. A segment's meaning score is how far its similarity stands out from the others of its kind, in standard deviations. It counts as a match by meaning from 2 deviations up.
  • A floor for small libraries. In a small index something always stands out, even for words that are nowhere, so a match also needs a similarity of at least 0.62. Measured on this model, what a query is about scores 0.70 and up, what it isn't about 0.60 and down.
  • Words rescue what vectors can't hold: codes, numbers and names, from file names, document text and the text Windows reads in pictures. A query made of codes (“K7Q2LM”, “4815162342”) weighs words double and meaning half.
  • Long files don't skew the scale. The later pages of a book are scored on the scale but do not move it, or hundreds of pages would pull the text average down for every query.
  • Honest results. Results that trail far behind the best fold under “weaker matches”, and a search for something that isn't there says so instead of showing the least-bad files.
  • Steer away with -word: 60% of that word's similarity is taken off.
Stack

Rust, a local model, one SQLite file

Model
EmbeddingGemma 2 by Google DeepMind (Q8_0) on llama.cpp, built from a pinned tag; CPU by default, Vulkan when the speed check finds it faster with the same vectors.
Core
Rust workspace: core, embed, faces, helper, app. Release profile with thin LTO, stripped.
Index
One SQLite file: every file, its segments with a 768 × float16 vector (1.5 KB each), and a keyword index over names and text.
Readers
Windows itself where it has one: WinRT OCR, the PDF renderer for scans, codecs for HEIC and RAW. FFmpeg for audio and video, as a separate process.
App
Tauri 2 with a plain TypeScript interface built with Vite, English and Vietnamese, per-user NSIS installer.
Optional
A local language model for “ask your files” and a speech model for spoken words, each a download you ask for.
Install
irm https://effodio.nhaajt.com/install.ps1 | iex downloads the installer, checks its SHA-256 and installs it for the current user.
Design decisions

Choices, and what they cost

One model for every kind of file

Text, pictures and sound in one space means one search, one ranking and cross-language matches, instead of a captioner, a transcriber and a text index glued together.

Trade-off: the whole index depends on one model, so changing it means reading every file again.
Never mix vector versions

The index records which model files, llama.cpp build, resizing and prompts made it. A test checks this build's vectors against stored reference vectors (cosine ≥ 0.999) before anything else is trusted.

Trade-off: upgrading llama.cpp can force a re-index.
The model in its own process

The helper does the heavy work and quits when it's done. A crash in native code doesn't take the window with it, and memory is given back.

Trade-off: the model has to load again for the next batch.
GPU only if it agrees

The speed check times a picture, a passage and 30 s of sound on the processor and on the graphics card, and uses the card only when it is faster and gives the same vectors.

Trade-off: a separate Vulkan build to ship.
Use what Windows already has

OCR, PDF rendering and HEIC/RAW codecs come from Windows instead of being bundled.

Trade-off: Windows only for now; a Mac version needs its own readers.
Suggest, never delete

Tidy-up points out bursts, exact copies and near-copies and says which to keep. Nothing is moved or deleted.

Trade-off: you still do the cleaning.
Hard problems

The parts that fought back

  • “Nothing found” is hard for vector search. Nearest neighbours always return something. The stand-out score plus a measured similarity floor is what lets a search for something absent say so.
  • Mixed kinds, mixed levels. Image and text similarities live at different heights for the same query; scoring each against its own kind's spread is what makes one ranked list possible.
  • Exact strings. An embedding blurs “SYNC-4412-QX” into “some code”. A keyword index with accent folding (so “hoa don” finds “Hóa đơn”) sits beside the vectors and gets more weight when the query looks like an ID.
  • Overflowing activations. The F16 model files overflow in llama.cpp; the pipeline is pinned to the Q8_0 conversion and guarded by the reference-vector test.
  • Budgets per kind. A photo is embedded at 140 soft tokens, a screenshot or PDF page at 280, a video frame at 70: enough to read text where it matters without spending it on every frame.
  • Memory on long sessions. The vectors load with the first search by meaning and can be freed again; keyword search keeps working without them.
Privacy

Your files stay put

  • All local. Reading, indexing and searching happen on your machine. Nothing you index is uploaded; no account, no telemetry.
  • Online only when asked: to download the models and tools you choose (from Hugging Face and GitHub), and once at start to ask effodio.nhaajt.com for the latest version number, which sends nothing about you and can be switched off.
  • Faces are off until you turn them on. “Forget every face” deletes every face description and name. If you share your computer or your index, the people in your photos are in it too.
  • The local search door is off by default. Switched on, it listens on 127.0.0.1:47600 only, needs a bearer token from Settings, answers GET /search and GET /status and nothing else, and can't read or change files.
  • What can reach what: only programs on the same computer that hold the token can reach the door; nothing on the network can reach Effodio; Effodio reaches out only for downloads you ask for and the version check.
Limits

What it doesn’t do

  • Windows 10 and 11, 64-bit only; a Mac version is planned.
  • Recordings and videos need FFmpeg on the PATH or beside the app; without it everything else still works, and Settings says so.
  • The first index of a large library takes time on the processor; a graphics card helps only where the speed check says it does.
  • The installer isn't signed, so Windows asks first (More info, then Run anyway).