{"id":18769416,"url":"https://github.com/learnforpractice/chatgpt-telegram","last_synced_at":"2026-02-22T21:07:55.514Z","repository":{"id":65129400,"uuid":"582550955","full_name":"learnforpractice/chatgpt-telegram","owner":"learnforpractice","description":"a CHATGPT bot for Telegram","archived":false,"fork":false,"pushed_at":"2023-03-07T06:42:46.000Z","size":1184,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-01-05T01:46:37.248Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/learnforpractice.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-12-27T07:19:25.000Z","updated_at":"2023-02-16T18:19:25.000Z","dependencies_parsed_at":"2024-12-29T07:24:04.462Z","dependency_job_id":"b8656a82-ee5c-41e1-9f56-4dbdc832b7af","html_url":"https://github.com/learnforpractice/chatgpt-telegram","commit_stats":{"total_commits":49,"total_committers":2,"mean_commits":24.5,"dds":"0.020408163265306145","last_synced_commit":"abe6060cbf805642d755976c5502d0fd36877894"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/learnforpractice/chatgpt-telegram","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/learnforpractice%2Fchatgpt-telegram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/learnforpractice%2Fchatgpt-telegram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/learnforpractice%2Fchatgpt-telegram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/learnforpractice%2Fchatgpt-telegram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/learnforpractice","download_url":"https://codeload.github.com/learnforpractice/chatgpt-telegram/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/learnforpractice%2Fchatgpt-telegram/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29726988,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T20:09:16.275Z","status":"ssl_error","status_checked_at":"2026-02-22T20:09:13.750Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-07T19:15:47.342Z","updated_at":"2026-02-22T21:07:55.477Z","avatar_url":"https://github.com/learnforpractice.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# chatgpt-telegram\n\n# Installation\n\non unix like platform, install `chatgpt-telegram` with the following command.\n\n```bash\npython3 -m pip install -U chatgpt-telegram\nplaywright install firefox\n```\n\non the Windows platform, use the following command to install `chatgpt-telegram`:\n\n```bash\npython -m pip install -U chatgpt-telegram\nplaywright install firefox\n```\n\n# configuration\n\nTo get started, you will need at least one ChatGPT account. If you don't have one already, you can create an account at [chat.openai.com](https://chat.openai.com/chat). Additionally, you can create an api key at [platform.openai.com/account/api-keys](https://platform.openai.com/account/api-keys).\" \n\n\nYou can start this bot with the following command:\n\n```bash\npython3 -m chatgpt_telegram bot-config.yaml\n```\n\nOn the Windows platform, with the following command:\n\n```bash\npython -m chatgpt_telegram bot-config.yaml\n```\n\nwhich bot-config.yaml contains telegram bot configuration and chatgpt accounts as shown below.\n\n```yaml\ntelegram_api_key: \"\"\nopenai_api_keys: []\naccounts:\n - user: \"\"\n   psw: \"\"\n```\n\n`telegram_api_key` section specify telegram bot api key. `openai_api_keys` section specify openai api keys.`accounts` section specify chatgpt test accounts. `user` field can not be empty, but you can leave `psw` to empty. If it is left empty, the user will need to manually enter the password upon login. Multiple accounts can be specified in the accounts section to improve ChatGPT responses.\n\nIf you are running a bot in a server, you need to install `Xvfb` on the server, and use `VNC` at the client side to connect to `Xvfb`. For more information, refer to [Remote_control_over_SSH](https://en.wikipedia.org/wiki/Xvfb#Remote_control_over_SSH).\n\n\nAfter you start this bot, send `/start` to bot to start the initialization process, which will pop up a browser navigating to `https://chat.openai.com/chat`. On the first time you start the browser, you need to handle the login processes. Some automated processes such as auto-filling of account names and passwords will be carried out, but you will still need to manually solve CAPTCHAs during the login process.\n\n# Acknowledgements\n\n- [chatgpt-api](https://github.com/transitive-bullshit/chatgpt-api)\n- [chatGPT-telegram-bot](https://github.com/altryne/chatGPT-telegram-bot)\n- [ChatGPT](https://github.com/ChatGPT-Hackers/ChatGPT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flearnforpractice%2Fchatgpt-telegram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flearnforpractice%2Fchatgpt-telegram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flearnforpractice%2Fchatgpt-telegram/lists"}