{"repo":"benincasantonio/gemini-ai-telegram-bot","free":true,"listed":false,"github":"https://github.com/benincasantonio/gemini-ai-telegram-bot","clone":"git clone https://github.com/benincasantonio/gemini-ai-telegram-bot.git","description":"This project is a Python-based Telegram chatbot that uses Google's Generative AI (Gemini) for responses. It utilizes Flask for the web server and Vercel Functions for serverless computing. The bot can be interacted with via Telegram and includes a plugin system for extending its functionality.","language":"Python","stars":16,"topics":["ai","bot","functions","gemini","python","python-telegram","python-telegram-bot","telegram","vercel"],"license":null,"category":"chat-messaging","readme_excerpt":"Gemini Telegram BOT Description This project is a chatbot application that uses Google's Generative AI (Gemini) to generate responses. It is built with Python, FastAPI, and async SQLAlchemy, and it is designed to run behind a Telegram webhook. Installation 1. Set up the Telegram bot using the BotFather on Telegram 2. Deploy on vercel with just a click Local Development Run the FastAPI app locally with uvicorn : Or use the helper entrypoint: Environment Variables The following environment variables are required for the application to run: Variable Description Default Value ----------------------------- -------------------------------------------------------------------------------------------------------------------------------------------- ------------------ GEMINI API KEY Your Gemini API key None GEMINI MODEL NAME The Gemini model name gemini-2.5-flash TELEGRAM BOT TOKEN Your Telegram Bot token None OWM API KEY Your Open Weather Map API Key None ENABLE SECURE WEBHOOK TOKEN Enable validation of a secure token passed to the Telegram API webhook to prevent unauthorized access. Allowed values are 'True' or 'False'. True TELEGRAM WEBHOOK SECRET A secure token used to validate incoming requests to the Telegram API webhook. None MAX HISTORY MESSAGES Maximum number of chat messages to include in context when sending to Gemini. Limits history to prevent context overflow. 50 Database Migrations This project uses Alembic for database migrations. Commands: Note : Set SQLALCHEMY DATABASE","default_branch":null,"files":null,"tree":[],"storefront":"/r/benincasantonio","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/benincasantonio/gemini-ai-telegram-bot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}