Skip to content

Proving the Dead Internet Theory by creating a bot that can comment on YouTube videos with relevant statements

Notifications You must be signed in to change notification settings

alexsio03/CommentBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CommentBot 🤖💬

Proving the Dead Internet Theory by automating intelligent YouTube comments

Overview

CommentBot is a project designed to explore the "Dead Internet Theory" by creating a bot that can automatically comment on YouTube videos with relevant and meaningful statements. The bot combines several advanced technologies to achieve this, using YT-DLP for video/audio extraction, OpenAI's Whisper for transcription, and the LLaMA model for generating insightful comments from transcribed content.

With this project, we aim to show how AI can simulate intelligent interaction, blurring the lines between automated systems and human activity online.


How It Works

  1. YouTube Video Download (YT-DLP)
    CommentBot starts by downloading YouTube videos (or audio) using YT-DLP. YT-DLP extracts video/audio content and converts it into an MP3 format, suitable for transcription.

  2. Audio Transcription (OpenAI Whisper)
    After downloading the video/audio, OpenAI Whisper transcribes the MP3 audio into text. Whisper is a state-of-the-art speech-to-text model that handles a wide variety of languages and complex audio environments.

  3. Generating Comments (LLaMA)
    The text transcription is then fed into LLaMA, an advanced language model that generates contextually relevant YouTube comments based on the content of the video.


Installation

Prerequisites (Can be installed w/ pip in later steps)

  • Python 3.8+
  • yt-dlp (YouTube Downloader)
  • openai-whisper
  • LLaMA model setup
  • ffmpeg (for audio processing)

Clone the repository

git clone https://github.com/alexsio03/CommentBot.git
cd CommentBot

Install Dependencies

pip install -r requirements.txt

Run script

python3 bot.py

Then open comment.txt and see how it did.

About

Proving the Dead Internet Theory by creating a bot that can comment on YouTube videos with relevant statements

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages