this post was submitted on 19 Aug 2026
63 points (97.0% liked)

Selfhosted

61578 readers
428 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

I have a headless raspberry PI 4 8GB connected to my TV setup with Kodi and the Jellyfin add-on. Now I would like to have a convenient option to watch Youtube in a privacy-friendly way on the TV.

The experience should be similar to Freetube: creating playlists, search videos, follow subscribed channels. I don't mind running it either directly on the PI or install it on my server.

Thanks for any recommendations of what you folks use!

all 43 comments
sorted by: hot top controversial new old
[–] Treczoks@lemmy.world 2 points 20 hours ago (1 children)

If you have a RPi, install Mozillla Firefox, and Ublock. The only way to watch YT without going nuts.

[–] justme@lemmy.dbzer0.com 1 points 2 hours ago

the problem here is the control with tv remote, but afair there is an Firefox again that can fix this

[–] ratzki@discuss.tchncs.de 1 points 20 hours ago

Supertube on a fire stick works ok.

You could try this setup. Create a seperate network for TV with no internet (you might need a seperate rj45 connector on PI), then run microsocks proxy on pi (microsocks is super lightweight, and this will be using your other rj45 or wifi with internet), next install smarttube on TV and add your local proxy. You will need to create an exception in your firewall to allow connections to microsocks and block everything.

This way, nothing on your TV should have internet access other than any app you add that can accept a proxy.

If you don't care about your TV spying on you, skip all this and just install smarttube on TV and use it.

Note: I just realized pi already has a wifi and an ethernet connection so you won't need to buy another usb-to-rj45, so use one interface for no-internet-except-microsocks network, and use the other for normal one.

[–] turkalino@sh.itjust.works 38 points 2 days ago (3 children)

If you have an Android TV device, SmartTube is fantastic. It’s highly configurable and blocks ads out of the box

[–] postman@literature.cafe 11 points 2 days ago (1 children)

I'm terrified some day it'll stop working and I'll have to go back to regular YouTube!

[–] SuspiciousCarrot78@aussie.zone 2 points 1 day ago (1 children)

I actually wonder sometimes how it's survived this long.

There are ... alternative methods. Fiddly, you have to roll your own, added frustration... but it could be done. Though I hope I never have to.

OTOH, it's a bit like hydra - cut one head off, three more appear. Until google fully locks down YouTube (and they might), there will always be wiggle room.

Honestly, I think they know that if they get too annoying, everyone will go elsewhere, so they are boiling the frog slowly. I'd bet Smarttube, Revanced, PipePipe etc are the Zion to YouTube's Matrix - allowed to exist as a pressure release valves.

[–] SpatchyIsOnline@lemmy.world 3 points 1 day ago

I actually wonder sometimes how it's survived this long

So I've been involved with the repo a little (just some basic issue triage and documentation stuff) and all I can say is that Yuliskov has made that project his life's work. If anything happens to him, we're all screwed!

[–] scrooge101@lemmy.ml 3 points 2 days ago (2 children)

I have an LG with WebOS which is also not connected to the internet. So that's unfortunately not an option.

[–] dan1101@lemmy.world 7 points 2 days ago* (last edited 1 day ago) (1 children)

Buy a $20 Android TV box from Walmart and install Smarttube on it.

[–] Samiaouuu@jlai.lu 2 points 1 day ago (2 children)

He wants privacy from YouTube, pretty sure that he doesn't want Walmart to steal his data either

[–] SpatchyIsOnline@lemmy.world 1 points 1 day ago

There is an ATV LineageOS image available for the 2021 Onn for anyone who wants to go that route https://wiki.lineageos.org/devices/dopinder/

[–] dan1101@lemmy.world 1 points 1 day ago (1 children)

Walmart doesn't make the box so more like Google or China.

[–] cardfire@sh.itjust.works 1 points 21 hours ago

Nobody makes their own boxes, everything you love to play with either gets designed, fabricated, or packaged in to boards, or assembled, in China.

So tired of the casual racism of "this brand good, but that brand bad, because China." I know you didn't mean something malicious by it, but we've got to do better.

[–] uuj8za@piefed.social 3 points 1 day ago

I also have an LG TV. I bought an external Android TV box (Nvidia Shield) and now primarily use that as the interface.

[–] bigmclargehuge@lemmy.zip 1 points 1 day ago (2 children)

Would a Roku work? Forgive my ignorance, not sure if they count as android based

[–] brewery@lemmy.world 1 points 10 hours ago

Please nobody buy roku. It's become full of ads and monitoring.

[–] turkalino@sh.itjust.works 3 points 1 day ago

Roku uses a custom OS unfortunately

[–] silver@das-eck.haus 8 points 2 days ago

I've been using vacuumtube and I quite like it

[–] buedi@feddit.org 1 points 1 day ago

I use the Kodi Invidious Plugin and my own Invidious instance.

[–] nibbler@discuss.tchncs.de 9 points 2 days ago

I run ytdl-sub in my jellyfin. Totally does not fit your bill, but its awesome if you just want to follow a few channels :)

[–] Decronym@lemmy.decronym.xyz 2 points 1 day ago* (last edited 8 minutes ago)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
Plex Brand of media server package
RPi Raspberry Pi brand of SBC
SBC Single-Board Computer

2 acronyms in this thread; the most compressed thread commented on today has 4 acronyms.

[Thread #82 for this comm, first seen 19th Aug 2026, 23:30] [FAQ] [Full list] [Contact] [Source code]

[–] LiveLM@lemmy.zip 2 points 1 day ago* (last edited 1 day ago) (1 children)

A bit ridiculous, but maybe the SmartTube app via Waydroid?

Not sure if that would operate well on a 4GB Pi.
I suspect you'll either need to keep the Android System always running in the background and sacrifice some of your RAM or go through a slow cold-boot every time you want to watch YouTube.

That being said, privacy friendly? Eh? I guess more than the official App but I don't think they're explicitly doing anything for Privacy since their focus is making sure the app keeps working amidst YouTube's constant changes.


There's some browser extensions that let you run the YouTube Smart TV UI on your browser but not really private. You get uBlock at best.

The most private option would be a front-end like Invidious, but it currently doesn't have Keyboard Navigation, so possibly hard to navigate with a Remote Control, you'd need a mouse or similar device.
There's a feature request for it but devs haven't gotten around it yet.

Maybe you could try to bodge it with a userscript? Idk.

[–] cardfire@sh.itjust.works 1 points 1 day ago

I don't know if it's feasible or not, but I was going to recommend the same thing, trying to get smarttube over Waydroid, as the most comfortable big screen, remote controlled experience that is privacy first, allows channel subscriptions, and integrates SponsorBlock right out of the box.

[–] PlasticQuality7519@reddthat.com 9 points 2 days ago (3 children)

I’ll tell you what I use, appreciate that it doesn’t cover your needs (I was more focused on avoiding unskippable ads) and it’s a bit fiddly but it might provide a good starting point.

I also have a RPi 4 8Gb that runs a self-hosted Plex (Jellyfin would work even better arguably). “Playlists” are different Plex libraries.

For subscriptions, or channels where I want every vid, I have a crontab that wakes up once a week, downloads latest vids via yt-dlp, and puts them in the relevant Plex library.

For Discovery or ad-hoc vids, I rely on “real” youtube in my PC, and when I find something I want to watch I just manually share the link with a script in the Pi that will pull it via yt-dlp and put it in yet another “adhoc videos” Plex Library.

It works great for my purposes. A few caveats: There is the usual arms race between yt-dlp and The Formerly Not-Evil Company, so you need to keep updating yt-dlp every week or so. Also, the vids I like are transient, so I delete them after a month or so, but you can choose to archive them differently.

Don’t hesitate to reach out if you want more details, I can happily yap about it for hours :D

[–] sem@piefed.blahaj.zone 2 points 1 hour ago

Piggyback to share what I've tried:

YouTube plugin for Kodi on rpi 4B - great when it worked, often had breaking bugs for a long time (cat and mouse development), somewhat difficult to keep up to date. Had to manually install releases from github.

"Play on Kodi" add on, which uses ytdlp to download and send the video. Fiddly, could never get it to work seamlessly or smoothly.

YouTube in firefox on RaspberryOS, with keyboard and mouse: firefox was too heavy for the rpi to work consistently.

I eventually bought one of those beelink mini pcs, which has enough power to run Firefox, to watch YouTube. It doesn't have CEC built in, which is a huge downgrade, but the YouTube experience is great, and it can easily watch videos on other Web sites too.

[–] SuspiciousCarrot78@aussie.zone 2 points 1 day ago* (last edited 1 day ago)

hat tip

A man of culture.

If Smarttube goes tits up, that was basically my plan.

Archiving wise: the "forbidden resolution" (540p) gets a lot of bang for buck. I think I scoped out something like 3-4yrs of continuous content (playing 3-4hrs a day) would fit in 1TB. It was something stupid like 8,000 x 20 min YouTube vids.

In theory, you could create a seed bank of (say) 500GB of higher quality content, with weekly or monthly scrapes of new stuff with expiry based on views... but that's how we get into 4AM over a engineering. Again.

Bookmarking this. I am low-key low-priority background-task setting up a Jellyfin with yt-dlp integration somehow and I love this simple brilliant idea, playlist with a cronjob. Same basic principle as Invidious.

[–] bjoern_tantau@swg-empire.de 5 points 2 days ago (1 children)

Been a while since I did this. But isn't there a YouTube plugin for Kodi anymore? Back then I would send videos from my phone to Kodi using Yatse.

[–] technocrit@lemmy.dbzer0.com 5 points 1 day ago* (last edited 1 day ago) (1 children)

Yes, there is a YouTube addon for Kodi. I came here to recommend.

It's not perfect for sure. There are some things that are annoying or difficult. I get the feeling that the developer is constantly playing cat and mouse with YouTube. But overall it blocks ads and plays my videos so I use it every day. I'm watching right now...

[–] pedroapero@lemmy.ml 3 points 1 day ago

on my side, videos are crashing after around 90 seconds since a week or so...

[–] Estebiu@lemmy.dbzer0.com 5 points 2 days ago

I use grayjay on my phone, and casts the videos via fcast.

Well, the clear answer is Smart tube...but I think you might be talking about downloading and integrating into your media stack?

If so...doesn't Jellyfin have a plugin for TubeArchivist?

[–] Cherry@piefed.social 4 points 2 days ago

Also smart tube

[–] Courantdair@jlai.lu 1 points 1 day ago

The Piped kodi addon sometimes works, but it's been so rare I found myself downloading videos and streaming them to Kodi over DLNA most of the time... Not perfect but it works

[–] notalannister@fedinsfw.app 3 points 2 days ago

If you want to watch specific channels you follow, Pinchflat

[–] Kirk@startrek.website 2 points 2 days ago (2 children)

I'm assuming you have a CEC dongle or use second remote?

[–] sem@piefed.blahaj.zone 1 points 1 hour ago (1 children)

Rpi has a CEC adaptor built in (pulse 8). It is very convenient.

[–] Kirk@startrek.website 1 points 17 minutes ago

Oh nice,for some reason I thought that was only the 5. Surprised we haven't seen more media center OS for it besides Kodi which is pretty meh these days.

[–] scrooge101@lemmy.ml 1 points 1 day ago

Yes, the TV remote controls Kodi via CEC.

[–] lascapi@jlai.lu -5 points 1 day ago (1 children)

What about not using Youtube at all?  Or just the bare minimum, without account, without interactions to stop to feed the system at a user level? 

[–] Joelk111@lemmy.world 11 points 1 day ago

How do I do thing

Have you considered not doing thing

Thought I was on Reddit for a second. Guess some things transferred over.