RecallShot
About the project
RecallShot turns your screenshot folder into a searchable personal memory.
Find the detail, not the screenshot.
The problem
You took a screenshot of a receipt, an error message or a whiteboard weeks ago. Now you cannot find it. The filename means nothing and scrolling through hundreds of images wastes time.
What it does
RecallShot lets you search by what is inside the image. Everything runs on your own machine. There are no cloud calls and no telemetry.
How it works
- OCR. RapidOCR reads all visible text and keeps bounding box coordinates.
-
Vision. Local Gemma 4 (
gemma4:e4bthrough Ollama) assigns a category such as Receipt, Event, Article, Code or UI. It also extracts a title, tags, entities and a summary. - Embeddings. EmbeddingGemma creates a 768 dimension vector for each image.
- Storage. SQLite stores the document, an FTS5 keyword index and the embedding.
Hybrid search
Keyword search from FTS5 and semantic search from cosine similarity run together. Reciprocal Rank Fusion merges both rankings. You find the right image even when your query shares no words with the text inside it.
Three ways to use it
- Web UI. React and Vite dashboard with search, category tabs with live counts, drag and drop upload, thumbnail previews and an inspect drawer.
-
CLI. Commands are
scan,search,showandcategories. Output is text or JSON. -
Agent skill. A portable
SKILL.mdlets a coding agent search your screenshot memory through the realrecallshotCLI. The agent gets structured JSON back with private data already masked.
Example prompt to an agent: Search my screenshot memory for the Stripe API key error I saw last week.
Privacy by design
- API binds to
127.0.0.1only - Emails, phone numbers, API keys and card numbers are masked in every UI, API and CLI output
- Original screenshots are never moved, changed or deleted
- SHA-256 deduplication skips images already indexed
Works without AI too
If Ollama is not running, OCR indexing and keyword search still work. AI enrichment and semantic search turn on when the models are available.
Open source AI at the core
Gemma 4 and EmbeddingGemma are open weight models. They handle classification, extraction and semantic search. The full project is open source under the MIT license.
Tech stack
Python 3.11, FastAPI, SQLite with FTS5 and WAL mode, React 18, Vite, TypeScript, Ollama, Gemma 4, EmbeddingGemma, RapidOCR, Pydantic.
Quality
22 automated tests cover the database, FTS5 triggers, privacy masking, OCR fallback, search ranking and API contracts.
Try it
- Run
ollama pull gemma4:e4bandollama pull embeddinggemma - Run
pip install -e . - Run
cd frontend && npm install && npm run dev - Open
http://localhost:5173and paste a screenshot folder path
Full code and setup guide: github.com/safwanahmadsaffi/recallshot
Built with
AI tools
Prize Categories Entered
- Submitted
Best Use of Gemma 4
- Submitted

Best Open-Source AI Project