/fxop-md

Simple WhatsApp Bot With @adiwajshing/baileys library

Primary LanguageJavaScript

Simple WhatsApp Bot

Get Session ID

A very Simple WhatsApp bot built with the Baileys library, designed to be easily deployable to multiple platforms with minimal configuration. You can set up and run the bot locally or deploy it to various cloud services.


Deployment Options

Deploy the project to your preferred platform with just a few clicks using the links below:

  • Heroku
    Deploy instantly on Heroku, known for its simplicity and ease of use. Heroku offers free tier services to get your bot up and running quickly.

  • Koyeb
    Koyeb provides high-performance container-based deployment. Set up your bot using a custom Docker image.

  • Render
    Use Render to deploy your bot on an auto-scaling server with minimal configuration.

  • Railway
    Railway offers fast deployments with seamless environment management, making scaling and management simple.

  • Termux
    A lightweight option for mobile devices using Termux, perfect for those who want to run the bot on Android.

  • Panel
    Download and set up the bot using a web-based panel for easier control and configuration.

  • Codespaces
    A developer-friendly deployment on GitHub Codespaces, allowing you to work in a cloud-based IDE with preconfigured development containers.

  • Replit
    Deploy the bot on Replit for a fast, browser-based coding experience. Great for beginners or those looking to deploy on a free service.


Running Locally? (Panel | Termux)

If you prefer to run the bot on your local machine, follow these steps:

  1. Obtain Your SESSION_ID
    First, pair your WhatsApp account to generate the SESSION_ID by visiting the Session ID Generator.

  2. Create a .env File
    At the root of your project, create a .env file to store your session and bot details.

  3. Configure Your .env File
    Copy and paste the following template into your .env file:

    SESSION_ID = "your-session-id"
    BOT_INFO = "YourName,YourBotName,YourImage/VideoUrl(Optional)"
    # Get more configuration options from config.js
  4. Run the Bot
    Start the bot by running the appropriate command in your terminal (depending on the platform you're using, such as Node.js or Docker).


Support

If you need any help or have questions, feel free to reach out through the official WhatsApp support channel.