Skip to content

ADI-KOTKAR/Amplify

Repository files navigation

Contributors Language Activity Version Forks Stargazers Issues MIT License


Logo

Amplify

An awesome Platform for listening songs.
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents

About The Project

image

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.

Built With

I am only listing the main things which are needed for this rest you can see inside the requirements.txt

Getting Started

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!! 👏

Seems Godlike!

Prerequisites

  • Python
  • Firebase admin-sdk
  • and some libraries

Installation

1.Generate youre sevice key account 2. Clone the repo

git clone https://github.com/your_username_/Project-Name.git
  1. Install packages
pip install -r requirements.txt
  1. Enter your API in config.py
cred = credentials.Certificate("Database/YOUR_SERVICE_KEY.json")

and place service key in the database directory.

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

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.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contributors

Contact

AmplifyTeam - Mail - amplifyteam1234@gmail.com

Project Link: https://github.com/Srajan1122/TK-Player

Acknowledgements

About

Spotify clone using Python Tkinter GUI and Firebase.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages