An awesome Platform for listening songs.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
There are many great applications available on GitHub, however, this can be counted as one them.We wanted to create a application just so amazing that it'll be same as spotify but with python and firebase which is hell of a task.
Here's why:
- We needed hands on practice on python.
- We wanted to get an idea of creating open-source projects. /play heygirl
- We wanted to explore about the Firebase and online streaming content. 😄
A list of commonly used resources that I find helpful are listed in the acknowledgements.
I am only listing the main things which are needed for this rest you can see inside the requirements.txt
First of all you will need a database of your own which should be created in firebase , we created out database with cloud-firestore you can use whichever database you want, we recommend Firestore. This the Database structure.
[
Tracks : [
{
"Language" : (String),
"artist" : (String),
"genre" : (String),
"like_count" : (Integer),
"location" : (String [ Url of the track ]),
"title" : (String)
}
],
artist : [
{
"name" : (String),
"image_url" : (String [ Url of the image ]),
}
],
genres : [
{
"genre_name" : (String),
"genre_image" : (String [ Url of the image ]),
}
],
languages : [
{
"language_name" : (String),
"language_image" : (String [ Url of the image ]),
}
],
users : [
Liked_songs : [
Track_object
(as mentioned above)
]
{
"display_name" : (String),
"email" : (String),
"email_verified : (boolean),
"password" : (String),
"verification_code" : (String),
}
]
]
After this add Data to your database and then integrate your database with by service_key.json generated by Firebase.
Post this you need to run the following command in the same directory in the Terminal or command prompt.
pip install -r requirements.txt
If you have made it so far then you are genius enough to make your own application. Now run
python main.py
and ka-boom!! 👏
- Python
- Firebase admin-sdk
- and some libraries
1.Generate youre sevice key account 2. Clone the repo
git clone https://github.com/your_username_/Project-Name.git
- Install packages
pip install -r requirements.txt
- Enter your API in
config.py
cred = credentials.Certificate("Database/YOUR_SERVICE_KEY.json")
and place service key in the database directory.
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
AmplifyTeam - Mail - amplifyteam1234@gmail.com
Project Link: https://github.com/Srajan1122/TK-Player