Live data from Hacker News

Show HN: Lofi.cafe

lofi.cafe

161–170 of 237 posts

Re: Show HN: Lofi.cafe

#161
post #108
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...

For anyone else wondering "what the heck is invidious?", from their github[1]: "Invidious is an alternative front-end to YouTube." Cool! But man, classic open source: the front page of those docs says nothing about what the heck the project is, just a list of URLs to visit, and the main website[2] is just an under-construction page with a link to the github repo. 1 - https://github.com/iv-org/invidious 2 - https://in…

Check https://redirect.invidious.io/ and try another Invidious instance.

Re: Show HN: Lofi.cafe

#162
post #39

Haha, I built a super similar thing last year with even a super similar url ( https://lofi.chat )! https://lofi.chat/r/Hacker-news-310e9120 Good vibes only

I tried my hand at something similar using a sleep music themed YT channel and website. Couldn't get things to click. And FB ended up blocking my site on the sharing debugger.

Re: Show HN: Lofi.cafe

#163
Okay no. This is garbage engineering. And yes I mean that - it doesn't get much worse.

It would be better if this wasn't a site you're supposed to stay hours on.

This embeds a YT video that is streaming in HD quality in the background, even though it's only showing me a gif, so it's already murdering my bandwidth to do something we could achieve with 30kb/s nowadays.

But because that isn't enough, this site is enough to get the fans of my laptop going. I'll probably be adding 20s to every bigger recompilation just to listen to music.

Thanks but fuck no.

Re: Show HN: Lofi.cafe

#164

Earlier quoted context omitted.

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.

Unfortunately the only way to get around this is to have agreements in place with independent artists for the site that you could then provide to the RIAA when they come knocking. If you post music by artists signed to a label it's out of the artists' hand even if you attempt to put something in place directly with the artist. The RIAA is aggressive and well funded. Their entire objective is to make sure artists get…

Spotify has a pretty rich API:

https://developer.spotify.com/documentation/web-api/referenc...

Re: Show HN: Lofi.cafe

#165

Okay no. This is garbage engineering. And yes I mean that - it doesn't get much worse. It would be better if this wasn't a site you're supposed to stay hours on. This embeds a YT video that is streaming in HD quality in the background, even though it's only showing me a gif, so it's already murdering my bandwidth to do something we could achieve with 30kb/s nowadays. But because that isn't enough, this site is enough…

Isn't the YT audio quality tied to the video quality? IIRC, if you tier one down, you do the same to the other.

Re: Show HN: Lofi.cafe

#167
post #98

Earlier quoted context omitted.

I think there's a line where it stops being reasonable. If I know every comment on a Show HN is going to be blatant self promotion, I'm not going to view those posts even if the OP is interesting to me.

There are guidelines for what Show HN is supposed to be. This site pretty much fits the bill. https://news.ycombinator.com/showhn.html > Show HN is for something you've made that other people can play with. HN users can try it out, give you feedback, and ask questions in the thread. > On topic: things people can run on their computers or hold in their hands. For hardware, you can post a video or detailed article. For…

Great point. While not everything is appropriate to share in response to someone else's "Show HN" post, I've definitely seen (and appreciated) others linking similar projects. It usually is in the context of saying something like:

- I tried this too, and can appreciate that you solved way harder things than we expected to have to deal with - I had this idea too but like your execution

I think it's very fitting, especially since we are celebrating not just the idea, but the execution that someone did to be able to show it off here.

Re: Show HN: Lofi.cafe

#168
post #108
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...

For anyone else wondering "what the heck is invidious?", from their github[1]: "Invidious is an alternative front-end to YouTube." Cool! But man, classic open source: the front page of those docs says nothing about what the heck the project is, just a list of URLs to visit, and the main website[2] is just an under-construction page with a link to the github repo. 1 - https://github.com/iv-org/invidious 2 - https://in…

Remaining somewhat illegible probably helps the project survive for the benefit of the cognoscenti.

Re: Show HN: Lofi.cafe

#169
post #154
post #9

Those background images could really use some artist attributions.

Can't have contributions when the images likely aren't even under a license that would allow use like this. I guess it's better not to say where they are from and hope people don't notice... The image of the girl lying on the floor is a screencap from the "Whisper of the Heart" movie. I doubt it's licensed. Various "lo-fi" YouTube channels used to do that as well, but got copyright strikes and changed to original art…

[deleted]

Re: Show HN: Lofi.cafe

#170
post #116
post #97

Earlier quoted context omitted.

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.

Yep! I do that and just hand the URL to friends.
Post reply on HN