Skip to content
/ music Public

Aggregate data about music we listen. Updated every five seconds.

Notifications You must be signed in to change notification settings

landsman/music

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

music

Better Stack Badge

The purpose of this project is to store data about the music I listen to in my own database and to query it using SQL. I also want to have fun while learning more about Supabase native features.

Currently, I am downloading all historical data from my Last.fm profile using its API to PostgresSQL via Edge Functions and the built-in cron extension, which run every 5 minutes and download 500 items.

Roadmap

  • download and sync listened tracks from Last.fm every 5 minutes
  • fetch tags from last.fm to downloaded tracks: https://www.last.fm/api/show/track.getTags
  • connect to spotify api, find track links to play them
  • fetch detailed info about artists from last.fm or spotify
  • fetch detailed info about albums from last.fm or spotify

Tools