Ever wanted to test your knowledge without leaving your terminal? Meet QuizCraft, a beautiful Terminal User Interface (TUI) quiz application that brings interactive quizzes right to your command line!
Why QuizCraft?
As developers, we spend most of our time in the terminal. Whether youโre waiting for a build to complete, taking a quick break, or just want to learn something new, QuizCraft lets you challenge yourself without switching contexts.
Features
- ๐จ Beautiful Interface: Colorful and intuitive TUI powered by @clack/prompts
- ๐ Multiple Categories: Linux, DevOps, Docker, Kubernetes, Programming, and more
- ๐๏ธ Difficulty Levels: Choose between Easy, Medium, or Hard questions
- ๐ก Instant Feedback: Get explanations for each answer
- ๐ Score Tracking: โฆ
Ever wanted to test your knowledge without leaving your terminal? Meet QuizCraft, a beautiful Terminal User Interface (TUI) quiz application that brings interactive quizzes right to your command line!
Why QuizCraft?
As developers, we spend most of our time in the terminal. Whether youโre waiting for a build to complete, taking a quick break, or just want to learn something new, QuizCraft lets you challenge yourself without switching contexts.
Features
- ๐จ Beautiful Interface: Colorful and intuitive TUI powered by @clack/prompts
- ๐ Multiple Categories: Linux, DevOps, Docker, Kubernetes, Programming, and more
- ๐๏ธ Difficulty Levels: Choose between Easy, Medium, or Hard questions
- ๐ก Instant Feedback: Get explanations for each answer
- ๐ Score Tracking: See your performance with detailed results
- โก Lightning Fast: No browser needed, runs entirely in your terminal
Quick Start
Getting started is super simple:
1. Get Your API Key
First, grab a free API key from quizapi.io
And set it as env variable:
export QUIZ_API_KEY=your_api_key_here
2. Install QuizCraft
npm install -g quizcraft
and start playing:
quizcraft
Or run it without installing:
npx quizcraft
Thatโs it! Follow the interactive prompts to:
- Select a category
- Choose difficulty level
- Pick number of questions
- Start answering!
Tech Stack
QuizCraft is built with modern Node.js tools:
- @clack/prompts: For beautiful CLI prompts
- chalk: Terminal string styling
- axios: HTTP requests to quizapi.io
- dotenv: Environment configuration
Contributing
QuizCraft is open source! Check it out on GitHub and feel free to:
- Report bugs
- Suggest features
- Submit pull requests
- Star the repo โญ
Whatโs Next?
Some ideas for future enhancements:
- ๐ Local leaderboard
- โฑ๏ธ Timed quizzes
- ๐ Progress tracking over time
- ๐จ Custom themes
- ๐ More quiz sources
- ๐ Detailed analytics
Try It Now!
Donโt just read about it, try it yourself:
npx quizcraft
Happy quizzing! ๐ฏ