| 1 |
# Fragments |
| 2 |
|
| 3 |
 |
| 4 |
|
| 5 |
An easy to use BitTorrent client. Fragments can be used to transfer files via the BitTorrent peer-to-peer file-sharing protocol, such as videos, music or installation images for Linux distributions. |
| 6 |
|
| 7 |
## Getting in Touch |
| 8 |
If you have any questions regarding the use or development of Fragments, |
| 9 |
want to discuss design or simply hang out, please join us on our [#fragments:gnome.org](https://matrix.to/#/#fragments:gnome.org) matrix room. |
| 10 |
|
| 11 |
## Installation |
| 12 |
The recommended way of installing Fragments is using the Flatpak package. If you don't have Flatpak installed yet, you can get it from [here](https://flatpak.org/setup/). You can install stable builds of Fragments from Flathub by using this command: |
| 13 |
|
| 14 |
`flatpak install https://flathub.org/repo/appstream/de.haeckerfelix.Fragments.flatpakref` |
| 15 |
|
| 16 |
Or by clicking this button: |
| 17 |
|
| 18 |
<a href="https://flathub.org/apps/details/de.haeckerfelix.Fragments"><img src="https://flathub.org/assets/badges/flathub-badge-en.png" width="200"/></a> |
| 19 |
|
| 20 |
#### Nightly Builds |
| 21 |
|
| 22 |
Development builds of Fragments are available from the `gnome-nightly` Flatpak repository: |
| 23 |
|
| 24 |
``` |
| 25 |
flatpak remote-add --if-not-exists gnome-nightly https://nightly.gnome.org/gnome-nightly.flatpakrepo |
| 26 |
flatpak install gnome-nightly de.haeckerfelix.Fragments.Devel |
| 27 |
``` |
| 28 |
|
| 29 |
|
| 30 |
## FAQ |
| 31 |
- **What BitTorrent engine does Fragments use?** |
| 32 |
Fragments is built on top of [Transmission](https://transmissionbt.com/), and thus supports more or less all the features that Transmission also supports. Fragments can also be used to control other remote Transmission instances. |
| 33 |
|
| 34 |
- **How I can get debug information?** |
| 35 |
Run Fragments using `RUST_BACKTRACE=1 RUST_LOG=fragments=debug flatpak run de.haeckerfelix.Fragments` (`.Devel`). |
| 36 |
|
| 37 |
- **Why does Fragments take so long to start?** |
| 38 |
When starting, Fragments tries to set up automatic port sharing (using UPNP/NAT-PMP). With some networks/gateways this takes longer or fails completely (timeout). If this is the case, you can disable automatic port forwarding feature in the preferences. Fragments should then start much faster. |
| 39 |
|
| 40 |
## Translations |
| 41 |
Translation of this project takes place on the GNOME translation platform, |
| 42 |
[Damned Lies](https://l10n.gnome.org/module/fragments). For further |
| 43 |
information on how to join a language team, or even to create one, please see |
| 44 |
[GNOME Translation Project wiki page](https://wiki.gnome.org/TranslationProject). |
| 45 |
|
| 46 |
## Building |
| 47 |
### Building with Flatpak + GNOME Builder |
| 48 |
Fragments can be built and run with [GNOME Builder](https://wiki.gnome.org/Apps/Builder). |
| 49 |
Just clone the repo and hit the run button! |
| 50 |
|
| 51 |
You can get Builder from [here](https://wiki.gnome.org/Apps/Builder/Downloads). |
| 52 |
|
| 53 |
### Building it manually |
| 54 |
1. `git clone https://gitlab.gnome.org/World/Fragments.git` |
| 55 |
2. `cd Fragments` |
| 56 |
3. `meson --prefix=/usr build` |
| 57 |
4. `ninja -C build` |
| 58 |
5. `sudo ninja -C build install` |
| 59 |
|
| 60 |
To learn more about the required dependencies, please check the [Flatpak manifest](build-aux/flatpak/de.haeckerfelix.Fragments.Devel.json). |
| 61 |
In order to run Fragments, `transmission-daemon` must be installed. |
| 62 |
|
| 63 |
## Code Of Conduct |
| 64 |
We follow the [GNOME Code of Conduct](/CODE_OF_CONDUCT.md). |
| 65 |
All communications in project spaces are expected to follow it. |