Julian Sparber is rewriting Fractal to support GTK 4 and end-to-end encryption

Purism developer Julian Sparber is rewriting Fractal so the Librem 5 will have a Matrix client that supports GTK 4, end-to-end encryption, Matrix “rooms” and the matrix-rust-sdk engine. It should have better performance and be more maintainable in the long term than the current version of Fractal. Julian is also working on the API for matrix-rust-sdk and has added API functions for Matrix rooms and avatars, and is planning on adding Matrix events to the API.

https://blogs.gnome.org/jsparber/2021/04/23/getting-fractal-up-to-speed/

I pre-ordered the Librem 5 to support this kind of dev work, and I just wanted to say that I appreciate Julian’s hard work to give Linux users a good Matrix client.

15 Likes

Right on!

I’m still not 100% on board with Matrix. I have found server performance in general really lacking and the need for a native server to be the first real issue the protocol has.

Still chat lives and dies by the quality of clients, so happy to hear about this!

1 Like

High level API for matrix, such a great potential. Appreciation is shared!
Over here my librem5 runs Revolt for Matrix. Its acceptable with some usability problems (no way to save images). and no video or regular calls. Would love to see the variety of clients increased.:partying_face::partying_face:

2 Likes

matrix-rust-sdk should help a lot with the backend performance and GTK 4 with hardware acceleration should speed up the interface a bit in desktop Linux. It sounds like it will be a while before we get hardware acceleration for GTK 4 in the Librem 5.

I believe the Matrix team is also working on rewriting the server component (currently called Synapse, but the new version will be called Dendrite). If it’s successful, it should also boost performance.

Synapse
Dendrite

Synapse and Dendrite < like the neural connections in the human nervous system … not bad guys !

For people that criticize Matrix let me add that (for us as Mathematicians) this is our only hope to have the ability to write Mathematics using TeX notation. There is already a version/fork of Riot/Element that supports this. Since Fractal is re-written let me add this wish: Please support math through TeX notation. It is very useful for helping out students.

2 Likes

I would be very careful with adding complicated types of content. We already have the mess with HTML mails which can be a attack vector and track the user.

When I see Signal there is no markup and style, only plain text. Sometimes I which that I would have simple styles like bold etc…

So I am not totally against this but I think developers should be very very careful about this and don’t add to complicated stuff that’s hard to validate.

I can’t judge how complicated TeX is. Isn’t there another way for math notation like Unicode characters or so?

Unicode is a set of characters. It is not a method for typesetting. Unicode will not help you write the square root of x+y+z, and if you think to bypass it by writing the root symbol followed by (x+y+z), then Unicode is of no help if you want to write and integral with endpoints.
In any case it does not need to have a complete support for TeX. I use matrix as a tool to communicate with my students quickly. Simple things like exponents and indices, roots, sums, products and integrals plus commands that directly point to Unicode symbols (eg \langle x, y \rangle which should give ⟨x,y⟩) is enough. The main thing is to understand the names of symbols. People can not learn to type ⟨ by remembering that this is u27e8.

You are both right. “Complexity” and “richness” are potential attack vectors but not necessarily broken by definition.

One way to look at it is that a messaging protocol and application is a transport mechanism. What the recipient does with the message is up to it.

A safe way to tackle this may be:

  • the transport mechanism allows the sender to specific a MIME type attribute for the message
  • the recipient display mechanism supports an enable/disable control for each recognised MIME type
  • the recipient display mechanism supports plug-ins for niche MIME types (as well as built-in support for more common MIME types)

So TeX may not even exist by default but if you install the right plug-in and enable the corresponding MIME type then voilà.

And @prolog can disable HTML.

Yes. Any image format. :slight_smile: But that won’t work if the intention is to edit the maths back and forth.