Coder Social home page Coder Social logo

emharsha1812 / boilthefrog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from plamere/boilthefrog

0.0 0.0 0.0 18.85 MB

Creates seamless Spotify playlists between just about any two artists.

Python 46.73% CSS 4.45% JavaScript 0.54% HTML 48.28%

boilthefrog's Introduction

Boil The Frog

This is the source for a web app called BoilTheFrog that creates seamless Spotify playlists between any two artists. The app uses data from the Echo Nest and Spotify to create the playlists.

The app is online at Boil The Frog

The Server

Boil the Frog has a server component that provides a web API used by the app. The web API has two main entry points:

  • find_path - finds a path between two artists
  • similar - shows the similar artists for an artist

The server relies on pre-crawled artist similarity data from the Echo Nest and song data (including links to album art and audio previews) from Spotify. There are two python scripts that gather this data:

  • crawl_graph.py - crawls the artist similarity data. It takes 12 to 24 hours to crawl the data for about 100 to 150K artists.

  • sp_songs.py - crawls the top songs for each artist from Spotify. This takes about 12 hours to run.

The output data from these two scripts are loaded by the server and used to build a graph (via networkx) that is used to satisfy the find_path requests.

The server relies on cherrypy and networkx.

The Web App

The web app is a relatively simple app that solicits artist names from the user, calls the find_path method on the server to get the path and displays the path to the user. The web audio api is used to manage playback. The playlist can be saved to Spotify if the user allows it. The authentication code is based on this example.

boilthefrog's People

Contributors

plamere 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.