Show your recently played song on Apple Music directly to your GitHub profile
AGPL-3.0 License
Show your recently played song on Apple Music directly to your GitHub profile.
Click Connect with Apple Music
button below to sign in with Apple ID
Themes | Preview |
---|---|
Light | |
Dark |
You're going to have Apple Developer membership in order to gain access to Apple Music API. You're going to create following...
After key downloaded, copy .env.exmaple
into .env
and change variable values appropriately.
APPLE_KEY_ID
: ID of the downloaded keyAPPLE_PRIVATE_KEY
: Private key content of the downloaded keyAPPLE_TEAM_ID
: Team ID of your Apple Developer membershipIRON_SECRET
: Random salt nessesary for encrypting authentication tokenDATABASE_URL
: (Optional) Connection URLs of Postgres database. Optional if you're developing locally with provided docker-compose.yml
Then, get yourself [Docker] and spining up database server with following command.
# Create and start database
docker-compose up -d postgres
# Stop and remove database when finished
docker-compose down
And now you're able to start development server.
Be aware!!! Apple Services might not played well with HTTP protocol but it's very unlikely.
pnpm dev
Unlike Spotfy API where you can identify user by uid, Apple Music API does not provide any possible way to identify users which will make impossible for one deployment to be used by many people.
Yes
You can make your own theme card, and send a pull request to this repository. Please refer to contribution guidelines
It possible that connected Apple Music session is already expired. You can reconnect your card by complete linking process once again.
This project is heavily inspired by spotify-github-profile from Kittinan