this post was submitted on 15 Jul 2024
26 points (93.3% liked)

Linux Phones

4769 readers
9 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 8 comments
sorted by: hot top controversial new old
[–] poVoq@slrpnk.net 4 points 1 month 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 1 points 1 month ago

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

[–] kionite231@lemmy.ca 2 points 1 month ago

Thank you so much for this post!

[–] warmaster@lemmy.world 1 points 1 month ago (1 children)

Is Beeper's WhatsApp bridge not open source?

[–] erebion@lemmy.sdf.org 1 points 1 month ago

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

[–] slacktoid@lemmy.ml 1 points 1 month 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 1 month ago (1 children)

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

[–] slacktoid@lemmy.ml 2 points 1 month ago