Skip to content
Om280Public

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

82 Commits

Folders and files

Repository files navigation

DeadDrop searching “shared memory”: matching files with the passage that matched, and the PDF page beside them

DeadDrop

Find any file by what is inside it. On your own computer.

DeadDrop reads the documents, scans and pictures in the folders you choose and finds them by the words you remember or by what they mean. There is no account, no cloud service and no telemetry. Your files are read here, the index is kept here and the models run here.

Windows 10 or 11, 64-bit. Early build (0.1). Download the installer from the Releases page.

What it does

  • Search by words. Type a name, a phrase or a few words from inside a file. Each result shows the page and the passage that matched, with your words marked.
  • Search by meaning. Ask in your own words. DeadDrop also lists files that say the same thing in different words, and says why each one is there.
  • Scans and pictures. Text in scans and screenshots is read with on-device OCR. Pictures are also searched by what they show (100,000 pictures in about a tenth of a second on the author's laptop).
  • Read in place. Open a PDF, a scan or a picture inside the app and turn its pages. The Library lists everything by type: documents, images, code, recent.
  • Search with a file. Drop a file on the window to find files like it.
  • Answers from your own files. An optional language model that runs on your PC writes an answer with a source named for every claim. Unsupported claims are removed. Models are downloaded only when you press the button and are checked against a fixed fingerprint.

The Library listing documents with a PDF selected A written answer with each claim tied to a numbered source

Privacy

Nothing leaves the computer. The only network use is downloading a model, and only when you start it. DeadDrop only reads your files: it never changes or moves them.

Supported files

PDF, Word (docx), Markdown, plain text, CSV, source code, and JPG/PNG pictures.

Architecture

Tauri 2 shell, React 19 + TypeScript UI, and a TypeScript core on Node 24 (a Tauri sidecar) with SQLite FTS5, bge-small-en-v1.5 embeddings (ONNX, CPU) and hybrid retrieval fused with Reciprocal Rank Fusion. Full rationale: ARCHITECTURE.md.

src/
  app/         App shell, routes
  layout/      Sidebar, Topbar
  features/    search/ (workspace, field, results, history, suggestions)
               preview/ library/ settings/
  components/  Button, Kbd, Tip, Progress, FileGlyph, EmptyState, Toaster
  brand/       Mark and wordmark
  backend/     The only module that talks to the core (runtime detection, JSON-RPC)
  styles/      tokens.css (source of truth, mirrored in Figma), base.css
  dev/         Fixtures (dev builds only, #/fixtures)
core/          Indexing and search core (Node 24, runs .ts directly): db, files, extract,
               chunk, embed, indexer, search, service, main; test/ and scripts/
src-tauri/     Thin Rust shell, sidecar permissions, icons (generated from app-icon.svg)

Development (no Rust needed)

You only need Node 24.20.0 (pinned in .node-version). Rust and MSVC are not installed locally: the desktop app is compiled and packaged by GitHub Actions on a Windows runner (.github/workflows/windows.yml).

npm install
npm run core:install

Browser preview (UI only, http://localhost:1420). There is no file access and no search, and the UI says so:

npm run dev

Dev bridge: the same UI talking to the real core, so you can index real folders locally. Start the core first, then the UI, and use Settings to add a folder (type its path) and download the model:

npm run core:dev
npm run dev

Core data for the dev bridge goes to .deaddrop-dev/, which Git ignores.

Design fixtures (sample data for layout review, dev only): http://localhost:1420/#/fixtures

Tests

All of these run locally without Rust:

npm test
npm run typecheck

End-to-end with the real embedding model. It uses an already verified model if present, otherwise it downloads the pinned, checksummed files (~34.7 MB):

npm run core:e2e

The table of what runs locally and what only runs in CI is in ARCHITECTURE.md §9.

Local answers (optional language model)

DeadDrop can write explanations, summaries and comparisons from your files with a language model that runs on your computer. Nothing is sent to an AI service and no API key exists.

  1. Open Settings → Language model. DeadDrop shows your RAM, CPU, disk and GPU, and recommends a model that fits:

    Model Download Licence
    Qwen2.5 1.5B 1.1 GB Apache-2.0
    Phi-3.5 mini 2.4 GB MIT
    Qwen2.5 7B 4.7 GB Apache-2.0
  2. Click Download. The files come from a pinned Hugging Face revision and are SHA-256 verified before use. Then click Use this model.

  3. Ask a question in Search. The quoted passages appear immediately; the written answer follows, with these parts:

    • each claim marked Stated or Inferred;
    • numbered citations that open the source;
    • for comparisons, a table;
    • a note of any statements removed because the files did not support them.

    Choose an answer style (Summary, Detailed, Explain simply, Compare, Across documents, Topic overview), or leave it on Auto. Stop cancels.

With a GPU, answers take seconds. On a CPU they can take up to a minute.

For development, the dev bridge works the same way. These commands run the real-model checks without the UI (the model must already be installed):

$env:DEADDROP_LLM_TEST='1'; npx vitest run core/test/llm.real.test.ts
node core/scripts/llm-eval.ts .deaddrop-dev/models/llm qwen2.5-1.5b-instruct-q4km .deaddrop-dev/models

Security and privacy

  • Open never runs code. Only documents and images (pdf, docx, txt, md, csv, png, jpg) can be opened. This is enforced in the app and by the Tauri opener scope. Code and other files get Show in folder only.
  • The model is pinned and verified: a fixed Hugging Face commit, with every file SHA-256 checked before use and re-checked on every load. It only downloads when you ask.
  • Deleted means deleted. Removing a folder or clearing history purges the text from the database and its WAL (secure_delete).
  • The dev bridge accepts requests only from the local Vite dev server (strict Host and Origin checks).
  • Third-party licences: THIRD_PARTY_NOTICES.md, generated from what ships. DeadDrop's own licence has not been chosen yet.

Desktop build (CI)

The Windows build workflow runs on a push to main, on a pull request, or by hand. It has a read-only token and every action is pinned to a commit SHA. It:

  1. runs all tests and the real-model tests;
  2. compiles Tauri with MSVC;
  3. stages the pruned core;
  4. checks that the notices are up to date;
  5. builds the NSIS and MSI installers;
  6. installs the NSIS build and smoke-tests it;
  7. uploads the installers and installer-sizes.txt.

First run: there is no Cargo.lock yet, because Rust isn't installed locally. The workflow generates one and uploads it as the cargo-lock artifact. Commit it to src-tauri/Cargo.lock; later builds then enforce --locked.

Measured so far: the Node runtime is 89.1 MB and the pruned core runtime 49.8 MB, about 139 MB uncompressed before the Tauri executable. Compressed installer sizes come from CI.

Keyboard

Keys Action
Ctrl K Focus search
↑ ↓ Move through suggestions and results
Enter Search, or open the highlighted suggestion
Esc Close suggestions, clear the field, close the preview
Ctrl B Collapse the sidebar
Ctrl , Settings

Local-first semantic file search.

Licence

DeadDrop is released under the MIT licence. The third-party software it ships is listed in THIRD_PARTY_NOTICES.md, each under its own licence.

Status

An early build, Windows only. Known gaps are in PROJECT_STATUS.md.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages