Skip to content

An AI-powered text summarization Telegram bot that generates concise summaries of text, URLs, and YouTube videos.

Notifications You must be signed in to change notification settings

heessuh/summary-gpt-bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Summary GPT Bot

An AI-powered text summarization Telegram bot that generates concise summaries of text, URLs, PDFs and YouTube videos.

Features

  • Supports text
  • Supports URLs
  • Supports PDFs
  • Supports YouTube videos (no support for YouTube Shorts)

Usage

Environment Variable Description
OPENAI_API_KEY API key for OpenAI GPT API (required)
OPENAI_MODEL Model to use for text summarization (default: gpt-3.5-turbo)
TELEGRAM_TOKEN Token for Telegram API (required)
TS_LANG Language of the text to be summarized (default: Taiwanese Mandarin)
# install libraries
pip install -r requirements.txt

Build the Docker image: In the terminal, navigate to the project directory and run the following command to build the Docker image:

docker build -t telegram-bot .

This command will build the Docker image using the specified Dockerfile and requirements.txt.

Run the Docker container: Once the image is built, run the following command to start a Docker container:

docker run -d telegram-bot

This command will start a container based on the built image, and the Telegram bot will be up and running.

About

An AI-powered text summarization Telegram bot that generates concise summaries of text, URLs, and YouTube videos.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.1%
  • Dockerfile 3.9%