Info | Technologies | How to | Functionalities | Contribute | License
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
This project was developed following this technologies:
- ytdl
- eslint
- ffmpeg
- Prettier
- Node.js
- VS Code
- Typescript
- YouTube Search
- QrCode Terminal
- Whatsapp WEB js
To clone this application you will need Git + Node.js v16 or higher + Yarn v1.22.4 or higher installed in your computer. Run in terminal:
# 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:
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)
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
- New error handling
- Redesigned music cache
- 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!
This project is under MIT license. See LICENSE for more information.
Made with 💙 by Victor Eyer 👋 Get in touch!