r/coolgithubprojects • u/TryingT0DoBetter • 5d ago
Made a native YouTube desktop app in Rust.
github.comJust to make sure: yes, using uBlock Origin and SponsorBlock in Firefox gets you 90% there. That's what I have been using for ages now, and it is awesome. This is not meant to be a replacement for that.
My actual reasons for building this:
- YouTube was getting in the way of my browsing. When I was watching hours worth of video lectures during work, having it open in a tab meant getting buried under 40 other tabs, being reset every time the browser was reopened or eating up RAM along with everything else. An application that allows alt-tabbing (or pip windowing) seems like the natural way of using it.
- The adblocker in the browser always gets broken. Every now and then YouTube decides to change something, and for a week it displays popups saying "ad blockers are not allowed", or refuses to play until filters are updated. This application never loads YouTube's player, it streams the video directly using mpv, so there is nothing to block.
- Streaming playback with mpv. Hardware decoding, good speed controls, 4K/60fps playback quality better than the browser's one on my laptop.
- Subscriptions without any login. Subscriptions can be stored locally and the page creates its own feed based on it. It's optional to login if you want recommendations or your history back.
Actually, I also wanted to develop something serious in GPUI
If you're happy with your browser setup, you probably don't need this. It's for people who want YouTube as its own app, like a music player is separate from the browser.
What's in it: SponsorBlock, DeArrow, Return YouTube Dislike, live chat, miniplayer/pip, background play, downloads via yt-dlp, hold-Space for 2x, NewPipe/FreeTube/Takeout import, in-app updates. Windows and Linux.
It's an alpha. Things will break, and YouTube will probably change something that breaks it at some point (same as NewPipe/FreeTube deal with). Linux especially needs testers; I've mostly run it on Windows.
GitHub: https://github.com/Avaneesh-Inamdar/Stream-Tube-Desktop
Downloads: https://github.com/Avaneesh-Inamdar/Stream-Tube-Desktop/releases
Thanks :)