Skip to content

kzfsg/jericho

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jericho - Telegram Chat Summarizer Bot

A Telegram bot that uses Google's Gemini AI to provide summaries of chat conversations.

Features

  • Summarizes the last 100 messages in a chat
  • Powered by Google's Gemini Pro AI model
  • Easy to use commands

Prerequisites

  • Node.js (v14 or higher)
  • Telegram Bot Token (from @BotFather)
  • Google Gemini API Key

Setup

  1. Clone this repository
  2. Install dependencies:
    npm install
  3. Create a .env file with your credentials:
    TELEGRAM_BOT_TOKEN=your_telegram_token
    GEMINI_API_KEY=your_gemini_api_key
    
  4. Start the bot:
    node bot.js

Usage

  • /start - Initialize the bot
  • /summarise - Get a summary of the last 100 messages in the chat

Dependencies

  • node-telegram-bot-api
  • @google/generative-ai
  • dotenv

License

MIT

Contributing

Feel free to open issues and submit pull requests.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published