A Notion-style collaborative learning platform powered by AI
Real-time document editing β’ AI-generated quizzes β’ Smart flashcards β’ Community knowledge sharing π Live: studysync.site
π€ Real-time Collaboration - Like Google Docs, but for studying. Multiple users can edit simultaneously with live cursors and instant sync.
π§ AI-Powered Learning - Upload documents, get instant quizzes. AI extracts key concepts and generates personalized study materials.
π Smart Knowledge Base - Community-driven document sharing with semantic search powered by vector embeddings.
β‘ Blazing Fast - Built on Next.js 15 with serverless architecture. Sub-100ms response times.
- Frontend: Next.js 15, TypeScript, Tailwind CSS, Tiptap Editor
- Backend: Supabase (PostgreSQL), Vercel AI SDK
- Real-time: Yjs for CRDT-based collaboration
- AI: Google Gemini API, RAG pipeline, OCR processing
- Authentication: Supabase Auth with social logins
Rich text editor with real-time collaboration and slash commands
AI-powered quiz generation from any document or notes
Community leaderboard showing top contributors and study streaks
1. Clone & Install
git clone https://github.com/wahabzh/StudySync.git
cd StudySync && pnpm install
2. Environment Setup
cp .env.example .env.local
Then grab your free API keys:
- ποΈ Supabase β Database & Auth
- π€ Google AI β Gemini API
- βοΈ Tiptap β Collaboration
- π§ Resend β Email service
3. Launch
pnpm dev
β Open localhost:3000 and start building! π
- π Rich Text Editor - Notion-like editing experience with slash commands
- π₯ Live Collaboration - See others type in real-time
- π€ AI Study Assistant - Generate quizzes from any document
- π§ Smart Flashcards - Spaced repetition algorithm built-in
- π Pomodoro Timer - Focus sessions with study tracking
- π Progress Analytics - Track your learning journey
- π Community Hub - Share and discover study materials
ββ Next.js App Router ββββββββββββββββββββββ
β ββ Server Components (SSR) β
β ββ API Routes (Edge Runtime) β
β ββ Real-time WebSocket handling β
ββββββββββββββββββββββββββββββββββββββββββββ
ββ Supabase Backend ββββββββββββββββββββββββ
β ββ PostgreSQL + Row Level Security β
β ββ File storage + CDN β
ββββββββββββββββββββββββββββββββββββββββββββ
ββ AI Pipeline βββββββββββββββββββββββββββββ
β ββ OCR β Text Extraction β
β ββ Gemini API β Quiz Generation β
β ββ Vector Embeddings β Semantic Search β
ββββββββββββββββββββββββββββββββββββββββββββ