This is a web app bootstrapped with Next.js to port any Last.fm users most listened tracks into a Spotify playlist. It uses the Last.fm API to fetch music listening data of any specified user and integrates with Spotify Web API Node to generate playlists on a logged-in Spotify account. The authetication is established via NextAuth and I've used Tailwind CSS for styling. The live version is hosted on Vercel.
There are only a few easy steps to generate playlists on a Spotify account.
If you don't have a Last.fm account to fetch the relevant data, search for one of these usernames, to try it out: Heuxone, Brauzepulver.
- Login with your Spotify Account
- Type in a Last.fm username
- Select a period for the top tracks
- Hit Submit & Create Spotify Playlist!