Coder Social home page Coder Social logo

spoqify's Introduction

Spoqify

Spoqify logo

Spotify playlist anonymizer.

Spotify heavily personalizes auto-generated playlists like Song Radio based on the music you've listened to in the past. But sometimes you want to listen to Song Radio precisely to hear some fresh songs outside of your habitual listening realm!

Spoqify is an MIT-licensed dead-simple service that allows you to access Spotify playlists like an anonymous user. When looking at a Spotify playlist, just replace the t in spotify.com with a q, so that your address bar reads https://open.spoqify.com/..., then hit Return and you will be forwarded to an anonymized version of that playlist.

Alternatively, use the form at spoqify.com.

Hacking

To run Spoqify locally, follow these steps:

  1. Create and activate a virtual environment: python -m virtualenv .venv && source .venv/bin/activate
  2. Install Spoqify's requirements: pip install -r requirements.txt
  3. Copy .env-example to .env and replace the variable values with your app and user credentials (you can see the Spotify Client ID and Secret at your app dashboard, and your Spotify User ID in the URL of your Spotify profile)
  4. Run QUART_APP=spoqify.app:app python -m quart init and follow the instructions to authenticate your Spoqify instance against Spotify (this should only be necessary once)
  5. Start the development server via python -m spoqify
  6. You should now be good to go! Try running this command: curl http://localhost:5000/anonymize/37i9dQZF1E8GPlttUvOQfg
  7. If you want to play around with the "user interface", modify the files in the docs folder, replacing open.spoqify.com with localhost:5000 (or your own domain if you have publicly deployed your Spoqify instance), and adjust the Access-Control-Allow-Origin value in spoqify.routes.anonymize() to null (if you open your files locally) or your domain (if set up) or * (if you can't be arsed to figure out the correct setting ;))

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.