Giter Site home page Giter Site logo

awesome-tofu / miko-bot Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 5.0 98.42 MB

Miko bot is a feature-rich WhatsApp bot powered by whatsapp-web.js, automating tasks and providing utilities for an enhanced messaging experience. Simplify your interactions with Miko's user-friendly commands and customizable settings.

HTML 2.84% Dockerfile 0.18% Procfile 0.02% JavaScript 96.72% Nix 0.24%
chatbot nodejs whatsapp-automation whatsapp-bot whatsapp-web-js

miko-bot's Introduction

MIKO BOT

MIKO BOT is a Node.js-based WhatsApp chatbot powered by Puppeteer and whatsapp-web.js. It allows you to automate interactions with WhatsApp Web, enabling various automated tasks and responses.

Features

  • WhatsApp Automation: MIKO BOT can automate tasks such as sending messages, images, and stickers to WhatsApp contacts or groups.
  • Dynamic Responses: Customize your bot to provide dynamic responses based on user inputs or predefined conditions.
  • Message Handling: Handle incoming messages, process them, and respond accordingly.
  • Sticker Handling: Convert and create sticker with bot.
  • Chatbot AI: Customize AI replies from the bot.
  • More?: Just try example bot and you can explore all features.
  • Example Bot: Miko Bot I wont be running the bot from now on, but you can try the repo

Getting Started

Follow these steps to set up and run the MIKO BOT on your local machine or deploy it to a cloud platform like Heroku.

  1. Clone the Repository:

    git clone https://github.com/awesome-tofu/miko-bot.git
    
  2. Change the Directory:

     cd miko-bot
    
  3. Install Dependencies:

    npm install
    
  4. Set Environment Variables:

    sample: sample.env

    PUPPETEER_SKIP_CHROMIUM_DOWNLOAD (required), if you are running on windows remove it
    PUPPETEER_EXECUTABLE_PATH (required), if you are running on windows remove it
    MONGODB_URI (required) (get it from https://cloud.mongodb.com/)
    DEFAULT_LANGUAGE (optional)
    BOT_NUMBER (required)
    OWNER_NUMBER (required)
    NUMVERIFY_KEY (optional)
    CHATBOT (optional) (set default chatbot true/false)
    INSTALLATION_ID (optional) (get truecaller installation ID from https://replit.com/@E-Venture/truecaller-installation-id?v=1)
    STICKER_NAME = tofu (optional) (sticker name of .sticker command)
    AUTHOR_NAME = miko (optional) (pack/author name of .sticker command)
    
    
  5. Start the script:

    npm start
    
  6. Scanning the QR code:

    Open the link provided by the deployment platform OR if you are running on local platform open http://localhost:3000/

  7. Command Usage:

    Once the bot is running, you can start sending commands and messages to it via WhatsApp.

    Command Description
    .start Command to start the bot.
    .eval Evaluate nodejs script with vim.
    .sticker Send a sticker from replied image.
    .translate <code> Translate text to the default language.
    .report <issue> Report an issue with the bot.
    .support Get support and assistance.
    .help You can see more command lists

Support

Need any help? Feel free to join our support group. We will be happy to help you☺️


whatsapp

Thanks to

  • Whatsapp-web.js for providing awesome package
  • WhatsBot for telegraph, sticker, term and carbon command inspiration
  • ThiruXD ♡︎ for making youtube downloader commands
  • Last but Not Least: You image for using my repo

Things I want you to know

I am still learning nodejs, so my code might look repeating cuz I dont want to touch code if its working, and I am having trouble in saving session on heroku. If you can help, please feel free to contribute.

License

MIT

miko-bot's People

Contributors

awesome-tofu avatar nandhaxd avatar thiruxd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.