Telegram bot for ChatGPT via AWS Lambda
Top 85.7% on sourcepulse
This project provides a serverless Telegram bot that allows users to interact with ChatGPT, leveraging the new ChatGPT API. It's designed for users who want a readily deployable AI chatbot experience without managing server infrastructure, offering features like voice message support and Markdown rendering.
How It Works
The bot is built using AWS Lambda and the Chalice framework, enabling a fully serverless architecture. It processes incoming Telegram messages, forwards them to the OpenAI API for ChatGPT processing, and returns the responses to Telegram. Voice messages are handled by storing audio files in an AWS S3 bucket before processing.
Quick Start & Requirements
pip install -r requirements.txt
chalice deploy
TELEGRAM_TOKEN
, OPENAI_API_KEY
, and VOICE_MESSAGES_BUCKET
in .chalice/config.json
.Highlighted Details
Maintenance & Community
The project is maintained by franalgaba. There are no explicit mentions of community channels or extensive contributor lists in the README.
Licensing & Compatibility
The README does not specify a license. This may pose a restriction for commercial use or integration into closed-source projects.
Limitations & Caveats
The project is still under development with several features marked as "Coming soon," including enhanced error handling and performance improvements. The lack of a specified license is a significant caveat for adoption.
1 year ago
Inactive