😎
Find songs on Telegram, like on Shazam... Open on telegram · Report Bug · Request Feature
⬇️
Installation
To get a local copy installed and working, follow these steps:
-
Clone this repository
git clone https://github.com/joaroque/MelissaSongs.git
-
Enter the project folder
cd melissaSongs
📦
Install dependencies
Note: use pip install -r requirements .txt
to install all dependencies.
-
Install pyTelegramBotAPI framework
pip install pyTelegramBotAPI
-
Install youtube-dl
pip install youtube-dl
-
Install youtube-search-python
pip install youtube-search-python
-
Install shazamIO
pip install shazamio
🚀
Setup the bot
The bot messages are in Portuguese, I have not yet implemented an i18n middleware to handle the translations, but if you want to change it, access the
/utils/messages.py
file.
-
Get the token from @BotFather
-
Insert your token in the
.env
fileTOKEN = "INSERT_YOUR_TOKEN_HERE" VOICE_DIR=tg_voices/ AUDIO_DIR=tg_audios/
-
Start the bot
python bot.py
🟪
Deploy on Heroku
📷
Screenshots
- The
\start
command
- Search songs with music snippets like in Shazam
- Search songs with title. eg:
\music
Alan Walker -Zombie
Meta
I made this banner using saviomartin's Slickr tool.