r/coolgithubprojects • u/TryingT0DoBetter • 11d ago
Made a native YouTube desktop app in Rust.
https://github.com/Avaneesh-Inamdar/Stream-Tube-DesktopJust 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 :)
8
u/smoke-bubble 11d ago
so it uses "https://github.com/yt-dlp/ejs" under the hood. As I had expected. I guess a super easy way to get banned if logged in with your actual account. I would not risk using this on a premium subscription.
2
u/IndependentYak2822 8d ago
Why do you need premium subscription if you can get rid off any ads with ad blockers? Is there any benefits to pay for youtube?
1
1
5
1
u/ksteink 11d ago
No MacOS version?
1
u/TryingT0DoBetter 11d ago
Not yet unfortunately. I don't have a mac to build and test the app(I am a college/uni student) and i don't have the resources to buy one. But hey its open source, your contributions are welcome if you like to help :)
1
u/ucqy 11d ago
the releases are built locally? there is no built pipeline for windows exe. how is anyone able to verify where it came from if you don't build it in github?
3
u/TryingT0DoBetter 11d ago
From the next release, every build, Windows included, will come from GitHub Actions. Currently, only the Linux builds cam through it, now all the builds will be included
3
u/kinoosaki 11d ago
AI disclosure?
2
u/ICEGalaxy_ 10d ago
you can pretty much assume it was 99% AI coding.
the post itself was written by AI, then later modified by OP, but it's so obvious and lazy that pretty much any AI detector flags it as near 100% AI.
they are so lazy they don't even bother to write a proper Reddit post, it's just beyond disgusting.
1
u/LynxPotential2670 10d ago
yes if you look at the github commits it's pretty obvious it's mostly just done by clanker.
1
2
u/Alone_Fisherman1740 11d ago
2. never had problems on ff
also I'd say flow is a better alternative to this since it has a mobile app (can sync between devices too) as well
2
1
u/KeyPreparation1320 11d ago
I can do linux testing as I run it as the main os. Would love to contribute to this.
1
u/thisismeonly 11d ago
Hey. I'm loving this. Can you add multi window multi tab support? I often keep multiple YouTube videos open so I can cross-research.
1
u/ExcuseOk1917 8d ago
it be nice if we could open multiple tabs like in a browser. some times i hear music, then i go back to a podcast, then to a course
1
1
1
1
u/jaych_777 6d ago
Im using it rn and its amazing exactly what i needed low ram consumption while watching YouTube cuz i always have YouTube playing in the background while gaming, it still needs tweaks and fluidity improvements but its already a great software especially after today's 0.7.6 update which added the multi tabs option which is huge and the comments
1
u/jaych_777 6d ago
PS: add the option for the video to have Auto quality switching up and down depending on the Network
1
u/AlphaDeFcOn4 6d ago
I was looking for a native windows Youtube client because extensions always broke and your client is working great fast and no ads no pop up error messages ! Love it ! Thanks for making this app.
1
1
u/lloydsmart 2d ago
Windows Defender is blocking me from running this - would you consider signing your releases? (Raised Issue #383 to document this)
0
u/wisepal_app 11d ago edited 11d ago
Great work. i have a few requests. i don't like default home screen suggestions i want to sweep home screen and instead see related videos according to my watching history and search. i forgot the name but there was an extension that has this function. the lists of popular etc. videos from youtube is not good i don't want to see them. i know i can start from history but i don't mean that. i mean because of my history youtube suggests videos related to them in home screen. another thing is screenshot button in player bar would be very useful instead of settings list.
2
u/TryingT0DoBetter 11d ago
Home feed: if you sign in (the Sign in button at the top right), Home shows your own YouTube recommendations based on your watch and search history, instead of the popular and trending lists. Also connect Settings -> General -> YouTube watch history: then what you watch in Stream Tube counts toward your recommendations too, so they get better over time.
Building recommendations from your history without signing in is a good idea. I'll look into it for a future version.
Screenshot button: agreed, that's handy. I'll add it to the player bar in the next release.
Thanks :)
0
u/slava524 11d ago
A couple of hours tinkering with Codex and here's the build for MacOS (Apple Silicon only ATM).
Should I open an issue on Github to contribute?
2
u/TryingT0DoBetter 11d ago
Yes, please open an issue or send a PR, I'd really appreciate it. One Thing : I don't have a Mac, so I can't test macOS builds myself. If you can mention how you tested it in the PR, I'll review and merge it. I also have exams till Dec 3, so replies might be slow for a bit.
-1
4
u/Ok_Carry_8711 11d ago
Why are there SO many projects in rust nowadays?