{"id":15175568,"url":"https://github.com/cosmoart/quiz-game","last_synced_at":"2025-11-17T03:30:36.969Z","repository":{"id":104217061,"uuid":"593410779","full_name":"cosmoart/quiz-game","owner":"cosmoart","description":"🎯 Quiz/trivia game with AI generated questions, made with tailwind and the Cohere API in NextJS.","archived":false,"fork":false,"pushed_at":"2024-02-09T02:16:43.000Z","size":2075,"stargazers_count":80,"open_issues_count":0,"forks_count":29,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-10-06T09:43:56.305Z","etag":null,"topics":["cohere","nextjs","quiz-app","quiz-game","trivia","trivia-game","web-game"],"latest_commit_sha":null,"homepage":"https://quizi.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cosmoart.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-25T23:27:58.000Z","updated_at":"2025-09-25T11:59:03.000Z","dependencies_parsed_at":"2023-11-22T02:31:48.870Z","dependency_job_id":"c07dfea2-58fd-44cc-9f36-f913180489fa","html_url":"https://github.com/cosmoart/quiz-game","commit_stats":{"total_commits":48,"total_committers":2,"mean_commits":24.0,"dds":0.0625,"last_synced_commit":"68291b4498ed642ea804b1ec44570d743bafbae3"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cosmoart/quiz-game","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmoart%2Fquiz-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmoart%2Fquiz-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmoart%2Fquiz-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmoart%2Fquiz-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cosmoart","download_url":"https://codeload.github.com/cosmoart/quiz-game/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmoart%2Fquiz-game/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284818334,"owners_count":27068108,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-17T02:00:06.431Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cohere","nextjs","quiz-app","quiz-game","trivia","trivia-game","web-game"],"created_at":"2024-09-27T12:39:30.545Z","updated_at":"2025-11-17T03:30:36.939Z","avatar_url":"https://github.com/cosmoart.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv id=\"top\"\u003e\u003c/div\u003e\n\n\u003c!-- PROJECT LOGO --\u003e\n\u003cdiv align=\"center\"\u003e\n\u003ca href=\"https://quizi.vercel.app\"\u003e\u003cimg src=\"./readme/header.webp\" alt=\"Instagram\" /\u003e\u003c/a\u003e\n\u003cbr/\u003e\n\u003cbr /\u003e\n\n  # 🟥🟦 Quizi 🟨🟩\n\nA quiz/trivia game with different modes and categories that you can select, as well as wildcards to help you. The questions are generated by artificial intelligence using the [Cohere API](https://dashboard.cohere.ai/welcome/register).\n\n  \u003ca href=\"https://quizi.vercel.app\"\u003eView Demo\u003c/a\u003e\n  ·\n  \u003ca href=\"https://github.com/cosmoart/quiz-game/issues\"\u003eReport Bug\u003c/a\u003e\n  ·\n  \u003ca href=\"https://github.com/cosmoart/quiz-game/issues\"\u003eRequest Feature\u003c/a\u003e\n\u003c/div\u003e\n\n\n\n\u003c!-- TABLE OF CONTENTS --\u003e\n\u003cdetails\u003e\n\u003csummary\u003eTable of contents\u003c/summary\u003e\n\n- [About The Project](#about-the-project)\n- [Screenshots](#screenshots)\n- [Built With](#built-with)\n- [Getting Started](#getting-started)\n- [License](#license)\n- [Roadmap](#roadmap)\n- [Contact](#contact)\n\u003c/details\u003e\n\n\u003c!-- ABOUT THE PROJECT --\u003e\n## About The Project\n\nQuizi is a quiz/trivia game made with with [Cohere](https://cohere.ai). You can select different game modes and topics, you also have wildcards. Cohere's AI will generate the questions and answers for you.\n\n\u003e **Note:** Due to Cohere's policy change (from 100 to 5 free calls) now only some questions are generated by Cohere. The rest are pre-generated.\n\n\u003cp align=\"right\"\u003e\u003ca href=\"#top\"\u003e⬆️ Back to top\u003c/a\u003e\u003c/p\u003e\n\n\n\u003c!-- SCREENSHOTS --\u003e\n## Screenshots\n\n\u003ctable\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e\n          \u003cimg src=\"./readme/home_mobile.webp\" width=\"100%\" title=\"Home in Mobile\"  /\u003e\n      \u003c/td\u003e\n      \u003ctd\u003e\n          \u003cimg src=\"./readme/home_tablet.webp\" width=\"100%\" title=\"Home in Tablet\"/\u003e\n      \u003c/td\u003e\n      \u003ctd\u003e\n          \u003cimg src=\"./readme/home_desktop.webp\" width=\"100%\" title=\"Home in Desktop\"/\u003e\n      \u003c/td\u003e\n    \u003c/tr\u003e\n        \u003ctr\u003e\n      \u003ctd\u003e\n          \u003cimg src=\"./readme/play_classic_mobile.webp\" width=\"100%\" title=\"Play, classic mode in Mobile\"  /\u003e\n      \u003c/td\u003e\n      \u003ctd\u003e\n          \u003cimg src=\"./readme/play_classic_tablet.webp\" width=\"100%\" title=\"Play, classic mode in Tablet\"/\u003e\n      \u003c/td\u003e\n      \u003ctd\u003e\n          \u003cimg src=\"./readme/play_classic_desktop.webp\" width=\"100%\" title=\"Play, classic mode in Desktop\"/\u003e\n      \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e\n          \u003cimg src=\"./readme/play_time_mobile.webp\" width=\"100%\" title=\"Play, time and infinity mode in Mobile\"  /\u003e\n      \u003c/td\u003e\n      \u003ctd\u003e\n          \u003cimg src=\"./readme/play_time_tablet.webp\" width=\"100%\" title=\"Play, time and infinity mode in Tablet\"/\u003e\n      \u003c/td\u003e\n      \u003ctd\u003e\n          \u003cimg src=\"./readme/play_time_desktop.webp\" width=\"100%\" title=\"Play, time and infinity mode in Desktop\"/\u003e\n      \u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003cp align=\"right\"\u003e\u003ca href=\"#top\"\u003e⬆️ Back to top\u003c/a\u003e\u003c/p\u003e\n\n\n### Built With\n\nList of the frameworks, libraries and tools used to build the project.\n\n* [Next.js](https://nextjs.org/)\n* [React.js](https://reactjs.org/)\n* [Zustand](https://github.com/pmndrs/zustand) For state management\n* [Cohere](https://dashboard.cohere.ai/welcome/register) For the generation of questions\n* [Vercel](https://vercel.com/) For hosting\n* [Tailwind CSS](https://tailwindcss.com/) For styling\n* [AnimatiSS](https://xsgames.co/animatiss/) For animations (title hover, correct and wrong answer)\n* [Patternpad](https://patternpad.com/editor.html) For the home background pattern\n* [Figma](https://www.figma.com/) For the design\n* [React icons](https://react-icons.github.io/react-icons/) For icons\n* [Iconify](https://iconify.design) For the answers letters icons\n* [Tabler Icons](https://tablericons.com) For the categories icons\n* [Canvas confetti](https://www.npmjs.com/package/canvas-confetti) For the confetti animation\n* [Vector Halftone Maker](https://halftone.xoihazard.com) For the halftone effect\n\n\u003cp align=\"right\"\u003e\u003ca href=\"#top\"\u003e⬆️ Back to top\u003c/a\u003e\u003c/p\u003e\n\n\n\u003c!-- GETTING STARTED --\u003e\n## Getting Started\n\n1. Clone or fork the repo\n```sh\ngit clone https://github.com/cosmoart/quiz-game\n```\n2. Change directory to `source_code`\n```sh\ncd source_code\n```\n3. Install NPM packages\n```sh\nnpm install\n```\n4. Run the project\n```sh\nnpm run dev\n```\n\nIf you are in development environment all the questions are pre-generated, if you want to use the Cohere API you have to create a `.env.local` file with the Cohere API key at `source_code` and comment the `if` in `source_code/src/helpers/getQuestions.js`. You can get one Cohere Api key [here](https://dashboard.cohere.ai/welcome/register).\n\nThe `.env.local` file should look like this:\n\n```\nCOHERE_API_KEY=XXXXXXXXXXXXXXXXXX\n```\n\n\u003cp align=\"right\"\u003e\u003ca href=\"#top\"\u003e⬆️ Back to top\u003c/a\u003e\u003c/p\u003e\n\n\n\n\u003c!-- LICENSE --\u003e\n## License\n\nDistributed under the MIT License. See [`LICENSE.txt`](https://github.com/cosmoart/quiz-game/blob/main/LICENCE) for more information.\n\n\u003cp align=\"right\"\u003e\u003ca href=\"#top\"\u003e⬆️ Back to top\u003c/a\u003e\u003c/p\u003e\n\n\n\u003c!-- ROADMAP --\u003e\n## Roadmap\n\n- [ ] ~~Circle wipe transition~~\n- [x] Add offline mode\n- [x] Buttons sounds\n- [x] Win and Lose sounds\n- [ ] ~~Multi-language Support~~\n- [ ] ~~PWA~~\n- [x] Personalize the game over screen for infinite mode\n- [ ] ~~Personalize error page for API limit exceeded~~\n\n\u003cp align=\"right\"\u003e\u003ca href=\"#top\"\u003e⬆️ Back to top\u003c/a\u003e\u003c/p\u003e\n\n\u003c!-- CONTACT --\u003e\n## Contact\n\n-   My website - [cosmoart.vercel.app](https://cosmoart.vercel.app)\n-   Twitter - [@CosmoArt0](https://twitter.com/cosmoart0)\n-   Instagram - [@cosmo_art0](https://www.instagram.com/cosmo_art0/)\n\n\u003cp align=\"right\"\u003e\u003ca href=\"#top\"\u003e⬆️ Back to top\u003c/a\u003e\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosmoart%2Fquiz-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcosmoart%2Fquiz-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosmoart%2Fquiz-game/lists"}