• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.cargo/H07-Aug-2020-2116

build-aux/snap/H07-Aug-2020-119112

flatpak/H07-Aug-2020-230228

fractal-gtk/H07-Aug-2020-54,43044,767

fractal-matrix-api/H07-Aug-2020-2,3301,986

hooks/H07-Aug-2020-2620

screenshots/H03-May-2022-

scripts/H07-Aug-2020-9966

subprojects/H07-Aug-2020-75

vendor/H07-Aug-2020-2,494,6022,034,462

.editorconfigH A D07-Aug-2020149 128

.rustfmt.tomlH A D07-Aug-202042 32

Cargo.lockH A D07-Aug-202073.5 KiB3,1252,824

Cargo.tomlH A D07-Aug-2020163 1411

README.mdH A D07-Aug-20205 KiB156105

TODOH A D07-Aug-2020816 2821

code-of-conduct.mdH A D07-Aug-202010.8 KiB12792

fractal.doapH A D07-Aug-2020660 1916

meson.buildH A D03-May-20222.9 KiB10181

README.md

1# Fractal
2
3Fractal is a Matrix messaging app for GNOME written in Rust. Its interface is optimized for collaboration in large groups, such as free software projects.
4
5* Come to talk to us on Matrix: <https://matrix.to/#/#fractal-gtk:matrix.org>
6* Main repository: <https://gitlab.gnome.org/GNOME/fractal/>
7
8![screenshot](https://gitlab.gnome.org/GNOME/fractal/raw/master/screenshots/fractal.png)
9
10## Installation instructions
11
12Flatpak is the recommended installation method. You can get the official
13Fractal Flatpak on Flathub.
14
15<a href="https://flathub.org/apps/details/org.gnome.Fractal">
16<img src="https://flathub.org/assets/badges/flathub-badge-i-en.png" width="190px" />
17</a>
18
19Fractal can also be installed as a snap on any distro with snap support enabled
20
21<a href="https://snapcraft.io/fractal">
22<img src="https://github.com/snapcore/snap-store-badges/raw/master/EN/[EN]-snap-store-white.png" width="182px" />
23</a>
24
25## Build Instructions
26
27### Flatpak
28
29Flatpak is the recommended way of building and installing Fractal.
30
31First you need to make sure you have the GNOME SDK and Rust toolchain installed.
32
33```
34# Add Flathub and the gnome-nightly repo
35flatpak remote-add --user --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
36flatpak remote-add --user --if-not-exists gnome-nightly https://nightly.gnome.org/gnome-nightly.flatpakrepo
37
38# Install the gnome-nightly Sdk and Platform runtime
39flatpak install --user gnome-nightly org.gnome.Sdk org.gnome.Platform
40
41# Install the required rust-stable extension from Flathub
42flatpak install --user flathub org.freedesktop.Sdk.Extension.rust-stable//19.08
43```
44
45Then you go ahead and build Fractal.
46
47```
48flatpak-builder --user --install fractal flatpak/org.gnome.Fractal.json
49```
50
51### Snap
52
53To build as a snap simply install snapcraft
54
55```
56snap install --classic snapcraft
57snapcraft
58```
59
60The snapcraft build will produce a file that ends with .snap that can be easily installed with the snap command
61
62```
63snap install --dangerous FILENAME.snap
64```
65
66### GNU/Linux
67
68If you decide to ignore our recommendation and build on your host system,
69outside of Flatpak or snap, you will need Meson and Ninja (as well as Rust and Cargo).
70
71```sh
72meson . _build --prefix=/usr/local
73ninja -C _build
74sudo ninja -C _build install
75```
76
77### macOS
78
79```sh
80brew install gtk+3 dbus bash adwaita-icon-theme
81# empirically needs 3.22.19 or later of gtk3+
82# ...and run configure as:
83/usr/local/bin/bash -c "meson . _build --prefix=/usr/local"
84ninja -C _build
85sudo ninja -C _build install
86```
87
88### Translations
89
90Fractal is translated by the GNOME translation team on
91[Damned lies](https://l10n.gnome.org/).
92
93If you want to add *a new language* you should update the file
94`fractal-gtk/po/LINGUAS` and add the code for that language
95to the list.
96
97Get the pot file from [the Fractal module page on Damned lies](https://l10n.gnome.org/module/fractal/).
98
99### Password Storage
100
101Fractal uses [Secret Service](https://www.freedesktop.org/wiki/Specifications/secret-storage-spec/)
102to store the password so you should have something providing
103that service on your system. If you're using GNOME or KDE
104this should work for you out of the box with gnome-keyring or
105ksecretservice.
106
107## Supported m.room.message (msgtypes)
108
109msgtypes          | Recv                | Send
110--------          | -----               | ------
111m.text            | Done                | Done
112m.emote           | Done                | Done
113m.notice          |                     |
114m.image           | Done                | Done
115m.file            | Done                | Done
116m.location        |                     |
117m.video           | Done                | Done
118m.audio           | Done                | Done
119
120Full reference in: <https://matrix.org/docs/spec/client_server/r0.2.0.html#m-room-message-msgtypes>
121
122## Frequently Asked Questions
123
124* Does Fractal have encryption support? Will it ever?
125
126Fractal does not currently have encryption support, but
127there is an initiative for it.
128
129We are heading towards using matrix-rust-sdk rather than our own implementation. (See https://gitlab.gnome.org/GNOME/fractal/-/issues/636)
130
131Code and further information for this module can be found at [matrix/matrix-rust-sdk](https://github.com/matrix-org/matrix-rust-sdk).
132
133* Can I run Fractal with the window closed?
134
135Currently Fractal does not support this. Fractal is a
136GNOME application, and accordingly adheres GNOME
137guidelines and paradigms. This will be revisited if or
138when GNOME gets a "Do Not Disturb" feature.
139
140## The origin of Fractal
141
142This project is based on Fest <https://github.com/fest-im/fest>, formerly called ruma-gtk.
143
144Instead of using RUMA Client, Fractal calls directly to the matrix.org
145REST API.
146
147The first version of this project was called guillotine, based on French revolution,
148in relation with the Riot client name, but it's a negative name so we decide
149to change for a math one.
150
151The name Fractal was proposed by Regina Bíró.
152
153## Code of Conduct
154
155Fractal follows the official GNOME Foundation code of conduct. You can read it [here](/code-of-conduct.md).
156