Free and open-source YouTube clients w/ no ads

sunglocto@lemmy.zip to Android@lemmy.world – 562 points –

LibreTube - uses Piped as video source by default. Subscriptions and playlists can be created, all without actually interacting with YouTube.

Clipious - uses Invidious as the video source. Also allows for subscribing and accounts. Lesser known client

NewPipe - Gets the source directly from YT. Allows for subscribing and creating playlists

Additionally, there's also ReVanced that lets you patch the regular YT app to include useful features.

123

I'll add these to the list if you don't mind:

  1. GrayJay for Android
  2. FreeTube for desktop and also works on Android.
  3. SmartTube for your Amazon fireTV and Google tvs and the likes
  4. NewPipe for Android.

Grayjay is propertiary. Just giving a heads up

I thought it was FOSS? Here their GitHub. I'm not an expert in licenses and all that, but it looks like it has even been forked. You can't even see proprietary, let alone fork it. I could be wrong, though. Correct me if I'm wrong, please.

It has a joke of a license that certainly isn't free. It onky alpows you to see the source code aka it ia "source availible" not opwn source nor free

I see. I think Louis Rossmann (he works for Futo, the company behind this app and other FOSS apps) said in a video that they'll eventually open source it? I don't remember exactly.

Newpipe has to be the choice for android. Also, Tubular is a pretty neat fork that adds sponsorblock and return youtube dislike

Thank you so much for this. I have been using NewPipe sponsorblock and it's been discontinued and haven't been able to find anything else.

FreeTube on Android? Where do I find that?

FYI, SmartTubeNext has been renamed to just SmartTube.

Nice. Thanks for that. Let me fix my post.

I also want to drop Grayjay in here. It supports YouTube and can also be used to view other platforms like Twitch, Odysee, PeerTube, etc. It uses plugins, so you can develop a plugin for the video platform you want to be able to use in Grayjay. Grayjay also has this Polycentric "decentralized" database so that you can comment and like the videos in those aforementioned platforms.

It's good and everything (although it was a bit rough around the edges here and there), but is a no-go for me personally, unless they've changed their license. When I last checked it wad not open source, but merely source available since the license basically said you're not allowed to modify the source code period. AGPL would've been a far better choice

Totally understandable. I mean, it's still in alpha and yes I do encounter bugs sometimes. I honestly just use it because I can have my feed in grayjay as well.

I use Tubular. It's a fork of newpipe that has sponsor block.

Anyone know of something for Windows or Linux like grayjay that access multiple platforms?

All I want is an ad-free YouTube app that lets me cast on Chromecast directly.

So far nothing worked properly. Any ideas? I'm using a Pixel 4A.

Grayjay, it has all those features.

Not FOSS

Yeah, just OSS. Which is fine by me, frankly. In a capitalist system there are very few ways to make FOSS soft compete with closed source/proprietary. One way is to convince people to buy the soft. Another is to get industry funding. Blender is one of the best examples of this. But Grayjay can't use the Blender model because the biggest player in the industry (Youtube) has a vested interest in keeping the app from being developed.

One way is to convince people to buy the soft.

Grayjay and other Futo apps are not really paid software, it's more like a donation. No reason not to use a FOSS license.

But Grayjay can’t use the Blender model because the biggest player in the industry (Youtube) has a vested interest in keeping the app from being developed.

What does that have to do with the licensing? The restrictive definitely won't stop Google from trying to shut the app down. Selling the app actually makes it harder to prevent it from being shut down. Google can now argue in court that Futo tries to make money from selling this app, that uses the YouTube API without authorization.
There's a very easy solution to this problem: Just make it FOSS like every other god damn alternative YouTube client, put the GPL on it and treat donations like donations, instead of "selling" the app and generating revenue (which can and likely will be used against them).

Rossmann and Futo have explicitly stated that purchasing their soft is a purchase, not a donation.

Furthermore, Grayjay does not use the Youtube API and so Google has no ground to stand on.

Rossmann and Futo have explicitly stated that purchasing their soft is a purchase, not a donation.

Exactly. That's the issue. Selling software means generating revenue, thus Grayjay is a commercial product. That's exactly what YouTube Vanced was shut down for. Generating revenue from accessing YouTube in an unauthorized manner. Grayjay does use the YouTube API, but not the official one. YouTube has 2 sets of APIs. The official one with clear terms and conditions, which is only accessible with an API token, and the unofficial one, which is for example used in the YouTube mobile app. There is no official documentation on this API, and it was only discovered through reverse engineering. YouTube doesn't allow using this API from an unofficial client (they're not that strict about it, but nonetheless, it's technically forbidden, as the APi is not meant for public usage).

Unless they were to stick a TOS, usage agreement, or API key requirement on Innertube then anyone's free to use it however they like. Legally, Grayjay is in the clear here. And practically they're fine as well since altering Innertube to block Grayjay would mean that Google would have to alter their in house processes and that costs money.

YouTube Vanced didn't accept any TOS either, yet they got sued and were forced to shut down

And the difference there is that Vanced didn't have capital behind it while Grayjay does. Futo can fight Google in court, Vanced couldn't. Even if a company has no legal ground to stand on, they can still fuck you financially with legal fees and a drawn out case.

Doesn't ReVanced work?

I use WebVideoCaster on roku for this.

But I don't have Roku

Web Video Caster can cast to a large number of devices, Chromecast included. It has a lot of companion apps too on several smart TV platforms, all for the sake of getting your media played back on another device.

I've been using pipe-viewer (formerly/alternatively youtube-viewer) for years. It's an extremely minimal yet feature-rich and customizable perl youtube client, designed to be used without a google api key (If you want to use an account, use youtube-viewer instead). No other client I've tried comes close in my experience (I've tried Freetube (bloated), Minitube (buggy, feature incomplete, uses embedded player), Newpipe (restricted to android)).

Also works great on mobile, and can be used with a Gtk-perl client for people who want a graphical client. It can also be used with any native video player, like mpv or mplayer (and adding an unsupported player is trivial in the config).

Demo:

The borderless UI is so good, honestly. Do you know if there's a way to alter the player control UI? Am wanting to get into ricing and that looks like it provides a great solution for some minimalist ideas I'm having.

The window decorations in my video are provided by cwm, not the player. The player UI is just default mpv.

Using Tubular, which is a fork of newpipe with sponsorblock integration. It's a bit buggy but I like not having to skip every sponsor

youtube.com + firefox android/fennec + ublock origin + sponsorblock

A textfile with channel urls + a yt-dlp script + a self hosted jellyfin servers.

Saves on bandwidth too, you only download once and can keep your favorites saved offline as long as you have storage space.

I do run my own invidious client too for video searches and β€œfiller” channels you watch selectively.

Oooh... I'd love a YouTube integration with jellyfin.

Tell me more.

I'd love the features of a podcast app but for YouTube creators I follow.

You mean I finally have a way to watch Youtube in my Samsung TV without ads??? Ooooo I know what I'm doing tonight!

edit: naaah it won't run on my raspberry :(

That’s exactly what i use if for. I do have a server-pc running though.

I'll also plug SmartTube, an Android TV app that has many of the more widely-used functions ReVanced has (blocks ads, supports SponsorBlock, etc.) among other things.

Wait, revanced works again?

Sure does. I've been using it for a few months.

Normal stopped a while ago but extended is working well

Regular ReVance works just fine. Installed it to my wife's phone just earlier today.

I saw it had an update. For a little while it wasn't working right so I swapped to extended and that's been running fine.

It stopped working?

I have used it since vanced died and while it does occasionally break, all you usually need to do is download a new APK and repatch.

I would use Libretube, but it simply doesn't work on my phone. On PC I always use piped.

Try enabling "Use HLS" inside:
3 dots > Settings > Audio and video

Do you know, why this does fix the problem?

I was using LibreTube only as a music player and was a bit unreliable (sometimes it would crash or get stuck in infinite loading). Trying to use it for videos was impossible, since trying to skip even just 10s the video would load endlessly or just go black and freeze.

So I looked up on their github issue tracker and found this pinned.

I'm having great time with FreeTube Cordova lately, you have to setup the UI initially, understanding its limit for mobile, but it works very well.

This was me when Invidious and Piped were being attacked by Youtube and Newpipe had a hiatus.

Tubular is a Newpipe fork with Sponsor Block integrated for anyone interested.

Libretube seems to almost never work for me no matter what instance i try.
Also worth adding Smarttube for AndroidTV

Try enabling "Use HLS" inside:
3 dots > Settings > Audio and video

See this.

LibreTube is OP but Piped is a joke. Disable that shit.

What's the issue with piped?

...it doesn't work. Like, ever. Same with all of these other frontends like invidious, teddit, rimgo, bibliogram, etc.

I think the issue is that the more users these instances have, the easier it is for them to get throttled/banned by the services they want to use. I self host piped and it works 99% of the times

Also some services are frequently changing stuff or just making it impossible to have an alternative frontends

Doing it wrong.

I didn't do anything but install the app...

Nome of the frontends you mentioned have apps.

Bruh. LibreTube? The app this thread was about? Hello?

Same with all of these other frontends like invidious, teddit, rimgo, bibliogram,

This you?

Besides which... it's well understood that all of these apps are brittle as in they stop working every other day when youtube changes whatever thing so they stop working.

In the case of newpipe for example, if you install from the app store or even f-droid the version there will be a few weeks old and just won't work. The best approach is to install the apk and allow it to update itself when a new version is released. I've been using newpipe for several years in this manner and it's very reliable.

Er go, if it doesn't work for you, you're doing it wrong.

This you?

...you can't read the username?

it's well understood that all of these apps are brittle

What apps?

In the case of newpipe for example, if you install from the app store or even f-droid the version there will be a few weeks old and just won't work.

...so then you agree?

The best approach is to install the apk and allow it to update itself when a new version is released.

  1. Again, what apk are you referring to?

  2. This is what I do with literally every app on my device. Still doesn't work.

if it doesn't work for you, you're doing it wrong.

You've just done a great job contradicting this statement...

Just find a good instance like piped.adminforge.de or host your own

Just find a good instance like piped.adminforge.de

You mean the default instance? Yeah, doesn't work.

or host your own

Sure, I'll just pop over to the local university and pick up my software engineering degree.

I imagine you're exaggerating but if not then I'd say that's a tad extreme. That being said, their official setup guide does provide steps on how to install it but I think if I didn't have prior experience with some of the software it mentions I think I'd struggle so maybe a different guide by someone else is better?

However these obviously require having something that this can be run on, like a VPS, which aren't free, so that is another barrier for entry to consider.

their official setup guide does provide steps on how to install it

Do you think normal people understand the words on this page?

Is there any eli5 guides to things like f-Droid or the other platforms(?) (it used to be called 'rooting', don't know what it is now) to be able to install LibreTube? Following the faq link from github, I see 3 download options, one I recognize as f-Droid, and 2 others.

I realize this should be "android 101", but my ability to problem solve stuff like this is slipping away from me. (protect your brain, kids!).

Most F-Droid stuff AFAIK should be pretty plug and play. It'll download an APK which you then just open in order to install the app. You may need a file browser app if your phone OS doesn't come with one. You may also need to allow installs from third party somewhere in the settings. But android isn't like iOS and won't generally restrict your ability to install whatever you want, outside of an options popup to make sure you know what you're doing.

I don't use LibreTube personally and can't speak on that specifically though, if it does something other than just download you an APK file.

But it's still going to Google's server this traffic. I'd like something that is not YouTube but then there are no creators on these other places. Maybe I'll buy one of those nebula/floatplane stuff?

Still in development but Lighttube seems interesting and uses its own backend.

I know this is /c/android but semi related for desktop I've been using and loving Freetube for a good while now.

Make sure you go through all the settings though (like sponsorblock), I recommend base theme "catppuccin mocha" btw

NewPipe subscriptions can also be imported into Free tube to get it in sync with your phone subscriptions.

Be sure to use NewPipe with sponsor block (forked project). Although this had been giving me trouble and there's another fork called Tubular that works great.

If LibreTube is not working for you (the reader, not OP), enable HLS here:
3 dots > Settings > Audio and video > Use HLS

See this.

Piped also has support for accounts and LibreTube supports that too. Really nice to have your subscriptions and playlists synchronized between your devices.

Might be a dumb question but why not just use Piped?

Well, you still need a client if you're on mobile. I'm not going to watch my video essays through a browser if I can do it through an app. I use libretube which ends up being Piped under the hood, it's just smoother.

I also used to use revanced because it allowed me to keep a few public playlists up to date (something you can only do by interfacing with Youtube). People have their reasons for things.

Every time I click on a Piped link that has been posted here by the bot after someone posts a YouTube link, I just wait and wait for it to start playing. Eventually I run out of patience and click the YouTube link, which starts to play immediately.

Anybody know if some of these platforms support streaming? I've been meaning to try out kick.com as well as a Twitch alternative but it's still a business with proprietary solution.

Peertube and owncast are Fediverse alternatives to twitch. Peertube less so. I run an owncast server and love streaming to it, but discovery is shit. If you just want to stream, it's great. If you want to make it a job, stick to twitch