A simple, single-page web application that generates fun, pop-culture-themed survey questions based on the current date to spark ideas for office whiteboard questions.
- 🎨 Beautiful, modern UI built with React and Tailwind CSS
- 🤖 Powered by OpenAI to generate creative, date-aware questions
- 📋 One-click copy to clipboard functionality
- 📱 Fully responsive design
-
Install dependencies:
npm install
-
Set up your OpenAI API key:
- Create a
.envfile in the root directory - Add your OpenAI API key:
VITE_OPENAI_API_KEY=your_openai_api_key_here - You can get an API key from OpenAI's website
- Create a
-
Run the development server:
npm run dev
-
Build for production:
npm run build
- Open the application in your browser
- Click the "✨ Generate Question" button
- The app will generate a fun, pop-culture-themed survey question based on today's date
- Click the copy icon to copy the question to your clipboard
- Use it on your office whiteboard!
- React - UI framework
- Vite - Build tool and dev server
- Tailwind CSS - Styling
- OpenAI API - Question generation
- The app uses OpenAI's
gpt-4o-minimodel for cost-effective question generation - Questions are generated based on the current date to ensure relevance
- The API key is used client-side (for development), but in production you may want to use a backend proxy for security