Giter Club home page Giter Club logo

nowplaying-for-spotify's Introduction

Logo

NowPlaying for Spotify

Welcome on my project's GitHub page: NowPlaying for Spotify!

This is a Spotify Connect visualizer, which has had its codebase made in half a day.

This project is licensed under GNU GPL-3.0 license.

Website: nowplayi.ng

Personal Discord account: @busybox#2540

Dedicated Discord server: nowplayi.ng/discord

Tip to me: paypal.me/busybox11

Latest release: 1.6.2

Changelog

v1.6.X

  • Use of localStorage
  • Added GNU GPL-3.0 license
  • Updated Index page design
  • Updated French and English sentences
  • Compatibility with Dark Reader
  • Better UI consistency / CSS tweaks
v1.5.X
- Added playback support (Premium account should be needed)
- Added playback information
- Added pause button (#17)
- CSS improvements added for better responsive (#15 #16)
- SEO improvements (#16)
- Minor CSS improvements
v1.4.X
- Advertisements are recognized
- Multiple artists are recognized
- Experimental theme switcher
v1.3.X
- Now playing device name and type is showing
- Cursor is hidden after a couple of seconds
- Fullscreen button

Regular theme Regular theme

New theme New theme

Coded in:

HTML, CSS, JS, PHP

Used libraries:

Spotify Web API PHP by jwilsson to obtain the token and refresh token, Spotify Web API JS by JMPerez to retrieve and display the currently playing song

Known bugs

  • Podcasts aren't recognized
  • White flash when loading new artwork

Upcoming features

  • OBS source (In progress!)
  • Local players support (coming with localmusic-api)
  • Better config handling (e.g. automatic deployment, HELP WANTED!)
  • Themes (experimental theme / theme switcher since v1.4.3)
  • Chromecast integration

Feature ideas

  • Analytics panel

How to host this?

You can use XAMPP (multi-platform) or Wampserver (Windows only) but any webserver with PHP 7.0 or greater is good to use, with the php-curl module.

What modifications are required?

You should have a declared app in Spotify's developer dashboard to obtain a Client ID.

How to do this: As I said, the first thing is to create a Client ID (Create a Client ID button) on Spotify's developer dashboard. Type your app's name in the App or Hardware name text field, and its description on the App or Hardware description text field. In the What are you building ? section, indicate the platform which you are building the app for, then click on the NEXT button. Answer to the commercial integration question, and continue. If necessary, fill the form and check all the boxes at the 3rd stage and you're ready to go. Your app is declared in Spotify's developer dashboard!

Now that you have your app, you have some modifications to do in two files: login.php and token.php.

Edit those values:

  • YOUR_CLIENT_ID by your Client ID available on your app's panel,
  • YOUR_CLIENT_SECRET by your Client Secret available by clicking on the Show Client Secret button situated on the same webpage as your client ID,
  • YOUR_DOMAIN by your redirect URL, in the case of a local hosting replace it by http://localhost/token.php in most cases. Basicaly, it's the accessible URL for the token.php page.

Let's go back on our app's panel. You need to declare the URL where the token.php page is located, for a local hosting it would be in most cases http://localhost/token.php. Click on the green Edit settings button situated on the top of the page, then in the Redirect URIs text field, indicate yours. ATTENTION: what you typed should IMPERATIVELY be the same as what you wrote in the two precedent files! Then click on the SAVE button on the very bottom of the form. Your app is declared and ready to use!

Credits

Flags by Freepik of the www.flaticon.com website under Creative Commons BY 3.0 license.

Forked repos

NowPlaying Dashboard for Spotify by peterdconradie

nowplaying-for-spotify's People

Contributors

busybox11 avatar quentinlegot avatar 3l0w avatar ionys320 avatar breakdowns avatar victorbnl avatar voxan24 avatar french-noodles 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.