{"id":13341887,"url":"https://github.com/CoHuK/gpt-telegram-bot","last_synced_at":"2025-03-11T23:30:40.609Z","repository":{"id":157928280,"uuid":"617220805","full_name":"CoHuK/gpt-telegram-bot","owner":"CoHuK","description":"GPT/Whisper/DALL-E Telegram Bot with easy deployment using Chalice to AWS Lambda","archived":false,"fork":false,"pushed_at":"2023-11-26T15:36:15.000Z","size":56627,"stargazers_count":14,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-24T10:08:05.433Z","etag":null,"topics":["aws-lambda","dall-e","gpt","gpt-35-turbo","telegram","telegram-bot","whisper"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CoHuK.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["cohuk"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2023-03-21T23:47:44.000Z","updated_at":"2024-09-26T22:33:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"66985605-ab58-433a-b3d7-d1bf70a4e3a7","html_url":"https://github.com/CoHuK/gpt-telegram-bot","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/CoHuK%2Fgpt-telegram-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoHuK%2Fgpt-telegram-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoHuK%2Fgpt-telegram-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoHuK%2Fgpt-telegram-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CoHuK","download_url":"https://codeload.github.com/CoHuK/gpt-telegram-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243129562,"owners_count":20241037,"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":["aws-lambda","dall-e","gpt","gpt-35-turbo","telegram","telegram-bot","whisper"],"created_at":"2024-07-29T19:26:40.702Z","updated_at":"2025-03-11T23:30:37.428Z","avatar_url":"https://github.com/CoHuK.png","language":"Python","funding_links":["https://github.com/sponsors/cohuk"],"categories":[],"sub_categories":[],"readme":"# GPT/Whisper/DALL-E Telegram Bot with easy deployment using Chalice to AWS Lambda\n\u003cp align=\"left\"\u003e\n\u003cimg\n  src=\"https://user-images.githubusercontent.com/1978717/227817754-219a8e0d-8a79-4cbb-8d1e-e348887bfa73.jpg\"\n  alt=\"Bot Demo\"\n  title=\"Happy Programmer\"\n  style=\"display: inline-block; margin: 0 auto; max-width: 150px; width: 324px; height: 657px\"\u003e\n\u003c/p\u003e\n\nGPT/Whisper/DALL-E Telegram Bot using AWS features\n\n- Lambda, DynamoDB (full auto-deployment)\n- ~~Fargate, ECS (manual Docker container deployment)~~ Deprecated\n\n## Requirements\n\n- Python 3.9+\n- AWS CLI\n- AWS credentials and region setup in the \\`~/.aws/credentials\\` file\n- Chalice\n\n## Deployment to AWS Lambda\n\n1. Create a Free Tier AWS account\n\n2. Install and setup AWS CLI (region must be specified in ~/.aws/credentials. Ex.: region=eu-west-1)\n\n3. Update the \\`.chalice/config.json\\` file with your Telegram Bot API, OpenAI API Token, and your telegram userID (get it from @userinfobot).\n\n4. Run the `deploy.sh` script to deploy the Telegram Bot to AWS Lambda (or `deploy.sh name` for a custom config)\n\nFor voice processing you will need to do the next manually (it will be automated in the next releases):\n\n1. Upload ffmpeg.zip to your S3 bucket\n2. Create Lambda Layer using S3 URI\n3. Attach layer to your Lambda function\n\n## Features\n\n- Currently used openAI model: gpt-3.5, gpt-4 (Choose in config or by the bot's command)\n- Image generation `/image prompt` or just ask without the command!\n- Voice message transcript (Just send any voice message)\n- Video transcript and translation! (Send any video to the bot, and it will transcribe and translate it to English)\n- The context of your chat is saved until you use the command `/clear`\n- The price in USD of the response is shown\n- Multi-config support: keep multiple chalice configs to deploy multiple bots `.chalice/name.config.json`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCoHuK%2Fgpt-telegram-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCoHuK%2Fgpt-telegram-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCoHuK%2Fgpt-telegram-bot/lists"}