Cheeky fork of Fractal
Find a file
Jan Tojnar 4125df1774 meson: Clarify license
SPDX is the standard recommended by Meson.
2021-03-14 16:06:38 +00:00
.gitlab/issue_templates issues: add homeserver to template 2021-01-04 11:02:12 +01:00
flatpak Fix and update libhandy dependency 2020-11-10 07:48:39 +00:00
fractal-gtk Update Indonesian translation 2021-03-05 12:10:44 +00:00
hooks Apply 2 suggestion(s) to 1 file(s) 2021-01-06 11:00:03 +00:00
screenshots general: Remove unused files 2020-11-09 18:40:54 -08:00
scripts fractal-gtk/res: rename appdata to metainfo 2020-05-15 14:40:28 +02:00
.editorconfig Add .editorconfig 2017-07-12 05:10:43 +10:00
.gitignore Remove static_resources.rs from .gitignore 2020-11-07 15:47:08 +01:00
.gitlab-ci.yml CI: Remove pages pipeline 2021-01-03 18:45:23 -08:00
.rustfmt.toml Remove unnecessary rustfmt config 2020-08-13 14:19:01 +09:00
Cargo.lock bump matrix-sdk to e437aea01213338d7f11787411a025b6133efcff 2021-02-12 11:44:58 +00:00
Cargo.toml Relocate files 2020-12-01 17:39:37 +01:00
code-of-conduct.md Add official GNOME Code of Conduct 2019-10-06 17:00:35 -07:00
CONTRIBUTING.md Add contribution guidelines 2021-02-13 21:18:09 +01:00
fractal.doap Add myself as maintainer 2020-12-15 10:41:49 +01:00
LICENSE.txt Added GPLv3 Licence 2017-08-21 19:06:07 +02:00
logo.png Add project logo 2018-02-12 10:04:41 +01:00
meson.build meson: Clarify license 2021-03-14 16:06:38 +00:00
meson_options.txt build: Allow parallel installation 2018-08-24 13:54:47 +05:00
README.md Restore CoC section and fix a typo, in the README 2021-02-17 10:33:45 +00:00

Fractal

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.

screenshot

Fractal-next initiative

We are working on rewriting Fractal from scratch using GTK4 and the matrix-rust-sdk. This effort is called fractal-next.

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 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 features (e.g end-to-end encryption) we have in mind.

The main development branch is fractal-next. Issues that target fractal-next should be labeled accordingly as "fractal-next".

Milestones

The main milestone we try to achieve is to support all features the current Fractal has so that we can switch from Fractal to Fractal-next as the main codebase. In more details we need to implement the following features:

  • Base functionality: Fractal-next allows an user to login into there account and view rooms and the room history.
  • Room details: The user can view and change room settings (room visibility, roles and permissions, etc.) and view room members.
  • Room management: The user can create, join and leave rooms.
  • Room categories: The user can group rooms into different categories.
  • Room history search: Allow users to search the room history.
  • Notification settings: The user can set global notification preferences and per-room notification preferences.
  • Account settings: The user can view and change it's own profile and manage logged-in devices.
  • Support different message types: The room history shows different message types e.g. emotes, stickers, images, videos.
  • End-to-end encryption: Fractal-next can manage encryption keys and read/write encrypted messages.
  • Room discovery: The user can search for public rooms and join them.
  • Notification Viewer: Fractal-next has a viewer for all important notifications collected in one area.
  • Multi-account support: Support multiple Matrix accounts.
  • Third-party identifiers: The user can login via e-mail address or phone-number.

Installation instructions

Flatpak is the recommended installation method. You can get the official Fractal Flatpak on Flathub.

Build Instructions

Flatpak

Flatpak is the recommended way of building and installing Fractal.

First you need to make sure you have the GNOME SDK and Rust toolchain installed.

# Add Flathub and the gnome-nightly repo
flatpak remote-add --user --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
flatpak remote-add --user --if-not-exists gnome-nightly https://nightly.gnome.org/gnome-nightly.flatpakrepo

# Install the gnome-nightly Sdk and Platform runtime
flatpak install --user gnome-nightly org.gnome.Sdk org.gnome.Platform

# Install the required rust-stable extension from Flathub
flatpak install --user flathub org.freedesktop.Sdk.Extension.rust-stable//20.08

Then you go ahead and build Fractal.

flatpak-builder --user --install fractal flatpak/org.gnome.Fractal.json

GNU/Linux

If you decide to ignore our recommendation and build on your host system, outside of Flatpak, you will need Meson and Ninja (as well as Rust and Cargo).

meson . _build --prefix=/usr/local
ninja -C _build
sudo ninja -C _build install

macOS

brew install gtk+3 dbus bash adwaita-icon-theme libhandy gtksourceview4 \
    gspell gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-editing-services
# empirically needs 3.22.19 or later of gtk3+
# ...and run configure as:
/usr/local/bin/bash -c "meson . _build --prefix=/usr/local"
ninja -C _build
sudo ninja -C _build install

Translations

Fractal is translated by the GNOME translation team on Damned lies.

If you want to add a new language you should update the file fractal-gtk/po/LINGUAS and add the code for that language to the list.

Get the pot file from the Fractal module page on Damned lies.

Password Storage

Fractal uses Secret Service to store the password so you should have something providing that service on your system. If you're using GNOME or KDE this should work for you out of the box with gnome-keyring or ksecretservice.

Supported m.room.message (msgtypes)

msgtypes Recv Send
m.text Done Done
m.emote Done Done
m.notice
m.image Done Done
m.file Done Done
m.location
m.video Done Done
m.audio Done Done

Full reference in: https://matrix.org/docs/spec/client_server/r0.2.0.html#m-room-message-msgtypes

Frequently Asked Questions

  • Does Fractal have encryption support? Will it ever?

Fractal does not currently have encryption support, but there is an initiative for it.

We are now partially using matrix-rust-sdk rather than our own implementation. (See https://gitlab.gnome.org/GNOME/fractal/-/issues/636) and are working towards using it completely.

Code and further information for this module can be found at matrix/matrix-rust-sdk.

  • Can I run Fractal with the window closed?

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.

Code of Conduct

Fractal follows the official GNOME Foundation code of conduct. You can read it here.