Briefly is a Telegram bot that summarizes audio files, voice messages, and YouTube videos. It uses OpenAI's GPT-4o model for generating summaries and transcriptions.
- Summarizes audio files and voice messages.
- Summarizes YouTube videos by extracting subtitles or transcribing audio.
- Supports multiple languages.
- Allows users to ask questions about the summarized content.
- Python 3.10+
- Docker
- Docker Compose
git clone https://github.com/yourusername/briefly.git
cd brieflypython -m venv .venv
source .venv/bin/activate # On Windows use `.venv\Scripts\activate`pip install -r requirements.txtCreate a .env file in the root directory and add the following variables:
API_KEY=your_telegram_bot_api_key
OPENAI_API_KEY=your_openai_api_key
python -m database.modelspython main.py- Start the bot on Telegram.
- Send an audio file, voice message, or YouTube link to the bot.
- The bot will transcribe and summarize the content.
- You can ask questions about the summarized content.
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Make your changes.
- Commit your changes (
git commit -am 'Add new feature'). - Push to the branch (
git push origin feature-branch). - Create a new Pull Request.
This project is licensed under the MIT License.