{"id":25313110,"url":"https://github.com/vian21/quizzer","last_synced_at":"2025-04-07T13:12:15.295Z","repository":{"id":276733888,"uuid":"930115766","full_name":"vian21/quizzer","owner":"vian21","description":"MCQ Display","archived":false,"fork":false,"pushed_at":"2025-03-04T19:45:07.000Z","size":464,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T20:33:28.298Z","etag":null,"topics":["ai","gemini","mcq","study"],"latest_commit_sha":null,"homepage":"https://vian21.github.io/quizzer","language":"TypeScript","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/vian21.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":"2025-02-10T05:07:26.000Z","updated_at":"2025-03-04T19:45:11.000Z","dependencies_parsed_at":"2025-02-10T06:22:00.216Z","dependency_job_id":"aca776d6-3211-42cf-8cb7-f7b6b17df19e","html_url":"https://github.com/vian21/quizzer","commit_stats":null,"previous_names":["vian21/quizzer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vian21%2Fquizzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vian21%2Fquizzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vian21%2Fquizzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vian21%2Fquizzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vian21","download_url":"https://codeload.github.com/vian21/quizzer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247657275,"owners_count":20974345,"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":["ai","gemini","mcq","study"],"created_at":"2025-02-13T15:38:27.460Z","updated_at":"2025-04-07T13:12:15.274Z","avatar_url":"https://github.com/vian21.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quizzer\n\n- Display AI generated JSON MCQ.\n\n\u003cimg src=\"public/Quizzer-preview.png\"\u003e\n\n### Running\n\n```bash\nnpm run dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\n### Prompt\n\n- The MCQ JSON file can be generated with the following prompt using [AI Studio](https://aistudio.google.com/) (Gemini 2.0 Flash):\n\n```\nYou are a university professor preparing a multiple choice question exam using course notes.\n\nFollow these instructions to create an exam question:\n1. Generate a question based on the context as key \"question\"\n2. Provide 4 multiple choice answers to the question as a list of key-value pairs \"choices\"\n3. Provide the correct answer for the question from the list of answers as key \"answer\"\n4. Provide an explanation as to why the answer is correct as key \"explanation\"\n\nYou must generate the questions in the language of the context.\nYou must respond as a JSON array with the following structure and the requested number of questions:\n[{\n    \"question\": \"\u003cquestion\u003e\",\n    \"choices\": [\n        {\"key\": \"A\", \"value\": \"\u003cchoice\u003e\"},\n        {\"key\": \"B\", \"value\": \"\u003cchoice\u003e\"},\n        {\"key\": \"C\", \"value\": \"\u003cchoice\u003e\"},\n        {\"key\": \"D\", \"value\": \"\u003cchoice\u003e\"}\n    ],\n    \"answer\": \"\u003canswer key from choices list\u003e\",\n    \"explanation\": \"\u003cexplanation as to why the answer is correct\u003e\"\n}]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvian21%2Fquizzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvian21%2Fquizzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvian21%2Fquizzer/lists"}