Giter VIP home page Giter VIP logo

apple-music-readme's Introduction


Apple Music Card

A card to show random album from your recents in Apple Music Library



Table of Contents
  1. About The Project
  2. Getting Started
  3. Contributing
  4. License

About The Project

I came across multiple projects which displayed your recently songs on your GitHub readme but found none for Apple Music. Since the Apple Music API kit is paid, I found an easy hack to get the recently added albums to Apple Music library for free.

If you want to use this project, just follow the steps below

(back to top)

Getting Started

You will need two things to set-up this project for your own GitHub readme:

  • Apple Music Account
  • Vercel Account
  • A web brower (with dev tools)

Setting Up

  1. Fork the repo

  2. Login to Apple Music in a broswer

  3. Open Dev Tools and switch to the Network Tab. Select Fetch/XHR filter

  4. Click on the Recently Added section in the side navbar

  5. From the request headers, copy and keep the values of these keys for future use:

  • Cookie
  • Authorization
  • media-user-token

  1. Head to https://vercel.com and Login/Signup

  2. Goto Add New -> Project -> Continue with GitHub

  3. Select the forked repo from the list of repositories

  4. In the configure project section, add the Environment Variable as follows with values from step 5

  • Cookie: Cookie
  • AUTH_TOKEN: Authorization
  • MEDIA_USER_TOKEN: MEDIA_USER_TOKEN
  1. Click deploy ๐Ÿš€

  2. In your GitHub readme, add the card using the following tag:

<img src="https://DOMAIN_OF_YOUR_VERCEL_APP.vercel.app/?">

Note: DO NOT FORGET TO ADD THE '/?' IN THE END OF THE URL

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  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

(back to top)

License

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

(back to top)

apple-music-readme's People

Contributors

radioactive11 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.