PubGPT is an AI-powered pub quiz game that generates trivia questions on demand using OpenAI’s GPT-4. Every game is unique, fast, and just a bit cheeky — perfect for trivia lovers!
- Dynamically generates pub-style trivia questions
- Uses GPT-4 for fresh, engaging content
- Randomized quiz topics
- Clean, modern UI
- Mock mode for local development
- Next.js (App Router)
- TypeScript
- Tailwind CSS
- OpenAI GPT-4
Clone and install dependencies:
git clone git@github.com:SeanPlusPlus/pubgpt.git
cd pubgpt
npm installCreate a .env.local file in the root of the project:
OPENAI_API_KEY=sk-xxxxxx
Start the dev server:
npm run dev
Then open:
http://localhost:3000