3.17 KB
Newer Older
Nico Alt's avatar
Nico Alt committed
1 2
# Briar GTK

Nico Alt's avatar
Nico Alt committed
3 4 5
[![pipeline status](](
[![coverage report](](

6 7
_Warning: This is still in a very early state and should be considered as prototype._

Nico Alt's avatar
Nico Alt committed
8 9 10 11 12
A simple GTK app for [Briar](, built with Python and GNOME Builder.
It uses the
[Briar REST API](
and therefore requires Java.

13 14 15 16 17 18 19 20 21 22 23 24
## Installation

So far, there is no official installation method and
you have to build it from source.

## Developers

The easiest and most convenient way is to build _briar-gtk_ using
In _Builder_, click "Clone Repository" at the bottom and
enter the URL to this Git project.

25 26 27
You can also call this:
flatpak remote-add --user --if-not-exists flathub
flatpak-builder builddir --install-deps-from=flathub --user --install --force-clean --ccache app.briar.gtk.yaml
29 30 31
flatpak run app.briar.gtk

Nico Alt's avatar
Nico Alt committed
32 33
## Design Goals

34 35 36
* Intuitive UI, similar to Briar Android client
* Main platform is GNU/Linux, but should also support (at least) Windows and macOS
* Analogously, main platform is x86, but should also support (at least) arm
37 38 39 40
* Follows [GNOME Human Interface Guidelines](
* Adaptive to different screen sizes (desktop and mobile devices)
* Has [phone constraints]( in mind
* Strictly separates API wrapper from GTK stuff, making former a solid base for other (commandline) clients
Nico Alt's avatar
Nico Alt committed

42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
## FAQ

### How can I add contacts?

Adding contacts isn't yet supported. Instead, you have to copy
the database and keys from a Briar Android installation. The most
convenient way to do so is by using
Note that your smartphone needs to be rooted for this.

1. Start _briar-gtk_ and register a dummy account. This will create
the needed directory structure at _~/.briar/_. Close the program afterwards.
2. Enable _adb_ on your smartphone and give it root permissions.
3. Connect via _adb_ and gain root permissions using `adb root`.
4. Copy all important files using `adb pull`:
5. Replace the respecting files in _~/.briar/db_ and _~/.briar/key_.

Nico Alt's avatar
Nico Alt committed
62 63 64 65 66 67 68 69 70 71 72
## License

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
[GNU Affero General Public License]( for more details.