Currently artist cards show track and album names as plain text with no way to actually listen to them. Adding external search links would let users immediately look up any artist, track, or album across music platforms without needing any API keys.
What needs to be done:
- Add search links for each artist, track, and album
- Links should open in a new tab
- Suggested platforms to cover:
- Spotify
- YouTube
- SoundCloud
- Last.fm
Implementation:
No API keys needed. Just construct search URLs using the artist/track name:
const links = {
spotify: `https://open.spotify.com/search/${encodeURIComponent(query)}`,
youtube: `https://www.youtube.com/results?search_query=${encodeURIComponent(query)}`,
soundcloud: `https://soundcloud.com/search?q=${encodeURIComponent(query)}`,
lastfm: `https://www.last.fm/search?q=${encodeURIComponent(query)}`
}
Files to edit:
app/page.jsx — artist card UI only, no backend changes needed
Currently artist cards show track and album names as plain text with no way to actually listen to them. Adding external search links would let users immediately look up any artist, track, or album across music platforms without needing any API keys.
What needs to be done:
Implementation:
No API keys needed. Just construct search URLs using the artist/track name:
Files to edit:
app/page.jsx— artist card UI only, no backend changes needed