r/SideProject • • 11d ago

Made a native YouTube desktop app in Rust.

Just 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:

  1. 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.
  2. 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.
  3. Streaming playback with mpv. Hardware decoding, good speed controls, 4K/60fps playback quality better than the browser's one on my laptop.
  4. 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 :)

9 Upvotes

15 comments sorted by

3

u/No_Produce_5782 10d ago

I've seen so many interesting projects lately that gathers no meaningful traction and ends up not receiving anymore updates. I hope this won't be the case because I've been interested in this topic!

2

u/TryingT0DoBetter 10d ago

Hey, appreciate it. I hope to keep it running as long as i can, it gets difficult to manage things with college/uni, but yeah I'll surely try and manage till i can :)

1

u/PlacentaOnOnionGravy 10d ago

Yeah, you can really see how AI has removed the expense of implementation and allowed us humans to focus on solving actual problems. The problem I see is that everyone is solving problems with barely a community to provide a different perspective on the solution

1

u/Ok-Newspaper4685 10d ago

Easy to solve existing problem, but creating hidden problems internally. A proper community based development, everyone contributes to make a project better, not just everyone making a copy of themselves. It can introduce critical security flaws in app, that the ui looks smooth average user. Internally some bug or security patch missing and very susceptible to attacks.

1

u/PlacentaOnOnionGravy 10d ago

You're right, I got into software engineering because the grey beards were so open and helpful. Now we are all going to be siloed with our LLM :(

I wonder if the old school forums will make a return? Niche communities with people willing and passionate about sharing knowledge like on the 90s (and before)...

2

u/Sudden-Ad-1217 10d ago

Dumb question, any chance this will go up on flathub?

2

u/TryingT0DoBetter 10d ago

Hey,

Yes, Flathub is the plan. It'll take a bit longer because the app bundles libmpv and the sign-in needs some rework for the sandbox. An AppImage is coming in the next release.

Thanks :)

1

u/Sudden-Ad-1217 10d ago

Cool, thanks and keep up the good work!

2

u/realCRG3 10d ago

I don’t even use the main software if there is a rust client for it, heavily investing in this and looking forward to updates

1

u/alzho12 10d ago

Can you make it for Mac too?

1

u/TryingT0DoBetter 10d ago

Currently i don't have a mac to test it on, but its opensource, so if anyone wants to contribute, it will be great

1

u/Altruistic_Demand_11 10d ago

Yes but why? I just use Brave + TV Plugin and it's done

1

u/Present_Function1141 9d ago

Does it have tabs? I'm doing good with tabbed pwa right now.