{"id":15711185,"url":"https://github.com/yoannchb-pro/moodlegpt","last_synced_at":"2025-04-13T21:41:08.666Z","repository":{"id":148847366,"uuid":"616736217","full_name":"yoannchb-pro/MoodleGPT","owner":"yoannchb-pro","description":"This extension allows you to hide CHAT-GPT in a Moodle quiz.","archived":false,"fork":false,"pushed_at":"2025-03-19T13:29:20.000Z","size":3981,"stargazers_count":53,"open_issues_count":4,"forks_count":10,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-27T12:02:20.343Z","etag":null,"topics":["chatgpt","chatgpt-api","chatgpt-app","edge-extension","extension-chrome","gpt-3","gpt-4","javascript","moodle","moodle-plugin","quiz-solutions","solver","typescript"],"latest_commit_sha":null,"homepage":"https://chrome.google.com/webstore/detail/moodlegpt/fgiepdkoifhpcgdhbiikpgdapjdoemko","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/yoannchb-pro.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"buy_me_a_coffee":"yoannchbpro"}},"created_at":"2023-03-21T01:15:57.000Z","updated_at":"2025-03-19T13:28:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"a625bad3-206c-441a-92b6-319e74725ccc","html_url":"https://github.com/yoannchb-pro/MoodleGPT","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoannchb-pro%2FMoodleGPT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoannchb-pro%2FMoodleGPT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoannchb-pro%2FMoodleGPT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoannchb-pro%2FMoodleGPT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yoannchb-pro","download_url":"https://codeload.github.com/yoannchb-pro/MoodleGPT/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246190423,"owners_count":20738021,"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":["chatgpt","chatgpt-api","chatgpt-app","edge-extension","extension-chrome","gpt-3","gpt-4","javascript","moodle","moodle-plugin","quiz-solutions","solver","typescript"],"created_at":"2024-10-03T21:12:05.165Z","updated_at":"2025-03-29T13:31:28.028Z","avatar_url":"https://github.com/yoannchb-pro.png","language":"TypeScript","funding_links":["https://buymeacoffee.com/yoannchbpro","https://www.buymeacoffee.com/yoannchbpro"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003ca\nhref=\"https://www.flaticon.com/free-icons/mortarboard\" target=\"_blank\" rel=\"noopener noreferrer\"\ntitle=\"Mortarboard icons created by itim2101 - Flaticon\" \u003e\u003cimg src=\"./extension/icon.png\" alt=\"Mortarboard icons created by itim2101 - Flaticon\" width=\"150\" style=\"display:block; margin:auto;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\n# MoodleGPT 1.1.3\n\nThis extension allows you to hide CHAT-GPT in a Moodle quiz. You just need to click on the question you want to solve, and CHAT-GPT will automatically provide the answer. However, one needs to be careful because as we know, CHAT-GPT can make errors especially in calculations.\n\n## Chrome Webstore\n\nFind the extension on the Chrome Webstore right [here](https://chrome.google.com/webstore/detail/moodlegpt/fgiepdkoifhpcgdhbiikpgdapjdoemko)\n\n## Summary\n\n- [MoodleGPT 1.1.3](#moodlegpt-113)\n  - [Chrome Webstore](#chrome-webstore)\n  - [Summary](#summary)\n  - [Disclaimer !](#disclaimer-)\n  - [Donate](#donate)\n  - [Update](#update)\n  - [Set up](#set-up)\n  - [Settings](#settings)\n  - [Advanced Settings](#advanced-settings)\n  - [Mode](#mode)\n  - [Options](#options)\n  - [Internal other features](#internal-other-features)\n    - [Support table](#support-table)\n  - [Supported questions type](#supported-questions-type)\n    - [Select](#select)\n    - [Put in order question](#put-in-order-question)\n    - [Resolve equation](#resolve-equation)\n    - [One response (radio button)](#one-response-radio-button)\n    - [Multiples responses (checkbox)](#multiples-responses-checkbox)\n    - [True or false](#true-or-false)\n    - [Number](#number)\n    - [Text](#text)\n    - [Atto](#atto)\n  - [What about if the question can't be autocompleted ?](#what-about-if-the-question-cant-be-autocompleted-)\n  - [Test](#test)\n  - [Beta version with advanced features](#beta-version-with-advanced-features)\n\n## Disclaimer !\n\nI hereby declare that I am not responsible for any misuse or illegal activities carried out using my program. The code is provided for educational and research purposes only, and any use of it outside of these purposes is at the user's own risk.\n\n## Donate\n\nWill be a pleasure if you want to support this project :). I'm alone working on this project and I'm still a student.\n\u003cbr/\u003e\n\u003ca href=\"https://www.buymeacoffee.com/yoannchbpro\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\u003cimg src=\"./assets/bmc-button.png\" alt=\"Mortarboard icons created by itim2101 - Flaticon\" width=\"150\"\u003e\u003c/a\u003e\n\n## Update\n\nSee the [changelog](./CHANGELOG.md) to see every updates !\n\n## Set up\n\n\u003e NOTE: This extension only works on Chromium-based browsers like Edge, Chrome, etc.\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"./assets/setup.png\" alt=\"Popup\" width=\"300\"\u003e\n\u003c/p\u003e\n\nGo to \u003cb\u003e\"Manage my extensions\"\u003c/b\u003e on your browser, then click on \u003cb\u003e\"Load unpacked extension\"\u003c/b\u003e and select the \u003cb\u003e\"extension\"\u003c/b\u003e folder. Afterwards, click on the extension icon and enter the ApiKey obtained from [openai api](https://platform.openai.com/api-keys). Finally, select a [gpt model](https://platform.openai.com/docs/models) (ensure it work with completion api).\n\n## Settings\n\n- \u003cb\u003eAPI KEY\\*\u003c/b\u003e: Your openai [API KEY](https://platform.openai.com/api-keys)\n- \u003cb\u003eGPT MODEL\\*\u003c/b\u003e: The [gpt model](https://platform.openai.com/docs/models) (you can click on the play button to ensure the model work with the extension)\n\n## Advanced Settings\n\n- \u003cb\u003eCODE\u003c/b\u003e: A code you will need to type on your keyboard to inject/remove the extension code from the moodle page. It allow you to be more discret and control the injection so it's recommended.\n- \u003cb\u003eBASE URL\u003c/b\u003e: The API endpoint if you need to use your own llm.\n- \u003cb\u003eMAX TOKENS\u003c/b\u003e: The max tokens length you want the api to respond with.\n\n## Mode\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"./assets/mode.png\" alt=\"Popup\" width=\"300\"\u003e\n\u003c/p\u003e\n\n- \u003cb\u003eAutocomplete:\u003c/b\u003e The extension will complete the question for you by selecting the correct(s) answer(s).\n- \u003cb\u003eClipboard:\u003c/b\u003e The response is copied into the clipboard.\n- \u003cb\u003eQuestion to answer:\u003c/b\u003e The question is converted to the answer and you can click on it to show back the question (or show back the answer).\n  \u003cbr/\u003e\u003cimg src=\"./assets/question-to-answer.gif\" alt=\"Question to Answer\"\u003e\n\n## Options\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"./assets/settings.png\" alt=\"Popup\" width=\"300\"\u003e\n\u003c/p\u003e\n\n- \u003cb\u003eApi key\\*\u003c/b\u003e: the [openai api key](https://platform.openai.com/api-keys) from your account (Note you have to put credits by entering a credit card onto your account).\n- \u003cb\u003eGPT Model\\*\u003c/b\u003e: the [gpt model](https://platform.openai.com/docs/models) you want to use.\n- \u003cb\u003eCode\u003c/b\u003e: a code to be more discret for injecting/removing the extension from the page. Simply type your code you entered into the configuration on the keyboard when you are on your moodle quiz and the extension will be inject. If you want to remove the injection just simply type back the code on your keyboard.\n- \u003cb\u003eCursor indication\u003c/b\u003e: show a pointer cursor and a hourglass to know when the request is finished.\n- \u003cb\u003eTitle indication\u003c/b\u003e: show some informations into the title to know for example if the code have been injected.\n  \u003cbr/\u003e ![Injected](./assets/title-injected.png)\n- \u003cb\u003eConsole logs\u003c/b\u003e: show logs into the console for the question, chatgpt answer and which response has been chosen.\n  \u003cbr/\u003e\u003cimg src=\"./assets/logs.png\" alt=\"Logs\" width=\"250\"\u003e\n- \u003cb\u003eRequest timeout\u003c/b\u003e: if the request is too long it will be abort after 20 seconds.\n- \u003cb\u003eTyping effect\u003c/b\u003e: create a typing effect for text. Type any text and it will be replaced by the correct one. If you want to stop it press \u003cb\u003eBackspace\u003c/b\u003e key.\n  \u003cbr/\u003e ![Typing](./assets/typing.gif)\n- \u003cb\u003eMouseover effect\u003c/b\u003e: you will need to hover (or click for select) the question response to complete it automaticaly.\n  \u003cbr/\u003e ![Mouseover](./assets/mouseover.gif)\n  \u003cbr/\u003e ![Mouseover2](./assets/mouseover2.gif)\n- \u003cb\u003eInfinite try\u003c/b\u003e: click as much as you want on the question (don't forget to reset the question).\n- \u003cb\u003eSave history\u003c/b\u003e: allows you to create a conversation with ChatGPT by saving the previous question with its answer. However, note that it can consume a significant number of tokens.\n- \u003cb\u003eInclude images\u003c/b\u003e (only work with gpt-4): allows you to include the images from the question to be send to the chatgpt api. The quality is reduced to 75% to use less tokens. However, note that it can consume a significant number of tokens.\n  \u003cbr/\u003e ![Images](./assets/images.gif)\n\n## Internal other features\n\n### Support table\n\nTable are formated from the question to make it more readable for CHAT-GPT. Example of formatted table output:\n\n```\nid       | name  | birthDate  | cars\n------------------------------------\nPerson 1 | Yvick | 15/08/1999 | yes \nPerson 2 | Yann  | 19/01/2000 | no\n```\n\n![Table](./assets/table.gif)\n\n## Supported questions type\n\n### Select\n\n![Select](./assets/select.gif)\n\n### Put in order question\n\n![Order](./assets/order.gif)\n\n### Resolve equation\n\n![Equations](./assets/equations.gif)\n\n### One response (radio button)\n\n![Radio](./assets/radio.gif)\n\n### Multiples responses (checkbox)\n\n![Checkbox](./assets/checkbox.gif)\n\n### True or false\n\n![True-false](./assets/true-false.gif)\n\n### Number\n\n![Number](./assets/number.gif)\n\n### Text\n\n![Text](./assets/text.gif)\n\n### Atto\n\n![Atto](./assets/atto.gif)\n\n## What about if the question can't be autocompleted ?\n\nTo know if the answer has been copied to the clipboard, you can look at the title of the page which will become \u003cb\u003e\"Copied to clipboard\"\u003c/b\u003e for 3 seconds if `Title indication` is on.\n\n![Clipboard](./assets/clipboard.gif)\n\n## Test\n\n- \u003cb\u003eSolution 1\u003c/b\u003e: Go on this [moodle demo page](https://moodle.org/demo).\n- \u003cb\u003eSolution 2\u003c/b\u003e: Run the `index.html` file located in the `test/fake-moodle` folder.\n\n## Beta version with advanced features\n\nIf you're interested in accessing advanced features ahead of their official release, please consider downloading the extension from the [dev branch](https://github.com/yoannchb-pro/MoodleGPT/tree/dev). However, please be aware that this branch is under development and may contain bugs. If you encounter any issues, don't hesitate to contact me or create an issue on GitHub. Your feedback is invaluable in helping us improve the extension.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoannchb-pro%2Fmoodlegpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyoannchb-pro%2Fmoodlegpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoannchb-pro%2Fmoodlegpt/lists"}