A ChatGPT-powered quiz generator built with Next.js, Vercel AI SDK, Generative UI, Supabase, and shadcn/ui.
QuizmeGPT is an AI-powered quiz generator designed to help users create quizzes effortlessly. Whether for education, training, or just for fun, QuizmeGPT allows users to generate quizzes dynamically using AI.
🔹 Instant quiz generation using AI
🔹 Customizable quiz topics
🔹 Multiple-choice & open-ended questions
🔹 User-friendly interface with shadcn/ui
🔹 Built for speed & scalability with Next.js & Supabase
- Next.js – Full-stack React framework
- Vercel AI SDK + Generative UI – AI-powered chat & UI components
- Supabase – Backend database & authentication
- shadcn/ui – Elegant UI components
Quiz Generation | Quiz View | Result Page |
---|---|---|
![]() |
![]() |
![]() |
Clone the repo and install dependencies:
git clone https://github.com/yourusername/QuizmeGPT.git
cd QuizmeGPT
npm install # or pnpm install / yarn install
To work in development you need supabase cli and and docker installed
Install supabase cli
npm install -g supabase-cli
Then start supabase
supabase start
Create a .env.local file and add the following environment variables:
OPENAI_API_KEY=
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
NEXT_PUBLIC_URL=
SUPABASE_DB_PASSWORD=
SUPABASE_ACCESS_TOKEN=
# to use Oauth
SUPABASE_AUTH_EXTERNAL_GOOGLE_SECRET=
SUPABASE_AUTH_GOOGLE_CLIENT_ID=
Run the development server:
npm run dev # or yarn dev
✅ AI-generated quizzes
✅ Save and manage quizzes in Supabase
✅ User authentication (Supabase Auth)
✅ Responsive UI with shadcn/ui
✅ Seamless AI interaction with Vercel AI SDK
We welcome contributions! Feel free to open an issue or submit a pull request.
- Fork the repo
- Create a new branch:
git checkout -b feature-branch
- Commit changes:
git commit -m "Added new feature"
- Push to GitHub:
git push origin feature-branch
- Create a pull request
This project is licensed under the MIT License.
If you like QuizmeGPT, give this repo a ⭐ and share it with others!