Skip to content

An AI-powered pub quiz game that generates new trivia questions on demand.

Notifications You must be signed in to change notification settings

SeanPlusPlus/pubgpt

Repository files navigation

PubGPT 🍺

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!

View on GitHub


✨ Features

  • Dynamically generates pub-style trivia questions
  • Uses GPT-4 for fresh, engaging content
  • Randomized quiz topics
  • Clean, modern UI
  • Mock mode for local development

🚀 Demo

https://pubgpt.vercel.app/


🛠️ Tech Stack

  • Next.js (App Router)
  • TypeScript
  • Tailwind CSS
  • OpenAI GPT-4

⚙️ Setup

Clone and install dependencies:

git clone git@github.com:SeanPlusPlus/pubgpt.git
cd pubgpt
npm install

🔑 Environment Variables

Create a .env.local file in the root of the project:

OPENAI_API_KEY=sk-xxxxxx

🖥️ Running the App

Start the dev server:

npm run dev

Then open:

http://localhost:3000

About

An AI-powered pub quiz game that generates new trivia questions on demand.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published