{"id":19279589,"url":"https://github.com/maddyrucos/ai_telegram_bot","last_synced_at":"2026-06-13T13:34:42.868Z","repository":{"id":173734549,"uuid":"651213346","full_name":"maddyrucos/ai_telegram_bot","owner":"maddyrucos","description":"telegram bot with ChatGPT","archived":false,"fork":false,"pushed_at":"2024-09-21T06:59:21.000Z","size":35,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-23T21:44:18.437Z","etag":null,"topics":["aigoram","bot","chatgpt","mistral","mistral-api","openai-api"],"latest_commit_sha":null,"homepage":"","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/maddyrucos.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-06-08T18:56:43.000Z","updated_at":"2024-09-21T06:59:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"22abbf13-35d2-466e-8a5c-2c1dd3685da0","html_url":"https://github.com/maddyrucos/ai_telegram_bot","commit_stats":null,"previous_names":["maddyrucos/telegram_chatgpt_bot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maddyrucos/ai_telegram_bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maddyrucos%2Fai_telegram_bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maddyrucos%2Fai_telegram_bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maddyrucos%2Fai_telegram_bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maddyrucos%2Fai_telegram_bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maddyrucos","download_url":"https://codeload.github.com/maddyrucos/ai_telegram_bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maddyrucos%2Fai_telegram_bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34286975,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["aigoram","bot","chatgpt","mistral","mistral-api","openai-api"],"created_at":"2024-11-09T21:15:38.678Z","updated_at":"2026-06-13T13:34:42.850Z","avatar_url":"https://github.com/maddyrucos.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!DOCTYPE html\u003e\n\u003chtml\u003e\n\n\u003cbody\u003e\n  \u003ch1\u003eТелеграм-бот с использованием MistalAI \u003c/h1\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Python-3.11-blue.svg\" alt=\"Python\"\u003e\n  \u003cp\u003eДанный проект представляет собой телеграм бота, написанного на языке Python, который использует API  \u003ca href=\"https://mistral.ai/\"\u003eMistral AI\u003c/a\u003e для обработки запросов и предоставления ответов в виде текста. Бот интегрируется с платформой Telegram и позволяет пользователям общаться с моделью Mistral через интерфейс мессенджера.\u003c/p\u003e\n\n  \u003ch2\u003eВозможности\u003c/h2\u003e\n    \u003col\u003e\n      \u003cli\u003e\n        \u003cb\u003eПользователь\u003c/b\u003e:\n        \u003cul\u003e\n          \u003cli\u003e Отправлять запросы к модели Mistral и получать развернутые информативные ответы \u003c/li\u003e\n        \u003c/ul\u003e\n        \u003ci\u003eБудет дополняться...\u003c/i\u003e\n      \u003c/li\u003e\n      \u003cli\u003e\n        \u003cb\u003eАдмин\u003c/b\u003e:\n        \u003cul\u003e\n          \u003cli\u003eДобавлять и удалять пользовтелей из БД (разрешение на использование моделей)\u003c/li\u003e\n          \u003cli\u003eДелать рассылку всем пользователям бота\u003c/li\u003e\n          \u003cli\u003eПолучать БД в формате .xlsx\u003c/li\u003e\n        \u003c/ul\u003e\n      \u003c/li\u003e\n    \u003c/ol\u003e\n\n  \n  \u003ch2\u003eУстановка\u003c/h2\u003e\n  \u003col\u003e\n    \u003cli\u003eСклонируйте репозиторий с помощью команды:\u003cbr\u003e\u003ccode\u003egit clone https://github.com/maddyrucos/ai_telegram_bot.git\u003c/code\u003e\u003c/li\u003e\u003cbr\u003e\n    \u003cli\u003eПерейдите в каталог проекта:\u003cbr\u003e\u003ccode\u003ecd ai_telegram_bot\u003c/code\u003e\u003c/li\u003e \u003cbr\u003e\n    \u003cli\u003eСоздайте виртуальное окружение:\u003cbr\u003e\u003ccode\u003epython3 -m venv venv\u003c/code\u003e\u003c/li\u003e \u003cbr\u003e\n    \u003cli\u003eАктивируйте виртуальное окружение:\u003c/li\u003e\n    \u003cul\u003e\n      \u003cli\u003eДля Linux/Mac:\u003cbr\u003e\n        \u003ccode\u003esource venv/bin/activate\u003c/code\u003e\u003c/li\u003e\n      \u003cli\u003eДля Windows:\u003cbr\u003e\n        \u003ccode\u003evenv\\Scripts\\activate\u003c/code\u003e\u003c/li\u003e\n    \u003c/ul\u003e \u003cbr\u003e\n    \u003cli\u003eУстановите зависимости, указанные в файле \u003ccode\u003erequirements.txt\u003c/code\u003e:\u003cbr\u003e\u003ccode\u003epip install -r requirements.txt\u003c/code\u003e\u003c/li\u003e \u003cbr\u003e\n    \u003cli\u003eСоздайте файл \u003ccode\u003e.env\u003c/code\u003e в корневом каталоге проекта и добавьте следующие переменные среды:\n      \u003cul\u003e \n        \u003cli\u003e\u003ccode\u003eBOT_TOKEN\u003c/code\u003e - токен вашего телеграм-бота. Для получения токена создайте нового бота с помощью \u003ca href=\"https://core.telegram.org/bots#botfather\"\u003eBotFather\u003c/a\u003e.\u003c/li\u003e\n        \u003cli\u003e\u003ccode\u003eMISTRAL_TOKEN\u003c/code\u003e - ключ API Mistral. Получить ключ можно \u003ca href=\"https://console.mistral.ai/api-keys/)\"\u003eпо ссылке\u003c/a\u003e.\u003c/li\u003e\n         \u003cli\u003e\u003ccode\u003eADMIN\u003c/code\u003e - ваш username в телеграм. \u003c/li\u003e\u003cbr\u003e\n      \u003c/ul\u003e\n    \u003cli\u003eЗапустите бота:\u003cbr\u003e\u003ccode\u003epython3 main.py\u003c/code\u003e\u003c/li\u003e \n  \u003c/ol\u003e\n\n\u003ch3\u003e P.S. \u003c/h3\u003e\nВы можете воспользоваться \u003ca href=\"https://github.com/maddyrucos/ai_telegram_bot/tree/old_version\"\u003e старой версией \u003c/a\u003e бота на aiogram 2, которая имеет более расширенный функционал и взаимодействует с моделями openai.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaddyrucos%2Fai_telegram_bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaddyrucos%2Fai_telegram_bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaddyrucos%2Fai_telegram_bot/lists"}