28
submitted 1 year ago by illi@lemm.ee to c/piped@feddit.rocks

So I mostly transitioned to Piped and ever since I was wondering how it works. I read up on it and while I get what it says, I still don't feel like I really understand...

you are viewing a single comment's thread
view the rest of the comments
[-] ChaoticNeutralCzech@feddit.de 35 points 1 year ago* (last edited 1 year ago)

Someone wrote open source code that can play or download YouTube videos by pretending to be a user on youtube.com.
They used it to make a user-friendly player in JavaScript. (It probably also needs to pipe some requests through a backend server to fool YouTube into thinking that the requests do come from youtube.com, look up CORS: this is probably where the name comes from)
They figured out how your browser, while showing youtube.com, communicates with YouTube's backend servers to get search results, recommendations etc.
They eventually recreated pretty much the complete functionality of youtube.com (and then some).
So you can go to their site, piped.video, and play YouTube videos in a friendlier interface.
They knew they could be taken down so they encouraged other people to host their own copies of the website, known as “instances”. These operate independently but run source code from the same repository. If one is too overwhelmed with users, they can switch to another. If you have a server, you can host your own.

[-] illi@lemm.ee 4 points 1 year ago

Makes things much clearer, thanks!

this post was submitted on 17 Oct 2023
28 points (100.0% liked)

Piped

458 readers
1 users here now

An alternative privacy-friendly YouTube frontend that is efficient by design.

https://github.com/TeamPiped/Piped

founded 1 year ago
MODERATORS