mirror of
https://github.com/simon987/music-graph-ui.git
synced 2025-04-10 14:06:41 +00:00
music-graph
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%