SmartStudy is an all-in-one, AI-powered study platform designed to keep all your learning materials in one place. Students can upload PDFs and notes, read them directly inside the platform, auto-generate interactive 3D flippable flashcards and question banks, practice quizzes with real-time feedback, and chat with buddyAI — without ever leaving the website!
- Subject Management: Organize study materials under custom, color-coded subject categories (e.g. Computer Science & AI, Physics & Engineering).
- Backend File Processing: Upload PDF, TXT, and Markdown files with server-side text extraction powered by
pypdf. - In-App Reader: Read study notes and PDFs directly in the dashboard reader without needing third-party applications.
- 3D Card Flip Animation: Smooth flippable cards with Questions on the front and Answers/Explanations on the back.
- Study Mode: Card navigation (
Previous,Flip,Next), card deck list, and mastery tracking (Mark MasteredvsNeeds Practice) with a real-time progress bar. - AI Card Generation: One-click "Generate Flashcards from Notes" analyzes uploaded materials and creates custom card decks automatically.
- Interactive Quiz Player: Multiple-choice question practice tests with option selection, immediate correct/incorrect answer states, score counter, and document-backed explanations.
- Results Dashboard: Final score percentage (e.g.
80%), performance feedback, and one-click quiz retake functionality. - Saved Question Banks: Access saved practice test sets per subject anytime.
- Context-Aware Drawer: Floating AI study assistant drawer accessible across all screens.
- Quick Action Chips:
📝 Summarize Note: High-yield bullet points and key takeaways.🎴 Make 5 Flashcards: Auto-extract key definitions and Q&A.🎯 Build Quiz: Create practice multiple-choice tests.💡 Explain Simply: Step-by-step breakdowns with analogies.
- Smart Fallback Engine: Works out-of-the-box with OpenAI API (
gpt-4o-mini) or offline via local heuristic document parsing.
- Backend: Python 3, Flask 3.0,
pypdf,python-dotenv,openai - Frontend: HTML5, Vanilla JavaScript, Vanilla CSS (Custom Glassmorphism & 3D Flip Animations), TailwindCSS CDN
- Storage: LocalStorage API for persistent state, Flask backend file uploads (
/uploads)
- Python 3.9 or higher
# Clone repository
git clone https://github.com/qwerty274/SmartStudy.git
cd SmartStudy
# Install Python dependencies
pip install -r requirements.txtCreate a .env file in the project root:
OPENAI_API_KEY=your_openai_api_key_hereNote: If no API key is provided, SmartStudy automatically uses its built-in offline smart heuristic parsing engine.
python app.pyOpen your browser and navigate to: http://127.0.0.1:5000/ or http://127.0.0.1:5000/dashboard.html.
| Endpoint | Method | Description |
|---|---|---|
GET / |
GET |
Serves landing page (index.html) |
POST /api/upload |
POST |
Uploads PDF/TXT notes, extracts document text, saves to /uploads |
POST /api/bot |
POST |
AI bot endpoint for summarize, flashcards, quiz, chat, and explain actions |
GET /uploads/<filename> |
GET |
Serves uploaded PDF and study material files |
MIT License. Built for student productivity and learning excellence!