Port Open Source Messenger 'Delta Chat' to SFOS

Sailors and friends,
There’s an app named Delta Chat, a messenger that uses end-to-end encrypted e-mail but looks like WA. It’s Open Source and the Android app works fine with Sailfish Appsupport.

Link to their homepage:

Link to Github:

Q: Is there a way to create a native SFOS app out of the sources from GitHub?

3 Likes

There is also a port for UT, maybe that helps porting.

That leads to the question: is it possible to port UT apps generally to SFOS and also SFOS apps to UT, as basically both is Linux.

Many work for both Systems for example puremaps. Delta Chat is quite old and therefore pretty stable. Good messenger alternative. I guess that sailtrix is the only native sailfish messenger based on matrix, which is fully open source and decentralized. Another one would be nice. And email is something mostly everybody has.

More information from ubuntu touch app store, openstore app DeltaTouch here … OpenStore

Many of the popular mail servers need a bit of work to get them to work. But thats not a big issue.

Sailtrix hasn’t seen an update in ages. Works but its missing a lot of stuff. Probably the dev doesn’t have time or abandoned the effort. And its sad.

I am in the process of porting a very very simple UT app to SFOS.
That one is using a plain c++ backend and qml.

The c++ part compiled and ran right away.
The qml part needed conversion of some UT-specific parts to either plain qml or Silica.

So for that app it is possible, but the qml conversion took almost as long as writing a new frontend from scratch in Silica. It did help that all the ‘logic’ was there already though.

So yes, for some UT apps porting is possible, but depending on the app, it may be considerable effort.

3 Likes

First step would probably be to get this to compile (rust):

If that is available, draw the rest of the fucking owl, i.e. wrap it and make an UI, a la whisperfish and fernschreiber.

2 Likes

Alternative possibility: do what Hydrogen did: try to get the ‘desktop’, i.e. Electron/Tauri/Webapp variant to build, and wrap it in WebView.

1 Like

Oh yes, this is what I wanted already a year ago! :heart_eyes:

There is also a python library interfacing with the rust one:

https://pypi.org/project/deltachat/

So once the lib is available, a native app would not necessarily need to talk to it directly, pyotherside could help.

2 Likes

I have tried to build the rust library on OBS, but failed.

Rust in SFOS5 is too old for at least 3 of the dependent crates, and cargo is too old to read the latest version’s config (1.160.0, the previous version doesn’t have that problem).

If any of the local rust people have a newer compiler available, here’s what I have so far:

https://build.sailfishos.org/package/show/home:nephros:devel:email/deltachat-core

5 Likes