GithubHelp home page GithubHelp logo

shzzos / whatsapp-bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from arugaz/whatsapp-bot

0.0 0.0 0.0 1.12 MB

Whatsapp Bot Multi Device - Node Js - Internationalization

License: GNU General Public License v3.0

JavaScript 0.19% TypeScript 99.81%

whatsapp-bot's Introduction


Don't forget to click ⭐️ and fork this repository


This whatsapp bot project (now) use Baileys Multi-Device.


whatsapp-bot out-of-the-box support on...

Need help? please create an issues


Getting Started

This project require

Install

Clone this project

git clone https://github.com/ArugaZ/whatsapp-bot.git
cd whatsapp-bot

Install the dependencies:

npm install

Setup

Setup prisma

Create .env file based on .env.example, copy the mongo database URL into .env file

npx prisma db push

Build a project

Why build into javascript?

npm run build

If you want generate more languages

It will generate languages based on list database/languages.json. You can remove the languages you don't want to use (it will store the object into memory), except (English (en) and Indonesian (id)) because its already generate by default.

# try this:
npm run generateLang
# if get incompatible error, try run:
npm run generateLangV2

Usage

Run the Whatsapp bot

npm start

With pm2

If you haven't installed pm2.

npm install -g pm2

Run with pm2

npm run start:pm2

Other tips with pm2:

This will start your application when the server is restarted or rebooted.

# if you are on a unix
pm2 startup #create a startup script
pm2 save #save the current app

# if you are on windows
npm install pm2-windows-startup -g #install helper dependency
pm2-startup install #create a startup script
pm2 save #save the current app

after running it you need to scan the qr

Contributing

If you've ever wanted to contribute to open source, now is your chance!

Please refer to our Contribution Guidelines and Code of Conduct.

License

since whatsapp-bot use baileys is now available under the GPL-3.0 license. See the LICENSE file for more info.


whatsapp-bot's People

Contributors

arugaz avatar allcontributors[bot] avatar epromite avatar mioscape avatar dependabot[bot] avatar dependabot-preview[bot] avatar thesploit avatar tobyg74 avatar alphanum404 avatar msi0072 avatar dutakey avatar zakariasantoso 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.