Inspiration
With attention spans shrinking and screen time rising, students often spend hours scrolling through short-form content — but rarely learning. We asked ourselves: What if reels could make you smarter? EduSnaps was born to turn addictive scrolling into bite-sized learning — making education as engaging and fast as entertainment.
What it does
EduSnaps is an educational app that combines the addictive format of short videos or reels with the power of an AI chatbot — creating an engaging and intelligent learning experience for students.
It offers: Reels-based Quiz Engine: The app includes short educational videos (stored locally for now). Before the server starts, each video is converted to audio, transcribed using speech-to-text, saved into a CSV file. Admins can easily add more videos to grow the quiz bank and expand the range of topics.
Dynamic Quiz Generation: From this transcript database, 3 videos are randomly selected at a time. Using the Gemini API, EduSnaps generates unique, context-based quiz questions along with two possible answers and one correct answer — meaning the same video can lead to a variety of quizzes over time.
Student-Centric AI Chatbot: Alongside the reels, there's an AI-powered chatbot (also built using Gemini) designed to help students learn with clear explanations and encouraging tone and examples.
In short, EduSnaps turns short videos into intelligent educational content — supported by an always-available AI mentor.
How we built it
Backend (Flask): We used Flask to manage routing, user sessions, and serve both the chatbot and quiz functionalities.
Dynamic Quiz Generation: Three videos of reels are selected randomly at runtime. Using Gemini API, the app generates contextual questions based on the video transcripts — resulting in varied, meaningful questions for each reel.
Frontend: A reels-style UI presents the videos in a modern, scrollable format. The quiz interface blends smoothly with the short-form video layout.
AI Chatbot: Built using Gemini API and customized prompt history. Designed to support students with clear, step-by-step educational help.
Challenges we ran into
Slow Initial Loading: Initially, both transcript generation and question creation were being performed at runtime, causing significant loading delays. To solve this, we split the process: Transcripts are now generated and stored in a CSV/database before the server starts. Only quiz generation happens during runtime, dramatically improving responsiveness.
Session Management for Chatbot: Managing session state and ensuring fresh chatbot instances per user session without memory leaks or stale history.
Prompt Engineering in JSON Format: Getting Gemini to produce consistent, educational, and context-aware questions and explanations was a challenge. We had to fine-tune prompt templates in a structured JSON format
Accomplishments that we're proud of
Successfully built a working prototype that merges two powerful formats: reels and AI chat. Generated high-quality, context-aware quiz questions dynamically from video content using the Gemini API. Built a self-updating quiz system from raw videos to quizzes, with minimal manual work. Designed an educational experience that’s fun, modern, and highly engaging.
What we learned
How to combine multiple AI capabilities (transcription, generation, conversational AI) into a cohesive educational product. The importance of prompt engineering and role-setting in LLM-based chatbot and question generation. How much impact user experience (like reel-style layout and conversational tone) has on learning engagement. The challenges and trade-offs of local media processing vs. cloud-based solutions.
What's next for EduSnaps
Integrate cloud storage for easier video uploads and scalability. Build a search engine for students to easily find videos and quizzes by topic, subject, or keyword. Add a dedicated Practice Section where users can revisit and attempt quizzes from previously watched videos Introduce genres or categories (e.g., Math, History, Science, Motivation) so users can filter or explore reels based on their learning goals or interests. Track user progress and adapt question difficulty in real time. Implement a system where users (e.g., teachers or learners) can upload their own educational videos. Add a Help/Support page for user guidance and a Leaderboard to encourage engagement through friendly competition.
Built With
- csv
- flask
- gemini-api
- javascript
- json
- python
Log in or sign up for Devpost to join the conversation.