42

GitHub - phandd/spotless: Too lazy to navigate to Spotify when you want to chang...

 5 years ago
source link: https://github.com/phandd/spotless
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

spotless

Spotless is a Chrome extension allows you to control your Spotify player, search and play music by calling Spotify API.

spotless_demo

Installation

The extension is available on Chrome Store

Getting started

You can download the packed .crx version to install to your Chrome browser or build one yourself.

To use packed version:

  • Download .crx from release, open the Extension menu from your Chrome browser and drag spotless.crx to install the extension.

To build the extension:

git clone https://github.com/phandd/spotless

navigate to project directory and install dependencies:

npm install

build the extension:

npm run build

The built version will be placed at /dist. All you need to do is add the extension manually to your Chrome browser:

load_extension

then you're good to go!

Usage

  • This extension only compatible with Spotify web app and desktop app. It also requires you to login to Spotify on web app to be able to use your cookies.
  • You need at least one available device running Spotify (either web app player or desktop app player) to use the extension, which makes sense, you wouldn't be able to listen to music if you don't have any device openning Spotify, the extensions cannot play music itself, it's a controller.
  • Controlling mobile device is a feature for Spotify Premium users, this extensions will not work with mobile device unless you're Spotify Premium user.

Tech stack

  • ReactJs, ReduxJs, normalizr, reselect for Web app
  • Webpack for build cli
  • Babel for ES6 syntax
  • react-chrome-redux for running a Reactjs app as an extension

and more, please check package.json.

For ReactJs Web app source code only, please checkout src branch.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK