{"id":20084441,"url":"https://github.com/pierregode/mmm-chatgpt","last_synced_at":"2025-05-06T01:31:57.786Z","repository":{"id":153607840,"uuid":"630005569","full_name":"PierreGode/MMM-ChatGPT","owner":"PierreGode","description":"Chatgpt Magic mirror module","archived":false,"fork":false,"pushed_at":"2025-03-25T08:05:35.000Z","size":111,"stargazers_count":7,"open_issues_count":3,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-09T06:50:30.532Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/PierreGode.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-04-19T13:22:18.000Z","updated_at":"2024-12-31T17:12:21.000Z","dependencies_parsed_at":"2024-02-21T14:53:20.764Z","dependency_job_id":"2e1c3a8a-fdeb-462d-9587-cb0c9edfd6ab","html_url":"https://github.com/PierreGode/MMM-ChatGPT","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PierreGode%2FMMM-ChatGPT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PierreGode%2FMMM-ChatGPT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PierreGode%2FMMM-ChatGPT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PierreGode%2FMMM-ChatGPT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PierreGode","download_url":"https://codeload.github.com/PierreGode/MMM-ChatGPT/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252604358,"owners_count":21775088,"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":[],"created_at":"2024-11-13T15:52:02.895Z","updated_at":"2025-05-06T01:31:57.486Z","avatar_url":"https://github.com/PierreGode.png","language":"Python","funding_links":["https://ko-fi.com/J3J2EARPK"],"categories":[],"sub_categories":[],"readme":"# MMM-ChatGPT\nChatgpt Magic mirror module\n\n\nNOT WORKING YET 2024  WIP 2024-06-17\n \nThe \"MMM-ChatGPT\" powered by GPT-4o module listens for a trigger word that the user sets, such as \"elsa\". When it hears the trigger word, it starts listening for the user's question. Once the user asks a question, the module sends the question to the [chatgpt](https://www.npmjs.com/package/chatgpt#cli) and receives a response. It then displays the user's question and the API's response on the Magic Mirror in a bright, medium-sized text. The module also generates an audio response from the API's response text and plays it through the Magic Mirror's speakers.\n\n\n[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/J3J2EARPK)\n\nOpen your terminal and navigate to the modules folder of your Magic Mirror installation by running \n\n```\ncd ~/MagicMirror/modules/\n```\n\nClone the \"MMM-ChatGPT\" module from Github repository by running\n```\ngit clone https://github.com/PierreGode/MMM-ChatGPT.git\n```\n```\ncd MMM-ChatGPT/\n```\nInstall the necessary dependencies for the module by running the following commands in the terminal within the MMM-ChatGPT folde\n\n```\npip3 install openai googletrans==4.0.0-rc1 gtts SpeechRecognition\nsudo sudo apt-get install portaudio19-dev\n```\nIn your Magic Mirror's config.js file, add the following configuration object for the \"MMM-ChatGTP\" module:\n\n```\n{\n  module: \"MMM-ChatGPT\",\n  position: \"bottom_center\",\n  config: {\n    apiKey: \"YOUR API KEY HERE\",\n    triggerWord: \"elsa\",\n    maxQuestions: 5,\n    cooldownTime: 300,\n  },\n},\n\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpierregode%2Fmmm-chatgpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpierregode%2Fmmm-chatgpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpierregode%2Fmmm-chatgpt/lists"}