Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arugaz/whatsapp-bot
Whatsapp Bot Multi Device - Node Js - Internationalization
https://github.com/arugaz/whatsapp-bot
bot fastify hacktoberfest hacktoberfest-accepted hacktoberfest2023 nodejs sticker typescript whatsapp whatsapp-bot
Last synced: about 1 month ago
JSON representation
Whatsapp Bot Multi Device - Node Js - Internationalization
- Host: GitHub
- URL: https://github.com/arugaz/whatsapp-bot
- Owner: arugaz
- License: gpl-3.0
- Created: 2020-10-30T05:48:42.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-09-27T02:33:34.000Z (about 2 months ago)
- Last Synced: 2024-09-28T11:22:47.320Z (about 2 months ago)
- Topics: bot, fastify, hacktoberfest, hacktoberfest-accepted, hacktoberfest2023, nodejs, sticker, typescript, whatsapp, whatsapp-bot
- Language: TypeScript
- Homepage:
- Size: 1.09 MB
- Stars: 613
- Watchers: 38
- Forks: 803
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
---
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
- [NodeJS](https://nodejs.org/en/download/) [v16 or greater](https://nodejs.org/dist/)
- [FFMPEG](https://ffmpeg.org/download.html)## Install
### Clone this project
```bash
git clone https://github.com/ArugaZ/whatsapp-bot.git
cd whatsapp-bot
```### Install the dependencies:
```bash
npm install
```### Setup
`Setup prisma`
Create .env file based on .env.example, copy the mongo database URL into .env file
```bash
npx prisma db push
````Build a project`
[Why build into javascript?](https://pm2.io/docs/runtime/integration/transpilers/)
```bash
npm run build
````If you want generate more languages`
It will generate languages based on list [database/languages.json](database/languages.json). You can remove the languages you don't want to use (it will store the object into memory), except ([English (en)](languages/en.json) and [Indonesian (id)](languages/id.json)) because its already generate by default.
```bash
# try this:
npm run generateLang
# if get incompatible error, try run:
npm run generateLangV2
```## Usage
`Run the Whatsapp bot`
```bash
npm start
````With pm2`
If you haven't installed pm2.
```bash
npm install -g pm2
```Run with pm2
```bash
npm run start:pm2
```Other tips with pm2:
> This will start your application when the server is restarted or rebooted.
```bash
# 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](CONTRIBUTING.md) and [Code of Conduct](CODE_OF_CONDUCT.md).
## License
since **whatsapp-bot** use [baileys](https://github.com/adiwajshing/Baileys) is now available under the GPL-3.0 license. See the [LICENSE](LICENSE) file for more info.
---
Join the community to build Whatsapp-Bot together!
Tobi Saputra
π»
ArugaZ
π» π€
Muhammad Kevin
π»
LSystemus-2
π
δΈθΆ
π€