Turn textbooks, lecture notes, research papers, readings, and meeting transcripts into easy-to-understand study guides using AI.
StudyMate AI is a modern AI-powered learning assistant designed to help students, professionals, and lifelong learners study smarter—not harder. Upload a document or paste text, and instantly generate summaries, flashcards, quizzes, definitions, and simplified explanations.
🔗 Live Application: https://study-mate-ai-sable.vercel.app
Screenshots will be added after deployment.
- 📄 Upload PDF, TXT, or paste text directly
- 🤖 AI-generated summaries (Short, Medium & Detailed)
- 🧠 Explain complex topics in simple language
- 📌 Extract key points
- 📖 Generate important definitions and glossary
- 🎴 Create interactive flashcards
- ❓ Generate practice quizzes
- 📝 Build structured study guides
- 📋 Copy generated content with one click
- 🖨️ Print study materials
- 🌙 Automatic Light/Dark Mode with manual theme toggle
- 📱 Fully responsive across desktop, tablet, and mobile
- Next.js (App Router)
- React
- TypeScript
- Tailwind CSS
- shadcn/ui
- Lucide React
- Framer Motion
- Google Gemini API (or configurable AI provider)
- PDF.js
- Mammoth.js (DOCX support)
- Vercel
- GitHub
app/
components/
features/
hooks/
lib/
services/
types/
utils/
public/
styles/
git clone https://github.com/morddy-tech/StudyMateAI.gitnpm installCreate a .env.local file in the project root.
GEMINI_API_KEY=your_api_key_hereReplace the value with your own API key.
npm run devVisit:
http://localhost:3000
-
Upload a PDF or paste text.
-
Choose one or more AI actions:
- Summary
- Explain Simply
- Flashcards
- Quiz
- Definitions
- Key Points
- Study Guide
-
Let the AI process the content.
-
Review, copy, print, or export your study materials.
StudyMate AI aims to make learning faster and more effective by transforming lengthy documents into concise, structured, and interactive study resources.
This project demonstrates:
- Modern Full-Stack Development
- AI Integration
- File Upload & Parsing
- Responsive UI/UX
- TypeScript Best Practices
- Component-Based Architecture
- API Integration
- Prompt Engineering
Future enhancements include:
- ✅ AI chat with uploaded documents
- ✅ OCR for scanned PDFs
- ✅ Audio summaries (Text-to-Speech)
- ✅ Mind map generation
- ✅ User authentication
- ✅ Saved study history
- ✅ Spaced repetition planner
- ✅ Multi-language support
- ✅ Collaborative study sessions
Contributions, suggestions, and feedback are welcome.
If you'd like to contribute:
- Fork the repository
- Create a feature branch
- Commit your changes
- Open a Pull Request
This project is licensed under the MIT License.
Ifedayo Matthew
📧 Email: ifedmord5194@gmail.com
This project was built as part of the Digital Heroes Developer Trial Task.
Special thanks to the Digital Heroes team for the opportunity to build a practical AI-powered application.
Visit: https://digitalheroesco.com