2022-03-30 21:09:19 +00:00
[![Our chat room ](https://img.shields.io/matrix/fractal-gtk:matrix.org?color=blue&label=%23fractal%3Agnome.org&logo=matrix )](https://matrix.to/#/#fractal:gnome.org)
[![Our Gitlab project ](https://img.shields.io/badge/gitlab.gnome.org%2F-GNOME%2FFractal-green?logo=gitlab )](https://gitlab.gnome.org/GNOME/fractal/)
2022-05-06 14:53:49 +00:00
[![Our documentation ](https://img.shields.io/badge/%F0%9F%95%AE-Docs-B7410E?logo=rust )](https://gnome.pages.gitlab.gnome.org/fractal/)
2021-04-29 10:20:58 +00:00
2021-02-04 20:09:03 +00:00
# Fractal
2021-02-04 19:25:29 +00:00
2022-03-30 18:13:43 +00:00
Fractal is a Matrix messaging app for GNOME written in Rust. Its interface is optimized for
collaboration in large groups, such as free software projects.
2021-02-04 19:25:29 +00:00
2022-03-30 11:01:47 +00:00
![screenshot ](https://gitlab.gnome.org/GNOME/fractal/raw/main/screenshots/fractal.png )
2022-01-20 11:19:42 +00:00
## Work in Progress
2022-03-30 18:13:43 +00:00
We already talked several times in the past about rewriting the application, but for different
reasons we didn't do it. Now that the [matrix-rust-sdk ](https://github.com/matrix-org/matrix-rust-sdk )
exists, which does a lot of the heavy lifting for us, we have a good starting point to build Fractal
without the need to implement every single feature from the Matrix API. Finally with the release of
GTK4 we would need to rework most of Fractal's code anyways. Therefore, it just makes sense to start
over and build Fractal with all the features (e.g end-to-end encryption) we have in mind.
2022-01-20 11:19:42 +00:00
2022-03-30 18:13:43 +00:00
A year ago we started working on rewriting [Fractal ](https://gitlab.gnome.org/GNOME/fractal/ ) from
scratch using [GTK4 ](https://www.gtk.org/ ) and the [matrix-rust-sdk ](https://github.com/matrix-org/matrix-rust-sdk ).
2022-06-19 12:41:09 +00:00
This effort was called Fractal Next.
2022-01-20 11:19:42 +00:00
2022-06-19 12:41:09 +00:00
Fractal Next now replaced our previous codebase, and has become the new nightly version. It isn't
2022-03-30 18:13:43 +00:00
yet ready for a release and you can follow along our progress towards it by looking at the
2022-07-29 09:52:26 +00:00
[Fractal v5 (Fractal-next) ](https://gitlab.gnome.org/GNOME/fractal/-/milestones/18 ) milestone.
2021-02-04 19:25:29 +00:00
2021-02-04 20:09:03 +00:00
## Installation instructions
2021-02-04 19:25:29 +00:00
2022-03-31 09:46:21 +00:00
### Stable version
2022-06-19 12:41:09 +00:00
The current stable version is 4.4.0 (released August 2020).
2021-02-04 19:25:29 +00:00
2022-06-19 12:41:09 +00:00
Flatpak is the recommended installation method.
Until our next iteration is ready, you can get the official Fractal Flatpak on Flathub.
2021-02-04 19:25:29 +00:00
2022-06-19 12:41:09 +00:00
< a href = "https://flathub.org/apps/details/org.gnome.Fractal" >
< img
src="https://flathub.org/assets/badges/flathub-badge-i-en.png"
alt="Download Fractal on Flathub"
width="240px"
2022-09-03 17:03:16 +00:00
height="80px"
2022-06-19 12:41:09 +00:00
/>
2021-02-04 20:09:03 +00:00
< / a >
2021-02-04 19:25:29 +00:00
2022-03-31 09:46:21 +00:00
### Development version
2022-06-19 12:41:09 +00:00
If you want to try Fractal Next without building it yourself, it is available as a nightly Flatpak
2022-03-31 09:46:21 +00:00
in the gnome-nightly repo.
2022-09-03 17:03:16 +00:00
First, setup the GNOME nightlies.
< a href = "https://nightly.gnome.org/gnome-nightly.flatpakrepo " >
< img
src="https://gitlab.gnome.org/GNOME/fractal/uploads/447997cccc862eb27483b9c61b8a8a12/gnome-nightly.png"
alt="Add gnome-nightly repository"
width="240px"
height="80px"
/>
< / a >
Then install the application.
< a href = "https://nightly.gnome.org/repo/appstream/org.gnome.Fractal.Devel.flatpakref" >
< img
src="https://gitlab.gnome.org/GNOME/fractal/uploads/a688e9176e8e76d630993869c13a0222/download-fractal-nightly.png"
alt="Download Fractal Nightly"
width="240px"
height="80px"
/>
< / a >
Or from the command line:
2022-03-31 09:46:21 +00:00
```sh
2022-09-03 07:58:46 +00:00
# Add the gnome-nightly repo
2022-03-31 09:46:21 +00:00
flatpak remote-add --user --if-not-exists gnome-nightly https://nightly.gnome.org/gnome-nightly.flatpakrepo
# Install the nightly build
flatpak install --user gnome-nightly org.gnome.Fractal.Devel
```
2022-08-29 09:18:28 +00:00
### Runtime Dependencies
2021-02-04 20:09:03 +00:00
2022-10-17 14:00:07 +00:00
Fractal doesn't store your **password** but uses
[Secret Service ](https://www.freedesktop.org/wiki/Specifications/secret-storage-spec/ )
2022-09-26 13:41:07 +00:00
to store your **access token** and **passphrase** used to encrypt the local cache.
Therefore, you need to have software providing that service on your system.
2022-10-17 14:00:07 +00:00
If you're using GNOME this should just work.
If you are using a different desktop environment or are facing issues,
make sure you have `xdg-desktop-portal` installed and a
[Secret Service ](https://www.freedesktop.org/wiki/Specifications/secret-storage-spec/ ) provider,
for example `gnome-keyring` or KeepassXC ([setup guide](https://avaldes.co/2020/01/28/secret-service-keepassxc.html)).
2022-09-26 13:41:07 +00:00
## Security Best Practices
Additionally to setting up the [Secret Service ](https://www.freedesktop.org/wiki/Specifications/secret-storage-spec/ ),
make sure to use a strong **password** for the keyring, or for the user session if used to unlock the keyring
(normally it's the case), since it will be used to encrypt secrets in **Secret Service** .
Furthermore, make sure to lock your system when stepping away from the computer since an unlocked computer
gives other people access to your private communications and stored secrets.
2022-04-03 09:02:55 +00:00
2022-08-29 09:18:28 +00:00
## Contributing
2022-04-03 09:02:55 +00:00
2022-08-29 09:18:28 +00:00
### Code
2021-02-04 20:09:03 +00:00
2022-08-29 09:18:28 +00:00
Please follow our [contributing guidelines ](CONTRIBUTING.md ).
2021-02-04 20:09:03 +00:00
### Translations
2022-03-30 18:13:43 +00:00
Fractal is translated by the GNOME translation team on [Damned lies ](https://l10n.gnome.org/ ).
2021-02-04 20:09:03 +00:00
2022-06-19 12:41:09 +00:00
Find your language in the list on [the Fractal module page on Damned lies ](https://l10n.gnome.org/module/fractal/ ).
2021-02-04 20:09:03 +00:00
2022-09-24 14:07:37 +00:00
The names of the emoji displayed during verification come from [the Matrix specification repository ](https://github.com/matrix-org/matrix-spec/tree/main/data-definitions ).
They are translated on [Element’ s translation platform ](https://translate.element.io/projects/matrix-doc/sas-emoji-v1 ).
2021-02-04 20:09:03 +00:00
## Frequently Asked Questions
* Does Fractal have encryption support? Will it ever?
2022-06-19 12:41:09 +00:00
Yes, the current development version (`main` branch) has encryption support using Cross-Signing. See
2022-03-30 18:13:43 +00:00
< https: / / gitlab . gnome . org / GNOME / fractal / - / issues / 717 > for more info on the state of encryption.
2021-02-04 20:09:03 +00:00
* Can I run Fractal with the window closed?
2022-03-30 18:13:43 +00:00
Currently Fractal does not support this. Fractal is a GNOME application, and accordingly adheres GNOME
guidelines and paradigms. This will be revisited if or when GNOME gets a "Do Not Disturb" feature.
2021-02-04 20:09:03 +00:00
## The origin of Fractal
2022-06-19 12:41:09 +00:00
The development version is a complete rewrite of Fractal built on top of the
2022-03-30 18:13:43 +00:00
[matrix-rust-sdk ](https://github.com/matrix-org/matrix-rust-sdk ) using [GTK4 ](https://gtk.org/ ).
2021-02-04 20:09:03 +00:00
2022-03-31 10:06:55 +00:00
The previous version of Fractal was using GTK3 and its own backend to talk to a matrix homeserver,
2022-06-19 12:41:09 +00:00
the code can be found in the [`legacy` branch ](https://gitlab.gnome.org/GNOME/fractal/-/tree/legacy ).
2022-03-31 10:06:55 +00:00
2022-01-20 11:19:42 +00:00
Initial versions were based on Fest < https: / / github . com / fest-im / fest > , formerly called ruma-gtk.
2022-03-30 18:13:43 +00:00
In the origins of the project it was called guillotine, based on French revolution, in relation with
the Riot client name, but it's a negative name so we decide to change for a math one.
2021-02-04 20:09:03 +00:00
The name Fractal was proposed by Regina Bíró.
2021-02-04 19:25:29 +00:00
2021-02-04 20:09:03 +00:00
## Code of Conduct
2021-02-04 19:25:29 +00:00
2021-02-04 20:09:03 +00:00
Fractal follows the official GNOME Foundation code of conduct. You can read it [here ](/code-of-conduct.md ).