Giter Site home page Giter Site logo

diyasoor / spotify Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tthn0/spotify-readme

0.0 0.0 0.0 36 KB

A dynamic, customizable, and real-time Spotify now-playing widget for your README files.

Home Page: https://itstommi.vercel.app/api

Python 38.34% HTML 61.66%

spotify's Introduction

Spotify Readme

Badge Badge Badge

A dynamic, customizable, and real-time Spotify now-playing widget for your README files. If you're not currently playing a song, it'll display one of your recent songs! It's width is sized like other common README widgets, so can be uniformly paired (see it in action on my own README). Feel free to ask for help or make any PRs/issues/suggestions ๐Ÿ˜„

Customization Previews

Just add query parameters to the endpoint, there are many possible combinations! (If you're on mobile and your screen is small, please use a desktop browser or change the zoom level to zoom out)

Parameter Default Values
spin false false, true
scan false false, true
theme light light, dark
rainbow false false, true

Default

/api

Preview

Spinning CD Effect

/api?spin=true

Preview

Include Scan Code

/api?scan=true

Preview

Rainbow Equalizer

/api?rainbow=true

Preview

Dark Theme

/api?theme=dark

Preview

Notes

This wasn't a completely original idea. This is my own version of novatorem's project that was supposed to be for me only, but others have asked for the source code so I made this repo. I also incorporated the latest two PR's from the orignal project into this one and made it easy to customize. I also excluded the Hide the EQ bar and Status String customizations (sorry).

Setup

The setup is slightly different from the original. Please refer to this page for the setup, but take notice of these differences:

  • Use the /api endpoint as opposed to /api/spotify
  • The environment variables are different:
    • SPOTIFY_CLIENT_ID โž  CLIENT_ID
    • SPOTIFY_SECRET_ID โž  CLIENT_SECRET
    • SPOTIFY_REFRESH_TOKEN โž  REFRESH_TOKEN

spotify's People

Contributors

bennihtm avatar tthn0 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.