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.
- 🎥 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.
https://github.com/Harshit-shrivastav/Free-Telegram-bot-hosting
-
Clone the repository:
git clone https://github.com/Harshit-shrivastav/Youtube-Summarizer-Bot.git cd Youtube-Summarizer-Bot
-
Install the required dependencies:
pip install -r requirements.txt
-
Get Free Redis URI and Password here Redis
-
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'
-
Start the bot:
python3 main.py
-
Open Telegram and start a chat with your bot.
-
Send the
/start
command to get started. -
Send any YouTube link to get a summarized text of the video content.
Contributions are welcome! Please fork this repository and submit a pull request for any improvements or bug fixes.
This project is licensed under the MIT License - see the LICENSE file for details.
- Telethon - Telegram client library.
- Pytube - YouTube video downloader.
- SpeechRecognition - Library for performing speech recognition.
- Groq - AI model for text summarization.
For any queries, reach out at X.
Enjoy summarizing! 🚀
Your follow is like a virtual high-five. Thanks!