MCPcopy Create free account
hub / github.com/STRRL/dejavu

github.com/STRRL/dejavu @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
82 symbols 122 edges 24 files 2 documented · 2% updated 29d ago★ 1339 open issues

Browse by type

Functions 57 Types & classes 25
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Dejavu

Dejavu is a private visual memory app for macOS. It saves changed screens, reads visible text with Apple Vision, and makes past moments searchable.

Current features

Dejavu captures every active display every five seconds. Similar images are skipped. The active application and focused window are saved when Accessibility access is available.

Search uses SQLite FTS5. Latin text uses the unicode61 tokenizer. Chinese, Japanese, and Korean text uses the trigram tokenizer. Very short CJK searches use a plain text fallback.

All data stays under ~/.dejavu/. The app shows image use by day, total image use, and database use. It does not delete old data.

Development

Install Wails v2, Go, Node.js, and Xcode command line tools.

Run wails dev for development.

Run wails build to create the macOS application.

Permissions

Screen Recording access is required for capture. Accessibility access is optional and adds the active application and focused window details.

Future capture work

The first release uses a small grayscale image to skip near duplicates. A future version should use ScreenCaptureKit frame events and changed regions, then use an adaptive image similarity check when needed.

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Method 40
Class 21
Function 17
Interface 4

Languages

Rust91%
TypeScript9%

Modules by API surface

src/repository/sqlite.rs9 symbols
src/repository/in_memory.rs8 symbols
src/screenshot.rs7 symbols
src/ocr.rs7 symbols
src/markup.rs7 symbols
src/repository/mod.rs5 symbols
src/analysis.rs5 symbols
src/image_archive/in_memory.rs4 symbols
src/image_archive/fs.rs4 symbols
src/http/service.rs4 symbols
src/http/mod.rs4 symbols
src/http/frontend.rs4 symbols

For agents

$ claude mcp add dejavu \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page