All Projects β†’ vasani-arpit β†’ Wbot

vasani-arpit / Wbot

Licence: other
A simple Web based BOT for WhatsAppβ„’ in NodeJS 😜. Working as of πŸ“… Feb 14th, 2020

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Wbot

Whatsapp Bot
BOT - WhatsApp Web in TypeScript
Stars: ✭ 170 (-73.35%)
Mutual labels:  bot, whatsapp, puppeteer
Terjira
Terjira is a very interactive and easy to use CLI tool for Jira.
Stars: ✭ 713 (+11.76%)
Mutual labels:  command-line-tool, cli, hacktoberfest
Whatsapp Web.js
A WhatsApp client library for NodeJS that connects through the WhatsApp Web browser app
Stars: ✭ 4,103 (+543.1%)
Mutual labels:  bot, hacktoberfest, whatsapp
Notify
A dead simple Go library for sending notifications to various messaging services.
Stars: ✭ 727 (+13.95%)
Mutual labels:  bot, hacktoberfest, whatsapp
Starcli
✨ Browse GitHub trending projects from your command line
Stars: ✭ 269 (-57.84%)
Mutual labels:  command-line-tool, cli, hacktoberfest
Laminas Cli
Console command runner, exposing commands written in Laminas MVC and Mezzio components and applications
Stars: ✭ 25 (-96.08%)
Mutual labels:  command-line-tool, cli, hacktoberfest
Venom
Venom is the most complete javascript library for Whatsapp, 100% Open Source.
Stars: ✭ 3,457 (+441.85%)
Mutual labels:  bot, whatsapp, puppeteer
Laravel Packer
Awesome Command Line Tool for speeding up your package creation.
Stars: ✭ 313 (-50.94%)
Mutual labels:  command-line-tool, cli, hacktoberfest
Pypistats
Command-line interface to PyPI Stats API to get download stats for Python packages
Stars: ✭ 86 (-86.52%)
Mutual labels:  command-line-tool, cli, hacktoberfest
Spam Bot 3000
Social media research and promotion, semi-autonomous CLI bot
Stars: ✭ 79 (-87.62%)
Mutual labels:  command-line-tool, bot, cli
Whatspup
πŸ”³ WhatsApp chat from commandline/console/cli using GoogleChrome puppeteer
Stars: ✭ 310 (-51.41%)
Mutual labels:  cli, whatsapp, puppeteer
Mongo Seeding
The ultimate solution for populating your MongoDB database.
Stars: ✭ 375 (-41.22%)
Mutual labels:  command-line-tool, cli, hacktoberfest
Xonsh
🐚 Python-powered, cross-platform, Unix-gazing shell
Stars: ✭ 5,327 (+734.95%)
Mutual labels:  cli, hacktoberfest
Cbt
CBT - fun, fast, intuitive, compositional, statically checked builds written in Scala
Stars: ✭ 489 (-23.35%)
Mutual labels:  command-line-tool, cli
Topydo
A powerful todo list application for the console, using the todo.txt format.
Stars: ✭ 511 (-19.91%)
Mutual labels:  cli, hacktoberfest
Transity
Keep track of your πŸ’΅, πŸ•˜, πŸ–, πŸ„, 🍻 on your command line
Stars: ✭ 528 (-17.24%)
Mutual labels:  command-line-tool, cli
Ferret
Declarative web scraping
Stars: ✭ 4,837 (+658.15%)
Mutual labels:  cli, hacktoberfest
Guide
The official guide for discord.js, created and maintained by core members of its community
Stars: ✭ 512 (-19.75%)
Mutual labels:  bot, hacktoberfest
Faas Cli
Official CLI for OpenFaaS
Stars: ✭ 633 (-0.78%)
Mutual labels:  cli, hacktoberfest
Cli
A command-line interface for Hetzner Cloud
Stars: ✭ 542 (-15.05%)
Mutual labels:  command-line-tool, cli

WBOT

Support me on Patreon Buy me a book PayPal

A simple Nodejs BOT for whatsapp web

Preview β€’ Features β€’ Downloads β€’ How to? β€’ Technologies Used β€’ Why? β€’ Goals β€’ FAQ

πŸ” Preview

Quick preview

Screenshot gif

⚑ Features

  • 🎨 Highly customizable json
  • πŸ’― Totally Free for personal use
  • πŸ”’ Complete Privacy. Your data stays with you always
  • πŸ‘₯ Multiple instances

⬇ Downloads ⬇

macOS Windows Linux
Download Latest Release Download Latest Release Download Latest Release

Supported Platforms

Following platforms are supported by Wbot:

macOS The minimum version supported is macOS 10.9.

Windows Windows 7 and later are supported.

Linux:

  • Ubuntu 12.04 and later
  • Fedora 21
  • Debian 8

How to start the BOT?

STEPS

After downloading, extract the zip file and navigate to that location in your terminal. There will be a file named wbot-* . Run it and you should be good to go.

For Linux you need to provide executable permission before you execute the binary. Run the command -

chmod +x wbot-linux && wbot-linux

Note: on Linux you need a running display server (X11 or Wayland). If you run Linux on a headless server or wan't to run chmomium without visible display try xvfb-run wbot-linux.

I haven't tested Mac and Linux binaries. If you find any issues using them feel free to raise one from here

Configurations

Basic configuration is in bot.json file like replying to Hi, hello and happy birthday. You can add/remove yours if you need. Keep in mind that you need to restart the wbot to see the effects of your changes. Make sure the JSON is valid. Use VSCode or jsonlint to validate the JSON.

bot.json

appconfig

This is where all the application related (node application behavior and such things) config will stay. Will add more in future.

  • headless whether to start chrome as headless or not. this is regarding #4. Apparently, Whatsapp doesn't allow headless instances.
  • isGroupReply whether to send replies in group or not. If set to false, Bot will not reply if message received in group chat.

bot

An array of objects. Properties of Object are self explanatory.

  • Contains If message has one of that word anywhere in the message

  • exact If message is exactly as one of the messages form array

  • Response If any of the above conditions becomes true then corresponding response string or spintax will be sent as message to the user or group.

  • file name of the file (from current directory) which you want to send along with response

Blocked

Array of numbers with county code to which this bot will not reply to.

noMatch

Default reply message or spintax when no exact match found in BOT

smartreply (This feature is under maintenance at the moment.)

An object which contains suggestions and it's configs.

  • suggestions An Array of suggestions
  • clicktosend Whether to send or just write message when user clicks on suggestion

here is how that looks

smart reply gif

Run the latest code from github

This is only recommended for advanced 'node.js' users.

open a Terminal and create a new directory in your home directory, e.g. 'node' and goto there. Now download and run the latest code from github by:

git clone https://github.com/vasani-arpit/WBOT.git
cd WBOT
npm install
node src/index.js

If you run Linux on a headless server or wan't to run chmomium without visible display try xvfb-run wbot-linux.

Known bugs

Sometimes, closing the node server directly does not clear browser cache. Next time when the bot is started, it runs into errors due to which smart reply is not setup correctly. A temporary fix to this is to clear node cache.

npm cache clean

πŸ’» Technologies

Why?

The main reason I decided to build this is that I needed a simple tool to reply to my "happy birthday" messages. I know it is kind of blunt and rude but it would take me 2-3 days to reply to all and by that time that moment would be gone. I needed a good solution to this problem. I really don't need a full-fledged AI-BOT or BOT with NLU (or some other acronym). I believe there are many people who also have such needs.

Goals

With that in mind, I know that WBOT would need to satisfy these criteria:

  • πŸš€ Fast!!!
  • πŸ‘ Friendly CLI UX
  • πŸ”’ Does not touch user’s data
  • πŸ’° Free! for personal use

If you think WBOT delivers these, let me know by putting a star ⭐ on this project

FAQ

  • Is this app built with NodeJS?

    Yes, it's built with NodeJS. Please see the Technologies section for more info.

  • What boilerplate did you use?

    None. The idea was to get a better understanding of how things work together, But I do take a cue from other projects.

  • What npm modules did you use?

  • Apart from development, What else do you do?

    I do motion design and UI/UX development.

  • Are you available for hire?

    I have a full-time job as a software developer at technobrains.net and at mindtechconsultancy.com. I am available as a freelance consultant during my spare time please let me know what you have in mind.

  • How do I contact you?

    If you find an issue, please report it here. For everything else, please drop me a line at [email protected]

  • Do you have any other projects?

    I thought you'd never ask. Yes, I do. SMA is one of them.

πŸ“ƒ Legal

This code is in no way affiliated with, authorized, maintained, sponsored or endorsed by WhatsApp or any of its affiliates or subsidiaries. This is an independent and unofficial software. Use at your own risk. Commercial use of this code/repo is strictly prohibited.

πŸ‘‹ Contact Me πŸ‘‹

Contact me on twitter Contact me on telegram Mail me

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].