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.

27 points

Yes it’s called Invidious.

permalink
report
reply
19 points

Or piped, depending on what you prefer.

permalink
report
parent
reply
4 points

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.

permalink
report
parent
reply
5 points

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.

permalink
report
parent
reply
2 points
*

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.

permalink
report
parent
reply
2 points
*

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.

permalink
report
parent
reply
5 points

https://www.tubearchivist.com/

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

permalink
report
reply
1 point

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.

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply
5 points

Self host invidious maybe?

permalink
report
reply
5 points

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.

permalink
report
reply
3 points

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

permalink
report
reply
2 points

can you explain that or link to the relevant documentation?

permalink
report
parent
reply
2 points
2 points

nice! taking a look. Thank you

permalink
report
parent
reply

Selfhosted

!selfhosted@lemmy.world

Create post

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!

Community stats

  • 4.7K

    Monthly active users

  • 3.2K

    Posts

  • 71K

    Comments