/le-hacksheave

A music suggestion algorithm

Primary LanguageClojure

Le Hacksheave

Setup

env.edn needs to exist in current directory with the following content:

{:lastfm
 {:api-key "..." ;; https://www.last.fm/api/account/create
  :user "jpegaga"
  :min-playcount 5
  :start-from-page 20}}

Also, initiate the Sqlite3 DB file:

sqlite3 hacksheave.sqlite3 < src/hacksheave/sql/setup.sql

Usage

Populate the database:

lein run scrape

Now, to pick a random album:

lein run pick