Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mlg404/whatsapp-music-bot

A whatsapp bot to send and search musics to your friends!
https://github.com/mlg404/whatsapp-music-bot

bot bots music music-bot nodejs whatsapp whatsapp-web

Last synced: about 1 month ago
JSON representation

A whatsapp bot to send and search musics to your friends!

Awesome Lists containing this project

README

        


Whatsapp music bot


WhatsApp Music Bot v3


now for Multidevices!


GitHub top language

GitHub language count

Repository size

GitHub last commit


Repository issues

GitHub


Info   |   
Technologies   |   
How to   |   
Functionalities   |   
Contribute   |   
License


Web Gif
Web Gif

## :rocket: Info

Your whatsapp becomes a music bot!. You can send music's to your friend's private conversation or in your gropus just sending `!play SONG_NAME` where SONG_NAME is the name of the song you are looking for!

WARNING: this bot is not hosted. You need to host it by yourself

## :computer: Technologies

This project was developed following this technologies:

- [ytdl](https://www.npmjs.com/package/ytdl-core)
- [eslint](https://eslint.org/)
- [ffmpeg](https://ffmpeg.org/)
- [Prettier](https://prettier.io/)
- [Node.js](https://nodejs.org/en/)
- [VS Code][vc]
- [Typescript](https://www.typescriptlang.org/)
- [YouTube Search](https://www.npmjs.com/package/yt-search)
- [QrCode Terminal](https://www.npmjs.com/package/qrcode-terminal)
- [Whatsapp WEB js](https://pedroslopez.me/whatsapp-web.js/)

## :information_source: How To

https://user-images.githubusercontent.com/120257933/233465324-bfb1df96-51c4-4a02-acdf-25bdb5078e28.mp4

To clone this application you will need [Git](https://git-scm.com) + [Node.js v16][nodejs] or higher + [Yarn v1.22.4][yarn] or higher installed in your computer. Run in terminal:

```bash
# Clone this repo
$ git clone https://github.com/mlg404/whatsapp-music-bot.git whatsapp-music-bot

# Access this repo
$ cd whatsapp-music-bot

# Install dependencies with yarn
$ yarn install

# Run the application with yarn (or npm run dev)
$ yarn start
```



See available langs in `src/language.ts`. Configure your language in `config.ts` file:

```ts
export const LANGUAGE = 'br'; // brazilian portuguese

// or

export const LANGUAGE = 'en'; // english
```

After script run, you need to scan the QrCode in your terminal with your whatsapp! (Same proccess to join whatsapp web)

## :mag_right: Functionalities

See the current features!

- Search a song directly from youtube;
- Songs once searched are downloaded for optimized next searches;
- Send songs in private or in groups;
- Your friends can send the command too;
- You can enable the "Download progress";
- Prevents downloading videos more than MAX DURATION minutes long.
- New command's system
- Help command

## :stars: Upcoming features

- New error handling
- Redesigned music cache

## :busts_in_silhouette: Contribute

- Fork this repository;
- Create one branch with your feature: `git checkout -b my-feature`;
- Commit your alterations: `git commit -m 'feat: My new feature'`;
- Push to your branch: `git push origin my-feature`.

Open a pull request with your branch. After pull request merge, you should delete your branch.


We need some translations too! Look for `language.ts` file! **It's so easy!**

## :memo: License

This project is under MIT license. See [LICENSE](https://github.com/mlg404/whatsapp-music-bot/blob/master/LICENSE) for more information.

---

Made with 💙 by Victor Eyer :wave: [Get in touch!](https://www.linkedin.com/in/victoreyer/)

[nodejs]: https://nodejs.org/
[yarn]: https://classic.yarnpkg.com/lang/en/
[vc]: https://code.visualstudio.com/