Upload a photo of any textbook page. Get flashcards, quizzes, and tests — instantly.
Built for my daughter. Might be useful for yours too.
Your photo is sent to OpenAI Vision for OCR, then the extracted text goes through a multi-agent LLM pipeline that generates five question types: flashcards, single-choice, multiple-choice, fill-the-gap, and sorting.
Three study modes: Flashcards (flip), Quiz (immediate per-question feedback), Test (scored at the end).
You bring your own OpenAI API key — stored in localStorage, used only to call OpenAI directly from your browser.
Node 18+, a Neon Postgres database, a Google OAuth client, an OpenAI API key.
git clone https://github.com/abi83/prepify.git
cd prepify
npm install
gcloud auth login # secrets are fetched from GCP Secret Manager automatically
npm run dev
Open the app → Settings → paste your OpenAI key.
Demo of a GitHub Pages site in this repo: https://abi83.github.io/prepify/ (live once Pages is enabled — see the PR).
Next.js (App Router) · React 18 · TypeScript · Auth.js (Google OAuth) · Neon Postgres + Prisma · OpenAI API · CSS Modules · @dnd-kit (drag-and-drop sorting)