Skip to content

Coffee Bot is a lightweight WhatsApp Bot written in Node.js that automatically updates your WhatsApp profile picture. It supports custom sizes

Notifications You must be signed in to change notification settings

Aeon-San/Coffee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

β˜• Coffee Bot

What is Coffee Bot?

Coffee Bot is a lightweight WhatsApp Bot written in Node.js that automatically updates your WhatsApp profile picture. It supports custom sizes.

πŸš€ Features

  • Sets WhatsApp DP from profile/ folder.
  • Secure login using pairing codes.
  • Cleans up session files like Session/ after completion.
  • Works on Windows, Mac, and Linux.

βš™οΈ Requirements

  • Internet connection
  • Node.js: v21.x or higher
  • npm: Included with Node.js
  • WhatsApp account: Valid phone number (e.g., +91629717594x)
  • Profile picture: JPG/PNG in profile/ folder (e.g., profile.jpg)

πŸ“₯ Setup

πŸ”§ Install Node.js, npm, and Git

πŸͺŸ Install for Windows

1. Install Node.js

2. Install Git (Optional, if you don't have Git installed)

3. Verify Installation

node -v
npm -v
git --version

4. Clone the Repository

git clone https://github.com/Aeon-San/Coffee.git
cd Coffee

5. Install Dependencies

npm install

6. Configure Settings

Create or edit the settings.js file with the following content:

module.exports = {
  auth: "pairing",
  sessionFile: "./Session",
  BotName: "Coffee Bot",
  additionalConfig: { proxy: null, retryCount: 5 },
};

7. Add Profile Picture

Place a JPG or PNG file inside the profile/ folder (e.g. profile.jpg).

8. Start the Bot

npm start
🍏 Install for macOS

1. Install Node.js

2. Install Git (Optional, if you don't have Git installed)

  • Install Git using Homebrew:
    brew install git

3. Verify Installation

node -v
npm -v
git --version

4. Clone the Repository

git clone https://github.com/Aeon-San/Coffee.git
cd Coffee

5. Install Dependencies

npm install

6. Configure Settings

Create or edit the settings.js file with the following content:

module.exports = {
  auth: "pairing",
  sessionFile: "./Session",
  BotName: "Coffee Bot",
  additionalConfig: { proxy: null, retryCount: 5 },
};

7. Add Profile Picture

Place a JPG or PNG file inside the profile/ folder (e.g. profile.jpg).

8. Start the Bot

npm start
🐧 Install for Linux (Ubuntu/Debian)

1. Install Node.js & npm

sudo apt update
sudo apt install nodejs npm

Or install via NVM:

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
source ~/.bashrc
nvm install 16

2. Install Git (Optional, if you don't have Git installed)

sudo apt install git

3. Verify Installation

node -v
npm -v
git --version

4. Clone the Repository

git clone https://github.com/Aeon-San/Coffee.git
cd Coffee

5. Install Dependencies

npm install

6. Configure Settings

Create or edit the settings.js file with the following content:

module.exports = {
  auth: "pairing",
  sessionFile: "./Session",
  BotName: "Coffee",
  additionalConfig: { proxy: null, retryCount: 5 },
};

7. Add Profile Picture

Place a JPG or PNG file inside the profile/ folder (e.g. profile.jpg).

8. Start the Bot

npm start

πŸ”‘ Pairing Instructions

1. Enter your phone number (e.g., 91629717594x)
2. Open WhatsApp β†’ Settings β†’ Linked Devices β†’ Link with phone number
3. Enter the pairing code shown in the terminal

⚠️ Notes

  • The bot exits automatically after setting the DP.
  • A new pairing code is required each time.
  • Ensure your profile image is correctly named and placed inside the profile/ folder.

β˜• Support

Developed by Aeon San If you found this Coffee Bot useful and want to support further development, you can buy me a coffee! ❀️

Buy Me A Coffee

πŸ› οΈ Thanks To

  • Baileys β€” WhatsApp Web Reverse-Engineering Library.

πŸ“ License

This project is Unlicensed β€” for personal use only.

About

Coffee Bot is a lightweight WhatsApp Bot written in Node.js that automatically updates your WhatsApp profile picture. It supports custom sizes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published