{"id":15456590,"url":"https://github.com/aphelionz/cppquiz","last_synced_at":"2025-04-01T11:34:42.171Z","repository":{"id":186624604,"uuid":"675444502","full_name":"aphelionz/cppquiz","owner":"aphelionz","description":"Quiz yourself on ANY topic, from the command line.","archived":false,"fork":false,"pushed_at":"2023-08-07T11:55:31.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-12T12:21:02.861Z","etag":null,"topics":["cmake","cplusplus","cpp","googletest","gtest","openai-api"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aphelionz.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-08-06T23:48:26.000Z","updated_at":"2023-08-07T01:35:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"de62a06a-ba3b-4760-9f89-e7f12d07e292","html_url":"https://github.com/aphelionz/cppquiz","commit_stats":null,"previous_names":["aphelionz/cppquiz"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aphelionz%2Fcppquiz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aphelionz%2Fcppquiz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aphelionz%2Fcppquiz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aphelionz%2Fcppquiz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aphelionz","download_url":"https://codeload.github.com/aphelionz/cppquiz/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246634310,"owners_count":20809222,"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","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":["cmake","cplusplus","cpp","googletest","gtest","openai-api"],"created_at":"2024-10-01T22:34:03.208Z","updated_at":"2025-04-01T11:34:42.129Z","avatar_url":"https://github.com/aphelionz.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CPPQuiz\n\u003e Quiz yourself on ANY topic, from the command line.\n\nI wanted to prove myself (and to the _WORLD_) that I could learn C++ after\navoiding it for almost 20 years. The thought process went something like this:\n\n1. I should make a little C++ app to quiz me on C++\n2. Hey, ChatGPT could generate quiz questions\n3. Wait.. ChatGPT could generate quiz about **anything**.\n\nThus, the project was born and it goes something like this:\n\n[ Insert GIF here ]\n\n## Installation\n\n**Pre-requisites: libcurl.4, soon to be libxml2**\n\nThis app uses CMake, mainly because of its GoogleTest integration.\n\n```bash\n$ git clone https://github.com/aphelionz/cppquiz \u0026\u0026 cd cppquiz\n$ cmake -S . -B build\n$ cmake --build build\n```\n\n## Usage\n\nAfter following the steps above, obtain an [OpenAI API Key](https://platform.openai.com/account/api-keys), and then run:\n\n`bash\n$ OPENAI_API_KEY=yourkeyhere ./build/cppquiz\n`\n\n### Testing\n\nTests are build with GoogleTest and run via `ctest`.\n\n## Contributing\n\nSure, why not!\n\n## License\n\nThis code is licensed under the extremely permissive MIT license. Do what you want :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faphelionz%2Fcppquiz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faphelionz%2Fcppquiz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faphelionz%2Fcppquiz/lists"}