{"id":15160005,"url":"https://github.com/theobrigitte/chatgpt-telegram-bot","last_synced_at":"2026-02-27T19:42:11.744Z","repository":{"id":253861624,"uuid":"844754879","full_name":"TheoBrigitte/chatgpt-telegram-bot","owner":"TheoBrigitte","description":"OpenAI ChatGPT Telegram chatbot","archived":false,"fork":false,"pushed_at":"2024-08-19T23:30:22.000Z","size":156,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-21T07:26:08.628Z","etag":null,"topics":["chatbot","chatgpt","openai","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":"Go","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/TheoBrigitte.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":"2024-08-19T22:53:50.000Z","updated_at":"2024-08-19T23:30:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"137b3014-d291-4e4c-9533-4615acc3046a","html_url":"https://github.com/TheoBrigitte/chatgpt-telegram-bot","commit_stats":null,"previous_names":["theobrigitte/chatgpt-telegram-bot"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheoBrigitte%2Fchatgpt-telegram-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheoBrigitte%2Fchatgpt-telegram-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheoBrigitte%2Fchatgpt-telegram-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheoBrigitte%2Fchatgpt-telegram-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheoBrigitte","download_url":"https://codeload.github.com/TheoBrigitte/chatgpt-telegram-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238725151,"owners_count":19520113,"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":["chatbot","chatgpt","openai","telegram","telegram-bot"],"created_at":"2024-09-26T22:03:37.289Z","updated_at":"2026-02-27T19:42:11.678Z","avatar_url":"https://github.com/TheoBrigitte.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"assets/openai-telegram-logo.webp\" alt=\"OpenAI Telegram logo\" height=\"100px\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/TheoBrigitte/chatgpt-telegram-bot/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/release/TheoBrigitte/chatgpt-telegram-bot.svg\" alt=\"Github release\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/TheoBrigitte/chatgpt-telegram-bot/actions/workflows/build.yml\"\u003e\u003cimg src=\"https://github.com/TheoBrigitte/chatgpt-telegram-bot/actions/workflows/build.yml/badge.svg\" alt=\"Github action\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\n### About\n\nOpenAI ChatGPT is a conversational AI model that generates human-like text. This Telegram bot allows users to interact with the model directly from the Telegram app.\n\n### Screenshots\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"assets/chat-example.png\" alt=\"Chat example screenshot\"\u003e\n\u003c/p\u003e\n\n### Quickstart\n\n```\ngit clone git@github.com:TheoBrigitte/chatgpt-telegram-bot.git\ncd chatgpt-telegram-bot\ncp config.env.example config.env\n$EDITOR config.env    # fill in the required environment variables\nsource config.env\ngo build -v\n./chatgpt-telegram-bot run\n```\n\n### Features\n\n- Send a message to the bot to get a response from the ChatGPT Model\n- Set system role with `/setrole` command\n- Clear chat session (history and role) with `/clear` command\n- Clear chat history with `/clearhistory` command\n- Clear system role with `/clearrole` command\n\n### Configuration\n\nConfiguration is done through environment variables.\n\nCopy the [config.env.example](config.env.example) file to `config.env` and fill in the required environment variables.\n\nThe following variables are available:\n\n- `OPENAI_API_KEY`: Your OpenAI API key, you can get it from [here](https://platform.openai.com/account/api-keys)\n- `TELEGRAM_BOT_TOKEN`: Your Telegram bot's token, you can get it using [this tutorial](https://core.telegram.org/bots/tutorial#obtain-your-bot-token)\n\n### Credits\n\n- [sashabaranov/go-openai](https://github.com/sashabaranov/go-openai)\n- [tucnak/telebot](https://github.com/tucnak/telebot)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheobrigitte%2Fchatgpt-telegram-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheobrigitte%2Fchatgpt-telegram-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheobrigitte%2Fchatgpt-telegram-bot/lists"}