You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AI-powered Chrome extension that turns your browser sidebar into a full study assistant , chat, quiz, and summarize any web content.
Features
AI Chat Assistant
Stream AI responses with real-time Markdown rendering
Send any page's content as context for contextual Q&A
Collapsible context panel with character count and manual editing
Chat history auto-saved and restored across sessions
Copy individual AI responses or clear the entire conversation
Quiz Generator (4-phase workflow)
Generate — Choose topic (auto-fetch from current page or manual entry), number of questions (1–25+ preset buttons), difficulty (Easy/Medium/Hard), and question types (Multiple Choice, True/False, Essay)
Take — Navigate questions with progress bar, select or type answers, submit for scoring
Result — Circular score display with pass/fail assessment, wrong-answer preview, perfect-score banner
Review — Full answer review with correct/incorrect indicators
Content Summarization
Summarize any webpage or pasted text
9 combinations: Short (3 key points) / Medium (1 paragraph) / Detailed (full summary) × Paragraph / Bullet Point / Key Concept
Streaming responses with real-time updates
Copy and regenerate with one click
Page Content Extractor
Automatically reads current tab content, stripped of scripts, nav, and ads
Displays word/character count and page URL
Editable before sending to Chat or generating Quiz/Summary
Inject fallback via scripting API when content script isn't available
Authentication & Security
Register, Login, Forgot Password with OTP verification, and Reset Password
6-digit OTP input with auto-advance and paste support
# Install dependencies
pnpm install
# Configure environment
cp backend/.env.example backend/.env
# Edit backend/.env with your Supabase URL, service role key, and OpenRouter key# Set up database tables in Supabase SQL Editor# (see Database Schema below)# Build extension
pnpm --filter ./extension build
Run
# Start backend (port 3001)
pnpm dev:backend
Load Extension in Chrome
Open chrome://extensions
Enable "Developer mode"
Click "Load unpacked"
Select extension/dist
Or run both simultaneously
pnpm dev
API Endpoints
Base URL: http://localhost:3001/api
Auth (no token required)
Method
Endpoint
Description
POST
/auth/register
Create account
POST
/auth/login
Login
POST
/auth/forgot-password
Request OTP
POST
/auth/reset-password
Reset password with OTP
Protected (Bearer token required)
Method
Endpoint
Description
POST
/chat/message
Send message (SSE streaming)
GET
/chat/history
Get chat history
POST
/quiz/generate
Generate quiz
POST
/quiz/submit
Submit answers and get score
GET
/quiz/list
List user's quizzes
POST
/summary/generate
Generate summary (SSE streaming)
GET
/summary/list
List user's summaries
Scripts
Command
Description
pnpm dev
Run backend + extension concurrently
pnpm build
Build all packages
pnpm dev:backend
Start backend only (tsx watch)
pnpm --filter ./extension build
Build extension only
Troubleshooting
Extension not loading? Run pnpm --filter ./extension build, check extension/dist exists, refresh chrome://extensions
Backend connection error? Is pnpm dev:backend running on port 3001?
AI not responding? Verify OPENROUTER_API_KEY is set and has credits
Auth fails? Check Supabase credentials and that tables exist in the SQL Editor