AI-powered semantic bookmark search extension.
Save any page and find it later by meaning, not just keywords.
- 🧠 Semantic Search - Find bookmarks by what they're about, not exact text
- 📖 Article Extraction - Automatically extracts readable content via Readability
- ⚡ Hybrid Search - Combines AI vector search with full-text for best results
- 💾 Local Storage - All data stays in your browser (IndexedDB)
- 🔒 Privacy First - No cloud sync, no data leaves your device
- 📊 ML Embeddings - Uses MiniLM-L6-v2 for semantic understanding
- Click "Save This Page" on any article or webpage
- Cyberbook extracts the content and generates semantic embeddings
- Search your bookmarks using natural language queries
- Results ranked by meaning similarity, not just keyword matching
npm install
npm run build- Open
chrome://extensions/ - Enable "Developer mode"
- Click "Load unpacked" and select the
distfolder
git clone https://github.com/your-repo/cyberbook.git
cd cyberbook
npm install
npm run build- content.js - Extracts page content using Mozilla Readability
- background.js - Routes messages, manages offscreen document
- offscreen.js - Runs ML inference in isolated context (required for WASM)
- storage-manager.js - IndexedDB + Orama hybrid search layer
- Uses
@xenova/transformersfor in-browser ML inference - Model:
Xenova/all-MiniLM-L6-v2(~23MB, downloaded on first use) - Embeddings are 384-dimensional vectors
- Search combines cosine similarity (70%) + BM25 full-text (30%)
MIT License