2019-05-08 20:37:44 -04:00
2019-05-08 20:37:44 -04:00
2019-05-08 20:36:42 -04:00
2019-04-07 11:25:50 -04:00
2019-05-08 20:37:44 -04:00
2019-04-07 11:25:50 -04:00
2019-04-07 13:53:19 -04:00
2019-04-07 11:25:50 -04:00

music-graph

CodeFactor Build Status

wip

Data import from MusicBrainz & Last.fm

# Download latest database dump
./get_musicbrainz_dump.sh

# Convert to .csv
python convert_mb.py

# Generate scraping tasks for task_tracker_drone (See notes)
python generate_scrape_tasks.py

# Apply last.fm data to artist.csv
python patch_artists_with_lastfm.py "/path/to/lasfm_data.db"

# Expose generated .csv data to the network
cd repo/
python -m http.server 9999

# On the machine where neo4j is installed:
./import.sh

task_tracker setup:

Last.fm api calls are queued to task_tracker, and results are gathered by a task_tracker_drone (script).

Project secret:

{
	"apikey": "<Your Last.fm api key>",
	"user": "<Your Last.fm username>"
}

Api setup

See music-graph-api for setup instructions.

Languages
JavaScript 76.3%
Vue 23%
HTML 0.5%
Dockerfile 0.2%