opensourceprojects.dev

A broadsheet for software that doesn't ask for your email

Self-hosted YouTube client that falls back to SABR when side doors close
GitHub RepoViews0

Project Description

View on GitHub

A Self-Hosted YouTube Client That Doesn't Need Google's Permission

You've probably noticed that third-party YouTube clients have a habit of breaking. One day your favorite frontend works fine, the next day playback dies because YouTube changed something on its end. If you've been looking for a way to watch YouTube on your own terms—without an account, without ads, without tracking—you know the drill: the side doors keep closing. TubeHaus is an open-source project that takes a different approach. When the usual methods stop working, it falls back to SABR, the same streaming protocol youtube.com itself uses.

What It Does

TubeHaus is a self-hosted YouTube client with two flavors: a standalone app and a server you run yourself. The app runs on Android, Android TV and Google TV, Windows, macOS, Linux, and iPad/iPhone. It talks to YouTube directly from the device using its own engine. The server version (which is the branch this README documents) runs on any Docker host—a VPS, a home PC, a Raspberry Pi—and you watch through any browser. Your devices only ever talk to your server, and the server talks to YouTube through Cloudflare WARP.

The layout is deliberately familiar. Same home grid, same player, same keyboard shortcuts. There's a remote-friendly version for the TV, so nobody in the house has to relearn anything. Subscriptions, history, and playlists live on your device or your server—not in a Google account—and they export to any format. If you run the server, every device and browser in the house can share one library, or each person can keep their own.

The interesting part is the fallback. When a side door closes, TubeHaus switches to SABR, the protocol youtube.com itself streams with, using its own BotGuard token and no account. On the server side, a flagged address gets swapped for a new one automatically.

Why It's Cool

It assumes the ground will shift under it. Most YouTube frontends are built on a single extraction method and fall over when that method gets patched. TubeHaus is built around the expectation that things will break, with SABR as the backup route. That's a more honest architecture for a cat-and-mouse problem.

The server keeps YouTube off your devices. This is the part that stands out. With the server setup, your phone, TV, and laptop never contact YouTube directly—they only talk to your box. YouTube sees a Cloudflare WARP address, not your home IP. If you've ever wanted YouTube access on an iPad without sideloading or a Google account, this is the path.

One library, many screens. Pause on the TV, pick up on the phone. Shared across the household or split per person. The README is clear that this is a core design goal rather than an afterthought, and it's the kind of thing that makes a self-hosted setup actually livable day to day.

No account, no ads, no tracking scripts. Subscriptions and history are yours, stored where you choose, and exportable. That's a small thing until you try to leave a platform and realize you can't take your data with you.

Two deployment modes for two different needs. The app is for one device today with nothing to set up—and it's the only place you get offline downloads, background play, picture-in-picture, and the mpv player on desktop. The server is for a household, for iOS without sideloading, or for keeping YouTube at arm's length. Same name, same look, different tradeoffs.

How to Try It

The fastest path is the app, if you're on a supported platform. Head to the releases page and grab the build for your device.

If you want the server, you'll need Docker on a machine that stays on. The README's quick start section covers the container setup, and the image supports both amd64 and arm64—so a Raspberry Pi is fair game. Once it's running, you open it in any browser on your network.

A few things worth knowing before you start:

  • The server routes YouTube traffic through Cloudflare WARP, so make sure that's acceptable for your network setup.
  • The project is licensed AGPL-3.0, so if you modify and distribute it, the source stays open.
  • It's independent software and not affiliated with YouTube or Google—the README includes a disclaimer you should read, since scraping-adjacent tools always carry some risk of breaking or attracting attention.

Full details, the FAQ, and the "how it works" section are in the repository.

Final Thoughts

TubeHaus is for the person who wants YouTube's interface without YouTube's account system, and who's willing to run a container to get it. The SABR fallback is a pragmatic bet—it won't make the client unbreakable, but it gives it a second leg to stand on when the first one gets kicked out. If you've got a spare Docker host and a household that watches YouTube on multiple screens, it's worth a look. If you just want one device working today, the app is the lower-effort route. Either way, it's a thoughtful take on a problem that isn't going away.


Follow @githubprojects for more developer tools and open source projects.

Back to Projects
Project ID: tubehausLast updated: November 28, 2026 at 02:47 AM