Skip to content

Latest commit

 

History

History
109 lines (74 loc) · 3.09 KB

README.md

File metadata and controls

109 lines (74 loc) · 3.09 KB

Slickr

Find songs on Telegram, like on Shazam... 😎

Open on telegram · Report Bug · Request Feature

Melissa Songs licence Melissa Songs forks Melissa Songs stars Melissa Songs issues Melissa Songs pull-requests

⬇️ 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.

  1. Get the token from @BotFather

  2. Insert your token in the .env file

    TOKEN = "INSERT_YOUR_TOKEN_HERE"
    VOICE_DIR=tg_voices/
    AUDIO_DIR=tg_audios/
  3. Start the bot

    python bot.py

🟪 Deploy on Heroku

Deploy

📷 Screenshots

  1. The \start command

Screenshot

  1. Search songs with music snippets like in Shazam

Screenshot

  1. Search songs with title. eg: \music Alan Walker -Zombie

Screenshot

Meta

I made this banner using saviomartin's Slickr tool.