Telegram bot for Shazam
DEMO: https://t.me/shazagram_bot
Features:
- Recognize music from an audio/video file (.mp3, .mp4, .webm).
- Recognize music from YouTube video (you can send a link with current time parameter as well).
FFmpeg
sudo apt update
sudo apt install ffmpeg -y
sudo apt-add-repository ppa:marin-m/songrec -y -u
sudo apt install songrec -y
sudo apt install build-essential libasound2-dev libgtk-3-dev libssl-dev -y
It can be useful to install ngrok as well
Create .env
file in project's root directory and populate it
API_URL=http://localhost:5000
PORT=5000
TELEGRAM_API_TOKEN=...
Then, run
yarn run build && yarn run start
or
yarn run start:dev
The Unlicense