this post was submitted on 27 Feb 2024
22 points (95.8% liked)

Selfhosted

40347 readers
365 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I am starting to detangle myself from Google and one of the services I use is YouTube.

I learned that piped exists the other day but that is just a front end for Google.

Is there a tool that I can host on my server that will let me give it YouTube links, that will then download/stream to my server and then server to my phone or computer?

I guess I am looking for a tool that will cache my YouTube videos locally and even download my subscriptions when they upload new stuff.

I'm not sure what this buys me that Piped does not, except that I am backing up videos in case they are removed.

all 17 comments
sorted by: hot top controversial new old
[–] tkk13909@sopuli.xyz 27 points 9 months ago (1 children)

Yes it's called Invidious.

[–] crony@lemmy.cronyakatsuki.xyz 19 points 9 months ago (1 children)

Or piped, depending on what you prefer.

[–] Chocrates@lemmy.world 4 points 9 months ago (3 children)

Piped is just a front end and the data is still on Youtube servers right? Honestly that is probably enough but I'll check out the one /u/tkk13909@sopuli.xyz suggested.

[–] Xirup@lemmy.dbzer0.com 5 points 9 months ago (1 children)

That's right, but from a user data perspective, Google does not know that you are the one watching the video, so it cannot sell your data.

[–] Atemu@lemmy.ml 1 points 8 months ago

Depends on how many other users are using the same proxy. If you host piped for yourself using your home internet connection, Google will absolutely know who is watching the video.

[–] unknowing8343@discuss.tchncs.de 2 points 9 months ago* (last edited 9 months ago)

Your plan sounds like exactly what Piped or Invidious are doing, just that you do want to do it yourself, on your server, so it's worse in terms of privacy.

[–] shrugal@lemm.ee 2 points 9 months ago* (last edited 9 months ago)

Piped consists of a frontend, a backend and a proxy. The frontend is the site you see, the backend stores all the data like video information, user accounts and subscriptions, and the proxy loads the videos you watch from YT. The only thing it doesn't do is download and store the videos, it'll always stream them on demand.

[–] ShellMonkey@lemmy.socdojo.com 5 points 9 months ago (1 children)

https://www.tubearchivist.com/

I've liked this one. Let's you subscribe to channels/playlists and download en-masse if your inclined

[–] thejevans@lemmy.ml 1 points 9 months ago (1 children)

This is really cool. I'm still struggling to find a good replacement for my use case. I almost exclusively watch youtube on my Nvidia Shield on SmartTube with sponsorblock.

I do use Jellyfin already and I see there is a Jellyfin plugin. Do you know if Jellyfin gets sponsorblock information as chapters? That would probably be an okay solution, even if it doesn't automatically skip them.

[–] AtariDump@lemmy.world 1 points 8 months ago

Use YT-dlp to download them using the sponsor block flags.

[–] nutbutter@discuss.tchncs.de 5 points 9 months ago

AFAIK, Piped always proxies the videos through a server.

I am more familiar with Invidious. Find an Invidious server that lets you enable proxying. Some examples are yewtu.be, invidious.protokolla.fi and inv.nadeko.net. Then find an RSS app that lets you download the content, as well as supports cookies. Use the invidious server's cookies in your RSS app to proxy the content you download. Invidious servers can provide RSS feeds for individual channels, as well as your complete subscription feed.

And if possible donate a dollar or two, regularly, to the invidious server that you use, since it takes up a lot of bandwidth and motivates the hoster to keep up what they are doing.

[–] JackSkellington@lemmy.world 5 points 9 months ago

Self host invidious maybe?

[–] 2xsaiko@discuss.tchncs.de 3 points 9 months ago (1 children)

PeerTube can do this (yes, out of the box!).

[–] federatingIsTooHard@lemmy.world 2 points 9 months ago (1 children)

can you explain that or link to the relevant documentation?