YouTube goes ad-free and self-hosted thanks to this GitHub project

Most YouTube clients like FreeTube or NewPipe come with significant trade-offs. They may be device-exclusive, have clunky layouts, or break whenever real YouTube changes its system. TubeHaus takes a different approach, packaging a familiar YouTube-style interface into a standalone app for Android, Android TV, Windows, macOS, Linux, and can even be sideloaded onto iOS. What's more, it can even be hosted on a home server in a single Docker container with built-in redundancies that will keep the server up, even if YouTube changes its methods.
Under the hood, TubeHaus moved away from its old Invidious and PostgreSQL dependencies and adopted a custom, built-in YouTube engine. When a user opens a video, the server fetches the stream directly through YouTube's visionOS client, starting playback in roughly 0.16 seconds. Even if this request fails, the player falls back to YouTube's own SABR streaming protocol with a self-generated BotGuard token to begin playback that way. Additionally, to circumvent YouTube's "confirm you're not a bot" wall, the server routes outbound requests through Cloudflare WARP in proxy mode and automatically swaps to a fresh WARP address if YouTube flags it. This way, devices never talk to Google directly, and no Google account or tracking scripts ever touch a user's browser.
Other features of TubeHaus include live captions via AI transcription and an interface that mirrors standard YouTube layouts and keyboard shortcuts. TubeHaus also adds built-in SponsorBlock and DeArrow, and brings back YouTube dislike support. Curious users can find the TubeHaus app and install instructions in the resources below.






