Reimplement Last.fm, minor design improvements #2

Merged
GivFNZ merged 2 commits from aidan/my-website:main into main 2025-04-23 18:55:49 +00:00
Contributor

Giv,

I have implemented lastfm-last-played, an API I used to use for my website, into the LastFM client-side API. This is safer because it does not require an API key be exposed to the client, and the user does not need to set an API key to see your status.

You might want to self-host this API if you get a lot of traffic because I used the author's API endpoint for requests.

No environment variables are required anymore either, and your username is hard-coded into the API. I updated the documentation to show this as well.


I've also made some design changes to the header. I think the hamburger icon displays better on mobile with the larger size, so I have changed that. The sidebar title ("Giv's Website") now looks different than the other links. A new component for this has been made, too.

I hope you like the changes I have made!

Next Steps

I am not sure the Last.fm features work 100%, so please test and make sure it works when you are playing music, and when you aren't playing music. Some tweaks might have to be made, but I cannot test as much because I don't use Last.fm anymore.

Make sure it works how you like it :)

**Giv,** I have implemented [lastfm-last-played](https://github.com/biancarosa/lastfm-last-played), an API I used to use for my website, into the LastFM client-side API. This is safer because it does not require an API key be exposed to the client, and the user does not need to set an API key to see your status. You might want to self-host this API if you get a lot of traffic because I used the author's API endpoint for requests. No environment variables are required anymore either, and your username is hard-coded into the API. I updated the documentation to show this as well. --- I've also made some design changes to the header. I think the hamburger icon displays better on mobile with the larger size, so I have changed that. The sidebar title ("Giv's Website") now looks different than the other links. A new component for this has been made, too. I hope you like the changes I have made! ## Next Steps I am not sure the Last.fm features work 100%, so please test and make sure it works when you are playing music, _and_ when you aren't playing music. Some tweaks might have to be made, but I cannot test as much because I don't use Last.fm anymore. Make sure it works how you like it :)
aidan added 2 commits 2025-04-23 15:28:36 +00:00
aidan requested review from GivFNZ 2025-04-23 15:28:36 +00:00
GivFNZ merged commit 663bc1c6bd into main 2025-04-23 18:55:49 +00:00
Sign in to join this conversation.
No Reviewers
No Label
No Milestone
No project
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: GivFNZ/my-website#2
No description provided.