Skip to content

madacol/whatsapp-llm-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Whatsapp LLM Bot

A whatsapp bot that uses LLMs to generate messages, and yt-dlp to download videos/audios and re-upload them into the chat.

Available commands:

  • !video <link>: downloads the video and re-uploads it into the chat
  • !audio <link>: downloads the audio and re-uploads it into the chat
  • !new: starts a new conversation with the bot

If no command is given, the AI will handle the response.

Getting Started

  1. Prerequisites

    sudo apt install qrencode ffmpeg python3-venv # python3-venv is only necessary for Debian/Ubuntu systems
  2. Clone this repo and run index.js

    npm install
    export OPENAI_API_KEY=<your-openai-api-key>
    node index.js
  3. While you scan the QR code for authentication, install these:

    pip3 install pipx
    pipx install yt-dlp
  4. Restart index.js

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published