A browser-based knowledge companion for reading, annotation, and question answering with hybrid local-cloud architecture.
embed-ai/
├── extension/ # Browser extension (Manifest V3 + Vite)
├── backend/ # FastAPI backend service
├── shared/ # Shared schemas and types
└── docs/ # Architecture Decision Records
- Framework: Vite + TypeScript
- Storage: IndexedDB (via Dexie.js)
- PDF: PDF.js
- UI: React + TailwindCSS
- Framework: FastAPI (Python 3.11+)
- Vector DB: Pinecone
- Embeddings: BGE / Instructor
- LLM: Llama 3
- Storage: Supabase Storage
- Auth: Supabase Auth
cd extension
npm install
npm run devcd backend
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
uvicorn app.main:app --reload