{"id":46102949,"url":"https://github.com/smirnoffmg/partner","last_synced_at":"2026-03-01T20:04:25.262Z","repository":{"id":242055466,"uuid":"808563291","full_name":"smirnoffmg/partner","owner":"smirnoffmg","description":"Partner is a versatile Telegram bot integrated with OpenAI's ChatGPT Assistant API, designed to provide a seamless conversational experience. With Partner, users can engage in natural language interactions, receiving intelligent and context-aware responses directly within their Telegram chats.","archived":false,"fork":false,"pushed_at":"2024-06-11T03:31:57.000Z","size":237,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-16T00:43:10.825Z","etag":null,"topics":["api","bot","chatbot","docker","docker-compose","go","golang","open-source","openai-assistants","telegram","telegram-bot","template"],"latest_commit_sha":null,"homepage":"","language":"Go","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/smirnoffmg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2024-05-31T10:27:13.000Z","updated_at":"2024-07-16T14:09:49.000Z","dependencies_parsed_at":"2024-06-07T09:34:48.893Z","dependency_job_id":null,"html_url":"https://github.com/smirnoffmg/partner","commit_stats":null,"previous_names":["smirnoffmg/go-telegram-bot-template","smirnoffmg/partner"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/smirnoffmg/partner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smirnoffmg%2Fpartner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smirnoffmg%2Fpartner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smirnoffmg%2Fpartner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smirnoffmg%2Fpartner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smirnoffmg","download_url":"https://codeload.github.com/smirnoffmg/partner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smirnoffmg%2Fpartner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29983122,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T16:35:47.903Z","status":"ssl_error","status_checked_at":"2026-03-01T16:35:44.899Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["api","bot","chatbot","docker","docker-compose","go","golang","open-source","openai-assistants","telegram","telegram-bot","template"],"created_at":"2026-03-01T20:04:24.557Z","updated_at":"2026-03-01T20:04:25.255Z","avatar_url":"https://github.com/smirnoffmg.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Partner: A Telegram Bot with ChatGPT Integration\n\n## Overview\n\nPartner is a Telegram bot that integrates with OpenAI's ChatGPT Assistant to provide an intelligent assistant within your Telegram chats. This bot leverages the power of ChatGPT to understand and respond to user queries in a conversational manner.\n\n![scheme](docs/scheme.png)\n\n## Features\n\n- **Natural Language Processing**: Uses ChatGPT to understand and respond to queries.\n- **Dockerized**: The bot is packaged as a Docker container for easy deployment.\n\n## Getting Started\n\n### Prerequisites\n\n- Docker\n- Telegram account and bot token\n- OpenAI API key and assistant ID\n\n### Setup\n\n1. **Clone the repository**:\n\n    ```sh\n    git clone https://github.com/smirnoffmg/partner.git\n    cd partner\n    ```\n\n2. **Create a `.env` file** with the following content:\n\n    ```env\n    PRTNR_AUTHOR=\"@not_again_please\"\n    PRTNR_DEBUG=1\n    PRTNR_TELEGRAM_BOT_TOKEN=\n    PRTNR_OPENAI_API_KEY=\n    PRTNR_OPENAI_ASSISTANT_ID=\n    PRTNR_DB_DSN=\"host=db user=postgres password=postgres dbname=postgres\"\n\n    # payments\n    PRTNR_FREE_MESSAGES_COUNT=50\n    PRTNR_PAYMENT_DESCRIPTION=\"Some description about how cool your bot is (50 messages)\"\n    PRTNR_PAYMENT_TOKEN=\n    PRTNR_PRICE_PER_MSG_PACK=99000\n    PRTNR_PRICE_CURRENCY=EUR\n    PRTNR_MSG_PACK=50\n\n    TZ=Asia/Yerevan\n\n    POSTGRES_USER=postgres\n    POSTGRES_PASSWORD=postgres\n\n    SENTRY_DSN=\n\n    ```\n\n3. **Run docker-compose**:\n\n    ```sh\n    docker-compose up --build\n    ```\n\n## Usage\n\nOnce the bot is running, you can start a chat with it on Telegram. The bot will respond to your messages using ChatGPT.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Contact\n\nIf you have any questions or suggestions, feel free to open an issue or reach out to the repository owner.\nOr you can contact me directly at [@not_again_please](https://t.me/not_again_please).\n\n---\n\nHappy chatting with your new intelligent assistant!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmirnoffmg%2Fpartner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmirnoffmg%2Fpartner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmirnoffmg%2Fpartner/lists"}