Skip to content

timfuhrmann/spotify-web

Repository files navigation

Last Update: 12.10.2022

Check it out: https://demo-spotify-web.vercel.app/ - since this isn't a public application, you need a Spotify developer account to be able to access this demo.

This is not a 1:1 clone. Due to api restrictions and time reasons, some features haven’t been implemented at all, differently or not thoroughly.

Preview

Known issues

  • Spotify Connect: Since there is no access to a websocket whatsoever, the application uses invalidating and refetching queries in the right moments to update the active track - this is far from perfect, which is why I force playing on this device when any other device is active.
  • Active Track: Sometimes a track is not being highlighted even though it is playing. The web sdk occasionally plays a different version of the song that was requested which results in a mismatch of the track's uri.
  • Mobile Support: The web sdk's mobile support isn't great yet, which is why this demo is not optimized for mobile usage.
  • Repeat track

Preview Playlist

Getting Started

Run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

About

A Spotify Web "clone" built with Next.js covering most of its features.

Topics

Resources

Stars

Watchers

Forks

Languages