/NovaMusic

A music sharing telegram robot using Redis (PostgreSQL in new version) database and Telebot python library.

Primary LanguagePythonCreative Commons Zero v1.0 UniversalCC0-1.0

Summary

NovaMusic is a music sharing robot. Users can get music and music lyrics using inline queries.
Users can send music to robot and robot saves the music in the database.
This is how music database grows up.
I used Redis nosql database (postgresql in new version) in this project.
You can create a free Redis online database, use this link.

Plans

  • Create lyricsfreak.com API Done -> LyricsFk

Setting up things

Environment

Create a file named .env in the directory and add all the variables there. An example of .env file:

BOT_TOKEN = bot token
SUDO = sudo chat id
BOT_USERNAME = robot username
DB_HOST = db host
DB_DATABASE = db name
DB_USER = db user
DB_PASSWORD = db pass

Commands

  1. pip install -r requirements.txt
  2. python bot.py