Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

I built a notes search that never phones home (23 MB model, one JSON file)

Описание и применение

slothbox – локальный инструмент семантического поиска по заметкам, использующий открытый embedding‑модель, сохраняющий индекс в одном JSON‑файле и не требующий подключения к сети.

Задача

Existing note‑search products require sending user text to external servers, an API key, and a credit card, making it costly and privacy‑concerned for personal note collections.

Результат

slothbox builds a 23 MB model index in ~3 s, embeds 5 files in under 2 s, produces ~60 KB JSON, and makes zero network calls after the first run, enabling fast, private, unmetered note search.

Рабочий процесс

  • 1. Run node sloth.mjs index ./notes to build the index.
  • 2. Query with node sloth.mjs ask "question" to retrieve relevant passages.
  • 3. The tool skips unchanged files, saves progress after each file, and sleeps 80 ms between files to run in background.

Доказательства

Every "ask your notes" product I tried wanted the same three things: my text on their server, an API key with a monthly ceiling, and a credit card.

Источник

The whole index is one JSON file next to your notes.

Источник

After that there are zero network calls. I verified this the boring way: ran the same query with the Hugging Face hub disabled (HF_HUB_OFFLINE=1) and got the same answer, with no network access.

Источник

Model load, first call ~3.1 s; Embed 5 files / 5 passages under 2 s; Store size, 5 passages ~60 KB of JSON; Network calls after the first run 0.

Источник

Retrieval is not understanding. Passage-level cosine similarity finds the right paragraph and then stops.

Источник

  • Дата записи: 2026-10-25T10:11:17.882Z