Giter Site home page Giter Site logo

zachomedia / apple-music-webplayer Goto Github PK

View Code? Open in Web Editor NEW
594.0 16.0 77.0 2.63 MB

Web player for Apple Music (using MusicKit JS)

Home Page: https://music.zacharyseguin.ca

License: MIT License

JavaScript 31.64% HTML 0.93% Vue 66.78% CSS 0.28% SCSS 0.37%
apple-music webplayer web-player musickit-js

apple-music-webplayer's Introduction

Apple Music Web Player

music.zacharyseguin.ca

This is a web player for Apple Music using MusicKit JS.

Apple and Apple Music are trademarks of Apple Inc., registered in the U.S. and other countries.

Features

* denotes features only available when signed into Apple Music.

  • Access to the entire Apple Music library
  • Access to your personal Music Library*

Playback

  • Full track playback*
    • Control volume, shuffle and repeat modes
  • Add songs to the playback queue
  • Full screen player
  • Use keyboard media controls to play/pause, skip track and return to previous track (browser must support Media Session)
  • Notifications when the track changes (can be disabled if not desired)

Discovery

  • Top charts
  • For you*
  • Recent*
  • Search both Apple Music and your Library*

Library management

  • Add playlists, albums and songs to your library*
  • Add songs to playlists (new or existing)*
  • Love and dislike songs*

Screenshots

Screenshot: Playlist

Screenshot: Top charts

Screenshot: Full screen player


Development

This web player is written using Vue.js.

Getting started

git clone https://github.com/zachomedia/apple-music-webplayer.git
cd apple-music-webplayer

# Install dependencies
npm install

# Add the private settings
cp src/private.js.sample src/private.js

# Add your Developer Token to src/private.js
#  To generate one, see below.

# To run a local development instance
npm run serve

# To build the app (to dist folder)
npm run build

Generating an Apple Music Developer token

Apple's official documentation provides a base, and then you can visit Creating an Apple Music API Token for a great guide on how to generate the token.

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.