NewPipe on Linux, Using Android_translation_layer

2 years ago by OsrsNeedsF2P to c/linux

Free and lightweight YouTube frontend for Android

This is really interesting stuff, found it on Hacker News. It's like WINE, but for Android <-> Linux: https://gitlab.com/...

boredsquirrel 51 points 2 years ago

Wow this is awesome! Waydroid is insecure (outdated, rootful container), slow in development and only sandboxed on distros that use SELinux.

But that they take Newpipe... which is notoriously broken as Youtube tries to block everything...

Other apps are

  • OSMAnd~
  • OrganicMaps
  • Signal android
  • Jerboa, Fedilab, Pixeldroid

Those are really unique on Android

path: 0 13120970, hotness: undefined, score: 51, children: 23
Bogasse 31 points 2 years ago

I'm using NewPipe daily and it doesn't seem broken at all?

path: 0 13120970 13121544, hotness: undefined, score: 31, children: 6
boredsquirrel -1 points 2 years ago

You use a VPN?

path: 0 13120970 13121544 13121702, hotness: undefined, score: -1, children: 5
sic_semper_tyrannis 2 points 2 years ago

I use a VPN with NewPipe, no problems. I'm using the NewPipe repo for the app

path: 0 13120970 13121544 13121702 13123079, hotness: undefined, score: 2, children: 4
Grangle1 3 points 2 years ago

Ditto here. NewPipe + VPN works fine on my tablet I use as a YouTube machine. The only problems have been when YT messes with stuff to try to block them, and then NewPipe will have it fixed usually within a day. And that doesn't happen as often as people think.

path: 0 13120970 13121544 13121702 13123079 13135052, hotness: undefined, score: 3, children: 3
Quackdoc 12 points 2 years ago

it's worth noting that no actual security problems have been presented that haven't been dealt with, Sandboxing is available on any distro assuming the tools are made availible. Waydroid supports both apparmor and selinux, please report any security issues and tag the maintainers when doing so.

EDIT: you do need to set apparmor into enforce mode manually though.

path: 0 13120970 13123455, hotness: undefined, score: 12, children: 2
boredsquirrel 1 point 2 years ago

Interesting, so the Android SELinux sandbox can work with Apparmor?

path: 0 13120970 13123455 13126770, hotness: undefined, score: 1, children: 1
Quackdoc 2 points 2 years ago

It's less secure, but the host<->guest seperation is there.

path: 0 13120970 13123455 13126770 13138918, hotness: undefined, score: 2, children: 0
prole 7 points 2 years ago

I've been using FreeTube on desktop and it has worked great (with VPN)

path: 0 13120970 13129362, hotness: undefined, score: 7, children: 3
boredsquirrel 3 points 2 years ago

Freetube uses Electron. The Flatpak is 240MB in size, the Newpipe + Translation layer is 40MB

It also doesnt bundle an often outdated version of Chromium, as found in Electron

But I tried Newpipe Flatpak and it was blocked totally. May have been because of my VPN though. Freetube had the same issues.

Grayjay is king at block circumvention

path: 0 13120970 13129362 13136687, hotness: undefined, score: 3, children: 2
prole 1 point 2 years ago

Good to know, thanks. If the FreeTube flatpak is working for me, I might as well try the Newpipe one if it's that much better. I guess I just assumed that the translation layer would add CPU overhead.

I'll have to look into Grayjay. Is there a flatpak? I'm on immutable, so flatpak is much preferred.

path: 0 13120970 13129362 13136687 13149394, hotness: undefined, score: 1, children: 1
boredsquirrel 1 point 2 years ago

Newpipe flatpak is totally broken XD

but it is more efficient, the translation layer is not an issue.

Actually, I am not sure what LocalSend and ConverterNOW use but those also look kinda like Android apps with GTK decorations.

Grayjay is android-only but a really nice cross-platform player. It is a framework with plugins, for nearly all streaming services... apart from Peertube??

path: 0 13120970 13129362 13136687 13149394 13153067, hotness: undefined, score: 1, children: 0
fushuan 5 points 2 years ago

I went from newpipe to tubular since it comes with sponsorblock, but iirc the backend is the same.

No VPN or anything, it works great.

path: 0 13120970 13122839, hotness: undefined, score: 5, children: 3
boredsquirrel 1 point 2 years ago

Yes with no VPN it will work easier

path: 0 13120970 13122839 13126791, hotness: undefined, score: 1, children: 2
uzay 2 points 2 years ago

It's most likely watching Youtube with your VPN that's broken then, not NewPipe. Youtube implemented Captchas for IPs that generate a lot of traffic/a lot of people are using. That's how they are trying to kill frontends like invidious that proxy the requests. NewPipe by default uses your own IP so it doesn't have that problem. If you use a VPN IP that a lot of others are using too, you'll get that same problem though.

path: 0 13120970 13122839 13126791 13129150, hotness: undefined, score: 2, children: 1
boredsquirrel 1 point 2 years ago

Yes I assume this increases many issues.

This might also explain why sometimes the one, sometimes the other app (desktop vs phone) is broken

path: 0 13120970 13122839 13126791 13129150 13136706, hotness: undefined, score: 1, children: 0
shekau 2 points 2 years ago
path: 0 13120970 13127029, hotness: undefined, score: 2, children: 3
PureTryOut 1 point 2 years ago

The OrganicMaps for "regular" Linux is very different from the Android app though. Completely different UI tech (Qt vs native Android widgets) and lacks important things like turn-by-turn navigation.

path: 0 13120970 13127029 13127398, hotness: undefined, score: 1, children: 2
red 0 points 2 years ago

in what situation would you need turn by turn navigation on Linux???

path: 0 13120970 13127029 13127398 13128016, hotness: undefined, score: 0, children: 1
teolan 7 points 2 years ago

For a linux phone

path: 0 13120970 13127029 13127398 13128016 13128377, hotness: undefined, score: 7, children: 0
richardisaguy 2 points 2 years ago

hey! don't be mean like that to my baby...

path: 0 13120970 13123471, hotness: undefined, score: 2, children: 0
yogurtwrong 28 points 2 years ago

As the rule of thumb with FOSS projects, it has a horrible name

Time to rename it to one of the very creative FOSS project names

  • yet another something (YAS)
  • something is not other thing (SINOT)
  • OpenSomething, FreeSomething, LibreSomething
  • Something
  • Periodic table
  • Somethingify (this one is new)

Kudos to devs though. This is awesome

path: 0 13135859, hotness: undefined, score: 28, children: 3
captain_aggravated 6 points 2 years ago
  • KDE Advanced Something Editor (KASE)
  • Gsomething
  • Some random word. The worst ones I can think of are simultaneously Kleopatra and Seahorse. Guess what they do.
  • "It's actually the name of an Indonesian fruit commonly eaten at celebrations..."

Yeah it's not open source unless the title is a garbage fire.

path: 0 13135859 13154353, hotness: undefined, score: 6, children: 0
hankskyjames777 2 points 2 years ago
path: 0 13135859 13154273, hotness: undefined, score: 2, children: 0
ikidd 2 points 2 years ago

You forgot -XNG

path: 0 13135859 13154370, hotness: undefined, score: 2, children: 0
potentiallynotfelix 14 points 2 years ago

Interesting concept, if it gets good enough I hope ubuntu touch adopts this because I'm not a big fan of waydroid.

path: 0 13120608, hotness: undefined, score: 14, children: 5
Quackdoc 4 points 2 years ago

It's still really basic, but has loads of potential, Unforunately it has a hard requirement on GTK, otherwise there are a few things that would have been nice for greater AX86 in general, for instance they have mediacodec->vaapi support, something ax86 has... struggled with in the past. but we can't use it since we can't use gtk.

path: 0 13120608 13123470, hotness: undefined, score: 4, children: 4
PureTryOut 2 points 2 years ago

Ubuntu Touch can't use GTK? Why not?

path: 0 13120608 13123470 13126154, hotness: undefined, score: 2, children: 3
Quackdoc 1 point 2 years ago

what does Ubuntu touch have to do with this? I explicitly refered to the greater ax86 ecosystem.

path: 0 13120608 13123470 13126154 13138890, hotness: undefined, score: 1, children: 2
PureTryOut 1 point 2 years ago

You were responding to a comment talking about Ubuntu Touch. You then talking about "we" without any explaining of who you meant made me assume you meant Ubuntu Touch users.

path: 0 13120608 13123470 13126154 13138890 13144748, hotness: undefined, score: 1, children: 1
penquin 12 points 2 years ago
path: 0 13122944, hotness: undefined, score: 12, children: 4
dr_jekell -2 points 2 years ago

They really shot themselves in the foot by going straight to phones.

The better way would have been to work on tablets first and working out all the bugs on larger devices with a limited feature set before moving into phones with the attendant issues of regional cell bands and restrictions.

path: 0 13122944 13128917, hotness: undefined, score: -2, children: 3
noodlejetski 5 points 2 years ago

tablets (especially ones that could be flashed with Linux, i.e. not iPads) are way less common than smartphones, so you get fewer devices to choose from for testing, fewer users who can run it, report bugs, and support the project, and less interest in general.

path: 0 13122944 13128917 13130566, hotness: undefined, score: 5, children: 2
dr_jekell -1 points 2 years ago

The hardware isn't so much of a problem as there are companies who can make or source compatible tablets like the PineTab2 and the PineNote.

It's making the software compatible with a lower power mobile device and learning what needs to fixed.

It would have been much easier to deal with getting a tablet up and running before dealing with getting a mobile device functional.

Making the small steps from laptop to tablet then to phone would have saved them a lot of grief and software mistakes.

path: 0 13122944 13128917 13130566 13132244, hotness: undefined, score: -1, children: 1
xthexder 3 points 2 years ago

What are the chances of everyone interested in this project already having a tablet? I don't own any, and I certainly wouldn't be going out to buy one just to test running Linux on it. I do have multiple old phones I could turn into development test devices however. Anything is better than nothing.

path: 0 13122944 13128917 13130566 13132244 13138096, hotness: undefined, score: 3, children: 0
Unyieldingly 10 points 2 years ago

Android apps on flathub will be lovely.

path: 0 13141071, hotness: undefined, score: 10, children: 0
HeerlijkeDrop 8 points 2 years ago

How is ATL's architecture different than Waydroid's?

path: 0 13129544, hotness: undefined, score: 8, children: 1
pokexpert30 4 points 2 years ago

I guess it's running a free ART implémentation? As Android runs on Linux there's at least no kernel translation layer to do

path: 0 13129544 13137084, hotness: undefined, score: 4, children: 0
Mwa 6 points 2 years ago

finally a non electron yt client, i also have another question does sober use the same method.

path: 0 13149611, hotness: undefined, score: 6, children: 6
Wispy2891 1 point 2 years ago

Electron apps suck and should die but for a YouTube player it seems appropriate

path: 0 13149611 13156332, hotness: undefined, score: 1, children: 1
Mwa 1 point 2 years ago

Man Electron takes so much resources tho

path: 0 13149611 13156332 13163381, hotness: undefined, score: 1, children: 0
hankskyjames777 1 point 2 years ago

Sober uses the same method as mcpe-launcher with android minecraft

path: 0 13149611 13154157, hotness: undefined, score: 1, children: 1
Mwa 2 points 2 years ago

Oh

path: 0 13149611 13154157 13163384, hotness: undefined, score: 2, children: 0
woelkchen 1 point 2 years ago path: 0 13149611 13156782, hotness: undefined, score: 1, children: 1
Mwa 1 point 2 years ago

Thanks

path: 0 13149611 13156782 13163375, hotness: undefined, score: 1, children: 0
tomjuggler 5 points 2 years ago

Does anyone know if this is the same way Sober is running the port of Roblox?

path: 0 13132380, hotness: undefined, score: 5, children: 1
hankskyjames777 3 points 2 years ago

No, it's the same way as how mcpe-launcher works with android minecraft

path: 0 13132380 13154068, hotness: undefined, score: 3, children: 0
chemicalwonka 5 points 2 years ago

It didn't work on my Arch (btw) nor Fedora

path: 0 13120884, hotness: undefined, score: 5, children: 1
vinnymac 4 points 2 years ago

Someone on HN earlier today mentioned they would fix the Arch issues

path: 0 13120884 13124481, hotness: undefined, score: 4, children: 0
banghida 4 points 2 years ago

Wow

path: 0 13121226, hotness: undefined, score: 4, children: 0
jmf 4 points 2 years ago

really buggy on fedora kinoite

path: 0 13122487, hotness: undefined, score: 4, children: 2
PureTryOut 3 points 2 years ago

Well yes, it's still early days and very much WIP. But the fact it works at all is amazing and shows what can be done with more work.

path: 0 13122487 13126149, hotness: undefined, score: 3, children: 0
richardisaguy 3 points 2 years ago

feel you, brother

path: 0 13122487 13123452, hotness: undefined, score: 3, children: 0
Mwrp 3 points 2 years ago

I wonder how does it work? New pipe is originally a portarit application for Android.

path: 0 13124670, hotness: undefined, score: 3, children: 2
PureTryOut 9 points 2 years ago

It translates the Android API to Linux desktop-compatible calls, just like Wine does for Windows apps.

path: 0 13124670 13126170, hotness: undefined, score: 9, children: 0
tomjuggler 2 points 2 years ago

Newpipe works great on tablets too, a lot of Android apps have a landscape mode

path: 0 13124670 13132349, hotness: undefined, score: 2, children: 0
mariah 1 point 2 years ago

It won't show a file picker for importing subscriptions so rip

path: 0 13162123, hotness: undefined, score: 1, children: 0
linux
linux

@lemmy.ml

login for more options
68094
9454
5309

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

go to feed...