Skip to content
This repository has been archived by the owner on May 2, 2022. It is now read-only.

nadavoosh/hive-mind-playlists

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hive-mind-spotify

This small webserver takes an AskMetaFilter URL as an input, parses the responses to try to identify song recommendations, and searches spotify for those recommendations.

The result is a spotify playlist generated by the ask metafilter post. When the question was actually about songs, this ususally produces a playlist of the right flavor. When the question was about something else entirely, the playlist is too.

Running locally

make install-deps to install the required python packages. You also need to have a youtube API key (you can gneerate one here). Set it with export YOUTUBE_API_KEY=<your-key> Then just run

make run

to start the local flask server.

Tests

make style and make test should work, but I'm behind on enforcing those.