Live data from Hacker News

Show HN: Lofi.cafe

lofi.cafe

111–120 of 237 posts

Re: Show HN: Lofi.cafe

#111

Earlier quoted context omitted.

Looks like it is, if I remove the 4 gifs stacked on top of each other CPU usage drops massively.

If it's only a few frames you might be able to arrange them vertically in a PNG and animate background-position to get the same effect for cheaper. Correction: you want to use transform to force creation of a new rendering layer, then when adjusting the rendered position of the element using transform will not cause a repaint.

Ouch. What's wrong with APNG?

https://caniuse.com/apng

Re: Show HN: Lofi.cafe

#112

I love that these type of apps are popping back up. However, I fear that the RIAA is going to ruin all the fun like they've done in the past. I used to run a site in which we just played random music with no ads/no revenue. We still got a cease and desist letter giving us no choice but to shut it down. I get why they exist, but they are more about stomping out sites rather than working them to figure out a path that…

Is there some way to limit streamed music to stuff that has a suitable license? I'm thinking specifically of Creative Commons stuff.

Or couldn't you make a front end that pulls audio from Spotify or some other paid service? I want to see ideas like this flourish and support artists.

Re: Show HN: Lofi.cafe

#114

Anyone know why this type of music is called as "LoFi HipHop", it does not sound particularly lofi or hiphop..

For the "Lo-fi" part, I was going to write an explanation, but the first few paragraphs of https://en.wikipedia.org/wiki/Lo-fi_music explain it better than I would have.

Re: Show HN: Lofi.cafe

#115

Anyone know why this type of music is called as "LoFi HipHop", it does not sound particularly lofi or hiphop..

Have you ever heard of Nujabes? He has a similar sound.

This sound goes back to the early aughts when it had it's roots in underground hip hop.

Re: Show HN: Lofi.cafe

#116
post #97
post #92

Earlier quoted context omitted.

I guess that's when you double down and just scrape Invidious[1] for the audio files. edit: The Firefox extension "Privacy Redirect"[2] also uses Invidious to automatically redirect all youtube links, and does similar things for pages like reddit and twitter to their respective "mirrors". [1]: https://docs.invidious.io/Invidious-Instances.md [2]: https://addons.mozilla.org/en-US/firefox/addon/privacy-redir...

Wow, I had no idea about Invidious. This perfectly solves my use case of needing a REST API to get MP3 urls for YouTube videos. I was looking into building or finding a REST API for youtube-dl, but this seems a lot easier.

The mirrors frequently go offline from being blocked though, so it may be easier to rely on youtube-dl depending on how likely it is that you will be rate-limited.

You could of course also try and set up your own, private Invidious instance and see what mileage you get from that.

Re: Show HN: Lofi.cafe

#117
Nicely done. Reminds me of an idea I think would be really cool, a site sort of like tiktok, but instead of focusing on original content, it focused on letting you find interesting video clips to pair with your own music. Sort of like how spotify has gifs now, except you could customize them for your own music and share them with others.

Re: Show HN: Lofi.cafe

#118
post #24

Earlier quoted context omitted.

Ouch you're totally right. I want to add an option to have static JPGs instead of GIFs. Already added to the backlog.

Video may be cheap, too: h.264 or WebM are relatively low cost on even reasonably modern devices.

Video cheaper than animated gif?

Re: Show HN: Lofi.cafe

#119

Earlier quoted context omitted.

Video may be cheap, too: h.264 or WebM are relatively low cost on even reasonably modern devices.

To go in the opposite direction, if you wanted to add an option for people fine with large CPU/GPU expenditure (i.e., if this were playing on a dedicated TV in an actual café), it might be fun to add a WebGL canvas and make lofi/vaporwave-inspired effects [0]. [0]: http://hands.wtf/rad

Why would you ever target wasting CPU/GPU when better alternatives are available?
Post reply on HN