Threesea / An unofficial native Threema client

Threesea: an unofficial Threema client for Sailfish OS



The app was written by AI, and it’s an experiment. Please read the disclaimer below.


Moien,

I was interested in testing whether, with enough time and polishing, one could get a decent Sailfish OS app out of current AI coding tools.

After some smaller tests, I had the idea of bringing Threema to SFOS, and worked on that over several weeks. The result is Threesea: a native, unofficial client that works with Threema Libre licenses. It’s now in a state where I use it personally, and I thought someone here in the community might be interested in what I’ve got so far.

Paradoxically, I’m not the biggest fan of AI and its usage in the modern world. This project was born of curiosity, and I’m only publishing it in the hope that someone else will find it useful, either as inspiration to build and learn something themselves, or to at least have a somewhat sailfish-y experience when using Threema on SFOS.

To be clear: while I’m a software engineer myself, I’m proficient in neither Rust nor C++, and I have no prior experience in writing SFOS apps. This project is 100% vibe-coded.

I will maintain Threesea for the time being, as I personally like having one more native experience on my phone, and when something goes sideways, I at least know whose fault it is. Mine.

I’m absolutely happy about any feedback, bug reports and critique (especially regarding UI, UX and security), and will try to implement as much as possible. I’ve tried to make everything as “sailfishy” as I can, but mostly relied on pattern the stock Jolla Apps use, and surrendered to the “easy and obvious solution” from time to time because I had no Idea on how to do it any better.

That being said: I can’t and won’t give any warranties or promises about Threesea being usable in the long term, or about it always working as expected.

And everybody that installs it, should know this.

Because of that, I’ve decided against publishing it in any of the stores for now, and rely purely on .rpm distribution through the GitHub page. I feel like that’s the best way to avoid any “involuntary testers”.


Code: GitHub - penttimus/harbour-threesea: An unofficial experimental Threema client for Sailfish OS that's created with Claude Code. · GitHub

Download: Releases · penttimus/harbour-threesea · GitHub


Screenshots

These show made-up demo data, taken in the emulator.


Disclaimer: please read!

  • Fully made with AI. Threesea was developed with Claude Code (Anthropic) and audited with OpenAI Codex, directed and tested by me. These were AI-run reviews, not a professional security audit. It’s a research and experimentation project primarily done for my own use.
  • AI makes mistakes. The code, including its security-relevant parts, can contain errors that neither the AI nor I noticed. There is no warranty of any kind, and you use it at your own risk. I wouldn’t rely on it yet for anything where your safety depends on your messages staying private.
  • Not connected to Threema. Threesea is not affiliated with, endorsed or supported by Threema AG. I asked Threema about third-party clients. They told me they don’t actively block them as long as they cause no stability issues or high server load, are clearly marked as unofficial without using Threema’s branding, and don’t circumvent the licensing. Threesea aims to meet that. This isn’t a permission, and Threema can change its position.
  • Please don’t contact Threema’s support about this app. Questions and bugs belong here or on GitHub.
  • Keep a backup of your ID, as with any Threema app.

What works

Feature State
License check, ID creation, ID backup, Threema Safe :white_check_mark:
1:1 chats, delivery and read receipts, typing indicators :white_check_mark:
Forward secrecy :white_check_mark: Off while a device is linked, as Threema’s multi-device requires, or if you switch it off. No warning yet on a message sent without it.
Groups, mentions, distribution lists :white_check_mark:
Photos, videos, files, voice messages, GIFs, polls, locations :white_check_mark:
Quotes, reactions, edit, delete :white_check_mark:
Profile pictures, QR verification, address book matching (opt-in, hashed) :white_check_mark:
App lock, private chats, encrypted storage (SQLCipher) :white_check_mark:
Notifications with quick reply, cover, background connection :white_check_mark:
Sharing from other apps, Threema links :white_check_mark:
Threema for Desktop (multi-device), Threema Web :white_check_mark:
Archive, pinned chats, search, starred messages, auto-delete :white_check_mark:
1:1 and group calls, audio and video (Full only) :test_tube: Device testing still in progress
Report spam, 1:1 and groups :test_tube: A complete report has not been sent yet
German, French and Finnish translations :white_check_mark:

Not supported: Threema Work and OnPrem.


Which version?

Full Lite
Starts at login, background service :white_check_mark: Connected only once opened
Calls :white_check_mark: –
Follows the Jolla Store’s rules – :white_check_mark:

Install one or the other. Neither is in the Jolla Store or Chum yet, so releases are RPMs on GitHub, built by GitHub Actions with checksums and build attestations.


Install

You need Sailfish OS 5.1 or newer, Sailfish Secrets, developer mode, and a Threema for Android license key. Packages are for aarch64 and armv7hl.

Download the RPM for your phone, then in the terminal:

devel-su pkcon install-local harbour-threesea-full-0.2.0-1.aarch64.rpm

To switch between Full and Lite, run devel-su pkcon remove harbour-threesea first, then install the other. Your data stays in your home directory.


Thanks

To Threema AG for threema-android and libthreema (AGPL-3.0), to Jolla for Sailfish OS and Silica, and to Whisperfish as a reference for how such an app can be built. Also to Twemoji, opus-pure, webrtc-audio-processing, SQLCipher, GStreamer and Qt, with the full list in the README.

Threema is a trademark of its owner, and this project uses the name only to say what it works with.

Nice! I haven’t tested it yet, but I really like the looks of it! :slight_smile: I’ve been thinking about how to make Piirit feel more native to Sailfish OS, and I think you’ve done a great job there!

Is it possible to run android app and threesea in parallel like for whisperfish?

Thanks for the comprehensive disclaimer/disclosure!

Not with the same ID and license, as Threema does only allow one concurrent main device for those.

I wonder what happens if I connect with your app - is android threema disconnected and my history is lost, or can I reconnect it. And is it possible to restore a full backup from android threema?

Before trying anything, I would create a full data backup from within the Android app.

That being said: You should get a warning in the Android app that another device is now using this ID, and it should stop receiving messages. New messages only go to the device that logged in last, so if Android logs in again, it takes the ID back from Threesea. If you go back, uninstall Threesea first, or the two will keep pushing each other off.

Your history on Android should stay is it is tho. As far as I remember, the Threema server never touches the data on the phone directly.

The nice thing: Threesea can import the .zip data backups the Android app creates, and export in the same format. But, as with everything on Threesea, this hasn’t been tested much with real data yet (only my own export).

Going back from Threesea to Android is less proven: restoring a Threesea export on a real Android phone is untested so far, and some things aren’t exported yet (the export summary lists them). Android also asks you to delete your ID there before restoring a backup, so there is some inherit danger when doing that and something goes wrong.

I like the idea of posting them a 10€ note to remain anonymous…but since I know absolutely nobody who uses threema I can’t see the appeal. Also there are now other messengers like Briar that don’t require personal data. Kea, your dream has finally come true! Tell us why we should use this.

Uuuh, with all due respect, why would he need to?

:backhand_index_pointing_up:

Theres no Threema Libre license key in the Threema shop only the Threema for Android Key, is it the same?

Yes, it is! Should improve the wording there.

I personally use Threema since a long time, have lot of contacts there, and like the “pay for the product; don’t be the product” approach they take. They maintain it actively, are from Europe (Servers and HQ in Switzerland), and most of my contacts find it rather nice to use. Even the non-techy ones.

Threesea is basically made for me. An avid Threema user, that loves the UI and UX of native SFOS apps. Your mileage might vary, tho, If you don’t know anybody on there … and prefer decentralised messaging like Briar.

In the end, messengers mostly depend on the users you know on there. And basically everything that’s not a Meta product is a step in the right direction.

“Uuuh, with all due respect, why would he need to?” ok, I’ll rephrase, what are the advantages of Threema over other privacy oriented messengers?

I suppose in the end it comes down to i) where your existing contacts are, ii) since most of them are guaranteed to be on WhatsApp, whether you can annoy them into using something else, and iii) personal preference.

For a more facts-based discussion, here is one of the countless comparisons out there:

In my book, Threema beats at least Telegram and WhatsApp and is on par with Signal. But again, personal preference.

The app works very well so far, but I haven’t had any contacts yet. I’ll test it with a coworker today. Its design is very sober and tidy, with the well-known SailfishOS look, and I like it.

The verify phone number function doesn’t seem to work; I didn’t receive an SMS. Is this necessary to see which of my other friends use it?

@pentti Works: Threema license key entered. Threema backup. Test message to the colleague. Thanks!! TOP!! Another Android app less. I just want native apps!! Now just go to the chum with it. Or better yet, Jolla Store.

Threema Libre works in Sailfish. Only video calls weren’t possible because there was no connection to camera. This problem has been solved by installing Open Camera via FDroid. What will happen when Google boycots all open android apps in 2027 we don’t know yet.
Making a Sailfish version is nice but I wonder if AI can protect our privacy?
I had to export Threema a few times, which is a bit tricky : you can lose your history if you made no backup by yourself. That’s why I am waiting for another export. I have three o.s. android apps on my device.

Threema even beats Signal:
Signal needs a phone number, it makes use of Google servers. It is under US law. While Threema has its own server and your phone number for registration is not required.

To see which of your friends use Threema, you need to turn on “Find contacts from the address book” under Settings > Privacy. The default setting is for this to be turned off. The phone number verification is only needed for others to find you using that feature.

The SMS is only sent out (and therefore the confirmation screen only shown) when you enter a new number or e-mail address. If you imported your Threema ID, which had those already linked on android before, it will just accept them without verification. If that’s not the case, then there is most probably a bug.

In any case, I will work on better feedback to what just happened. The screen just closing without any message is for sure confusing. Thank you for telling me!

Wow, thanks a lot for this projekt! I hope that Threema will finally some close day deliver multi device capability, so we can use this in parallel to other clients as well with the same ID!
Maybe, and this is the feature request here, you could implement/vibecode a “light” mode where this client on SFOS serves as a client comparabele to the “threema desktop 2.0” linux client. So we have a limited multi device functionality.
Looking forward to the Commodore Callback, this could become a essential mode. :wink: