https://github.com/deiga/spotilist
Web service to take Spotify URI's and display the palylists contents or the song, etc.
https://github.com/deiga/spotilist
Last synced: about 1 year ago
JSON representation
Web service to take Spotify URI's and display the palylists contents or the song, etc.
- Host: GitHub
- URL: https://github.com/deiga/spotilist
- Owner: deiga
- Created: 2012-08-08T07:07:21.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2025-04-14T19:43:59.000Z (about 1 year ago)
- Last Synced: 2025-04-14T20:37:15.684Z (about 1 year ago)
- Language: Ruby
- Homepage: https://spotilist.herokuapp.com/
- Size: 1.23 MB
- Stars: 1
- Watchers: 2
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Spotilist (0.5.5)
=========
[](https://codeclimate.com/github/deiga/Spotilist)
Web application to display Spotify contents based on URI's.
It uses [Hallon](https://github.com/Burgestrand/Hallon), [libspotify](http://developer.spotify.com/en/libspotify/overview/) (through Hallon)
and [Sinatra](http://www.sinatrarb.com/)
It allows you to browse objects pointed to by Spotify URIs. All pages have a "Go to" box that allows you to paste in a Spotify URI to
view details about it.
## How to get it running
You’ll need your Spotify Premium Account credentials and a [Spotify Application Key](https://developer.spotify.com/technologies/libspotify/keys/).
Now, put all your credentials in your environment variables:
export SPOTIFY_USRNM='your_username'
export SPOTIFY_PWD='your_password'
Your application key needs special consideration, since it may contain special characters. It needs to
be encoded into base64 before putting it in the environment variable. Luckily, there is a ruby script
in `bin/serialize_appkey.rb` that will do this for you.
export SPOTIFY_APPKEY="$(ruby bin/serialize_appkey.rb /path/to/appkey.rb)"
After this, you’ll want to download the dependencies:
- Ruby 1.9.2+
- [Bundler](http://gembundler.com/)
Finally, install all gems required for your platform by using bundler.
bundle install
Now, you should have all dependencies.
## Running it locally
bundle exec rackup
Done. Open it in your browser on `http://localhost:9292`.