Giter Site home page Giter Site logo

spotify-remote-1's Introduction

spotify-remote — Control Spotify from the browser

Build Status

Synopsis

spotify-remote allows you to control Spotify from a browser. Currently it works by talking to Spotify via its AppleScript interface, so only OS X is supported at the moment.

RIP MCA

Aim

spotify-remote tries to be a lightweight client-server solution for controlling your Spotify, being as battery-friendly and mobile-friendly as possible.

One of the major issues regarding performance at the moment is the usage of AppleScript to poll the Spotify client. The aim is to either optimize the usage of AppleScript to shrink its CPU consumption or find a different solution altogether.

Installation

  1. Install Node.js

  2. Install spotify-remote in a shell:

    $ npm install -g spotify-remote
    

Update

$ npm update -g spotify-remote

Starting and using spotify-remote

  1. Make sure Spotify is running.

  2. Start the spotify-remote server in a shell:

    $ spotify-remote
    
  3. Open http://localhost:3333 in your browser

If you need a different port, just use the PORT environment variable:

$ PORT=1337 spotify-remote

Credits

Todo

This thing is work in progress and the result of a hack day. It's working relatively well, but of course there's a lot to do. Things that come to mind are:

  • Linux support (Spotify is supposed to have a DBUS-Interface)
  • Windows support (if anyone is up to it)
  • Make it even more battery friendly
  • Test & fix on Android devices
  • Play arbitrary tracks
  • Playlist support (as in: see the current track in the playlist)

Contributing

To get started with spotify-remote development, install it locally:

$ git clone https://github.com/rmehner/spotify-remote.git
$ cd spotify-remote
$ npm install -g grunt-cli
$ npm install
$ npm start
$ open http://localhost:3333

To run jshint and the test suite, do the following:

$ npm test

Pull requests are very welcome: hack away and contribute! If you need any help, don't hesitate to ask!

License

MIT, see LICENSE

Spotify is a registered trademark of Spotify Ltd. spotify-remote is in no way affiliated with Spotify, we're just a little tool sitting on top of the Spotify.app and their webservices.

We come in peace.

spotify-remote-1's People

Contributors

rmehner avatar mrnugget avatar mbesser avatar

Watchers

James Cloos avatar Stefano Gargiulo 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.