A Telegram bot that uses Google's Gemini AI to provide summaries of chat conversations.
- Summarizes the last 100 messages in a chat
- Powered by Google's Gemini Pro AI model
- Easy to use commands
- Node.js (v14 or higher)
- Telegram Bot Token (from @BotFather)
- Google Gemini API Key
- Clone this repository
- Install dependencies:
npm install
- Create a
.envfile with your credentials:TELEGRAM_BOT_TOKEN=your_telegram_token GEMINI_API_KEY=your_gemini_api_key - Start the bot:
node bot.js
/start- Initialize the bot/summarise- Get a summary of the last 100 messages in the chat
- node-telegram-bot-api
- @google/generative-ai
- dotenv
MIT
Feel free to open issues and submit pull requests.