Skip to content

Harshit-shrivastav/YouTube-Summarizer-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎬 YouTube Video Summarizer Bot

Welcome to the YouTube Video Summarizer Bot! This bot helps you to get a quick summary of any YouTube video by simply sending a link. It uses advanced AI technologies to transcribe and summarize the content for you.

🚀 Features

  • 🎥 YouTube Link Handling: Just send a YouTube link to the bot.
  • 📜 Automatic Captions: If the video has captions, it will use them to generate the summary.
  • 🎧 Audio Transcription: If no captions are available, it will download the audio and transcribe it.
  • 📝 Text Summarization: Summarizes the transcribed text using advanced AI models.
  • 🤖 Easy to Use: Simple commands to interact with the bot.

🆓 If you want a free bot hosting checkout this article here:

https://github.com/Harshit-shrivastav/Free-Telegram-bot-hosting

🔧 Installation

⭐ Star the Repo

  1. Clone the repository:

    git clone https://github.com/Harshit-shrivastav/Youtube-Summarizer-Bot.git
    cd Youtube-Summarizer-Bot
  2. Install the required dependencies:

    pip install -r requirements.txt
  3. Get Free Redis URI and Password here Redis

  4. Set up environment variables:

    export API_ID='your_telegram_api_id'
    export API_HASH='your_telegram_api_hash'
    export BOT_TOKEN='your_telegram_bot_token'
    export GROQ_API_KEY='your_groq_api_key'
    export AUTH_USER_ID='your_telegram_user_id'
    export REDIS_URI='your_redis_uri'
    export REDIS_PASSWORD='your_redis_password'

🛠️ Usage

  1. Start the bot:

    python3 main.py
  2. Open Telegram and start a chat with your bot.

  3. Send the /start command to get started.

  4. Send any YouTube link to get a summarized text of the video content.

🤝 Contributing

Contributions are welcome! Please fork this repository and submit a pull request for any improvements or bug fixes.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🎉 Acknowledgements

  • Telethon - Telegram client library.
  • Pytube - YouTube video downloader.
  • SpeechRecognition - Library for performing speech recognition.
  • Groq - AI model for text summarization.

📬 Contact

For any queries, reach out at X.

Enjoy summarizing! 🚀

😊 Follow me

Your follow is like a virtual high-five. Thanks!

About

A telegram bot that can Summarize youtube video using AI

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages