// project 05 / 08
SmartDeck
Flashcards that actually think smarter.
An AI-powered tool that generates flashcards on text input.

- year
- 2024
- role
- Full-stack developer
- context
- Headstarter AI fellowship
- status
- Live
AI
generated flashcards
1
click from notes to deck
Clerk
secure accounts
Saved
decks in Firebase
// the story
“Flashcards that actually think smarter.”
SmartDeck turns any block of text, like lecture notes or a textbook passage, into a ready-to-study deck of flashcards.
OpenAI writes the question and answer pairs, Clerk handles accounts, and Firebase keeps every deck saved so you can come back to it.
- Created a web app that generates flashcards for educational use, enhancing learning experiences through personalized AI-driven content, using OpenAI’s API.
- Integrated Clerk for user authentication, Firebase for data storage, and Material UI for enhanced user experience.
// what it does
Features that matter.
Instant generation
Paste text and get a full deck of question and answer cards from OpenAI.
01Accounts with Clerk
Sign up and sign in securely to keep decks personal.
02Saved decks
Firebase stores every deck so it's there next time you study.
03Flip-card study mode
Review cards one at a time in a clean Material UI interface.
04// how it's wired
Under the hood.
Client
Next.js app
Input, deck and study views
Services
OpenAI API
Flashcard generation
Clerk
Authentication
Data
Firebase
Saved decks
// built with
The stack.
Frontend
Next.js
React- Material UI
Services
- OpenAI
- Clerk
Firebase
$ git clone github.com/vineet-panchal/smartdeck
$ cd smartdeck
// loading stack...
Next.js
React
Material UI
OpenAI
Clerk
Firebase
✓ 6 technologies ready
// build log
How it came together.
- 01
Prompting
Designed prompts that turn free text into consistent question and answer pairs.
- 02
The study flow
Built the input, deck and flip-card views in Next.js with Material UI.
- 03
Accounts & storage
Added Clerk sign-in and saved decks per user in Firebase.
- 04
Ship it
Deployed on Vercel, and later rebuilt an optimized version.
// problems solved
Hard parts, handled.
Structured AI output
// problem
Free-form model replies are hard to turn into cards.
// solution
Prompts ask for a fixed structure, which the app parses straight into flashcards.
Per-user data
// problem
Decks have to stay private to their owner.
// solution
Each deck is stored under the signed-in Clerk user in Firebase.
// next project
Fashion Disaster Avoider
Your virtual stylist in disguise.