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
2023-11-24 11:53:10 +00:00
collaboration in large groups, such as free software projects, and will fit all screens, big or small.
2021-02-04 19:25:29 +00:00
2023-11-24 11:53:10 +00:00
![screenshot ](https://gitlab.gnome.org/GNOME/fractal/raw/main/screenshots/main.png )
2022-01-20 11:19:42 +00:00
2023-11-24 11:53:10 +00:00
Highlights:
2022-01-20 11:19:42 +00:00
2023-11-24 11:53:10 +00:00
* Find rooms to discuss your favorite topics, or talk privately to people, securely thanks to end-to-end encryption
* Send rich formatted messages, files, or your current location
* Reply to specific messages, react with emoji, edit or remove messages
* View images, and play audio and video directly in the conversation
* See who has read messages, and who is typing
* Log into multiple accounts at once (with Single-Sign On support)
2021-02-04 19:25:29 +00:00
2023-12-08 13:38:00 +00:00
## Contents
2023-12-03 11:57:17 +00:00
[TOC]
2021-02-04 20:09:03 +00:00
## Installation instructions
2021-02-04 19:25:29 +00:00
2023-11-27 12:37:35 +00:00
Flatpak is the recommended installation method. For installing any of our Flatpaks, you need to
make sure your system is [set up with the Flathub remote ](https://flathub.org/setup ).
All of our Flatpaks can be installed in parallel, offering you the opportunity to try out the
development version while keeping the stable release around for daily use.
2022-03-31 09:46:21 +00:00
### Stable version
2023-11-24 11:53:10 +00:00
The current stable version is 5 (released November 24th 2023).
2021-02-04 19:25:29 +00:00
2023-11-27 12:37:35 +00:00
You can get the official Fractal Flatpak from 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
2023-05-05 16:02:44 +00:00
src="https://flathub.org/assets/badges/flathub-badge-i-en.svg"
2022-06-19 12:41:09 +00:00
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
2023-05-16 18:26:19 +00:00
### Beta version
2023-12-21 15:50:00 +00:00
The current beta version is 6.beta (released December 21st 2023).
2023-05-16 18:26:19 +00:00
It is available as a Flatpak on Flathub Beta.
2023-11-27 12:37:35 +00:00
To get it, first set up the Flathub Beta remote:
2023-05-16 18:26:19 +00:00
```sh
2023-05-19 18:40:08 +00:00
flatpak remote-add --user --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo
2023-05-16 18:26:19 +00:00
```
2023-11-15 19:52:01 +00:00
Or download and install the [Flathub Beta repository file ](https://flathub.org/beta-repo/flathub-beta.flatpakrepo ).
2023-05-16 18:26:19 +00:00
2023-11-15 19:52:01 +00:00
Then, install the application:
2023-05-16 18:26:19 +00:00
```sh
flatpak install --user flathub-beta org.gnome.Fractal
```
Or download and install the [application file ](https://flathub.org/beta-repo/appstream/org.gnome.Fractal.flatpakref ).
Finally, run the application:
```sh
flatpak run org.gnome.Fractal//beta
```
If you want to run the beta version by default instead of the stable version, use this command:
```sh
flatpak make-current org.gnome.Fractal beta
```
_Note that you can go back to using the stable version by default by using the same command and
replacing `beta` with `stable` ._
2022-03-31 09:46:21 +00:00
### Development version
2023-05-16 18:26:19 +00:00
If you want to try the upcoming version of Fractal without building it yourself, it is available as a nightly Flatpak
2023-12-13 15:08:48 +00:00
in [the gnome-nightly repo ](https://nightly.gnome.org/ ).
2022-03-31 09:46:21 +00:00
2023-05-16 18:26:19 +00:00
First, set up the GNOME nightlies.
2022-09-03 17:03:16 +00:00
< a href = "https://nightly.gnome.org/gnome-nightly.flatpakrepo " >
< img
2023-05-05 16:02:44 +00:00
src="https://gitlab.gnome.org/GNOME/fractal/uploads/c276f92660dcf50067714ac08e193fea/gnome-nightly-badge.svg"
2022-09-03 17:03:16 +00:00
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
2023-05-05 16:02:44 +00:00
src="https://gitlab.gnome.org/GNOME/fractal/uploads/5e42d322eaacc7da2a52bfda9f7a4e53/fractal-nightly-badge.svg"
2022-09-03 17:03:16 +00:00
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-12-04 11:49:01 +00:00
Fractal doesn’ t store your **password** , but it stores your **access token** and the **passphrase**
used to encrypt the database and the local cache.
2023-11-27 12:34:27 +00:00
The Fractal Flatpaks use the [Secret **Portal** ](https://docs.flatpak.org/en/latest/portal-api-reference.html#gdbus-org.freedesktop.portal.Secret )
to store those secrets. If you are using GNOME this should just work. If you are using a different
desktop environment or are facing issues, make sure `xdg-desktop-portal` is installed along with a
service that provides the [Secret portal backend interface ](https://docs.flatpak.org/en/latest/portal-api-reference.html#gdbus-org.freedesktop.impl.portal.Secret ),
which is currently only implemented by gnome-keyring.
Any version that is not sandboxed relies on software that implements the [Secret **Service** API ](https://www.freedesktop.org/wiki/Specifications/secret-storage-spec/ )
2022-12-04 11:49:01 +00:00
to store those secrets. Therefore, you need to have software providing that service on your system,
like gnome-keyring, KeepassXC ([setup guide](https://avaldes.co/2020/01/28/secret-service-keepassxc.html)),
2023-11-27 12:34:27 +00:00
or a recent version of KWallet. Once again, if you are using GNOME this should just work.
2022-12-04 11:49:01 +00:00
2023-11-27 12:34:27 +00:00
If you prefer to use software that only implements the Secret Service API while using the Flatpaks,
you need to make sure that no service implementing the Secret portal backend interface is running,
and you need to allow Fractal to access the D-Bus service with this command:
2022-12-04 11:49:01 +00:00
```sh
2023-05-22 20:05:51 +00:00
flatpak override --user --talk-name=org.freedesktop.secrets org.gnome.Fractal
2022-12-04 11:49:01 +00:00
```
2023-05-22 20:05:51 +00:00
_For the nightly version, change the application name to `org.gnome.Fractal.Devel` ._
2022-12-04 11:49:01 +00:00
Or with [Flatseal ](https://flathub.org/apps/details/com.github.tchx84.Flatseal ), by adding
`org.freedesktop.secrets` in the **Session Bus** > **Talk** list of Fractal.
2022-09-26 13:41:07 +00:00
## Security Best Practices
2022-12-04 11:49:01 +00:00
You should use a strong **password** that is hard to guess to protect the secrets stored on your
device, whether the password is used directly to unlock your secrets (with a password manager for
example) or if it is used to open your user session and your secrets are unlocked automatically
(which is normally the case with a GNOME session).
Furthermore, make sure to lock your system when stepping away from the computer since an unlocked
computer can allow other people to access your private communications and your 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
2023-11-24 11:53:10 +00:00
* Does Fractal have encryption support?
2021-02-04 20:09:03 +00:00
2023-11-24 11:53:10 +00:00
**Yes**, since Fractal 5, encryption is supported 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-12-04 11:49:01 +00:00
Currently Fractal does not support this. Fractal is a GNOME application, and accordingly adheres to
the GNOME guidelines and paradigms. This will be revisited if or when GNOME gets a proper paradigm
to interact with apps running in the background.
2021-02-04 20:09:03 +00:00
## The origin of Fractal
2023-11-24 11:53:10 +00:00
The current 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 ).