this post was submitted on 15 Jul 2024
28 points (93.8% liked)

Linux Phones

4980 readers
2 users here now

Community about running GNU/Linux on phones. Projects like Ubuntu Touch, Plasma Mobile, PostmarketOS, Mobian etc. Either on former Android phones or hardware like the PinePhone.

See also:

Related chats:

founded 4 years ago
MODERATORS
 

I personally don't use it, but I often see people complaining that they cannot use it on their Linux phone and that might help.

I stumbled across a project which implements the client connection, like the app does, for WhatsApp: https://github.com/WhiskeySockets/Baileys

That would allow building a third-party WhatsApp client.

That should also be relatively simple to integrate into a Matrix bridge such as mautrix-whatsapp. Apparently it uses the same API as the app, but it authenticates as a web client. If someone were to implement the authentication of the app, people could start using WhatsApp without the app and also comfortably bridged to Matrix.

You can still link the bridge to the app currently, but the app needs to be online or the bridge will get disconnected after a few days. And if you don't want to have a phone constantly running, you probably want a VM for the app and then that all gets fiddly.

Also, I recently found a blog post on how to build Matrix bridges, so that should be feasibe if anyone wants to implement that as part of the existing bridge: https://mau.fi/blog/megabridge-twilio/

top 10 comments
sorted by: hot top controversial new old
[–] poVoq@slrpnk.net 5 points 3 months ago (1 children)

I am pretty sure the existing mautrix-whatsapp bridge also uses the WhatsApp Web API, so there would be no difference.

[–] erebion@lemmy.sdf.org 2 points 3 months ago

It does not support the app's authentication yet, so there would be a noticeable difference with that implemented.

[–] atomkarinca@lemmygrad.ml 3 points 3 months ago (1 children)

Connecting Native Mobile API

Baileys also supports the native mobile API, which allows users to authenticate as a standalone WhatsApp client using their phone number.

does this mean we wouldn't need an official client to connect to every 14 days?

[–] erebion@lemmy.sdf.org 2 points 3 months ago

Exactly that.

[–] warmaster@lemmy.world 2 points 3 months ago (1 children)

Is Beeper's WhatsApp bridge not open source?

[–] erebion@lemmy.sdf.org 2 points 3 months ago

It is, but you still need the app running somewhere.

[–] kionite231@lemmy.ca 2 points 3 months ago

Thank you so much for this post!

[–] slacktoid@lemmy.ml 1 points 3 months ago (1 children)

+1 for the mautrix bridge. The app only needs to be brought up once every 14 days after which you'll get kicked

[–] erebion@lemmy.sdf.org 1 points 3 months ago (1 children)

Yes, but even the app could be avoided altogether with the other authentication method implemented. :)

[–] slacktoid@lemmy.ml 2 points 3 months ago