The source code of everything the packages ship
Rtorrent 16 and its add-ons are built from the open-source components below. rtorrent and libtorrent are GPL-2.0-or-later; other parts carry the licences listed beside them. For every component there is a copy of the exact source archive the build used, a link to where it comes from, our patches, and the scripts that build the packages from them.
Rtorrent 16's own code: freeware
Rtorrent 16 is freeware: no fee, no licence key, no paid tier. Its own code (the Control Center, its API and scripts, the add-ons' own code) is under the Rtorrent 16 Freeware Licence 1.0: free use on QNAP NAS units, at home and at work; no modified copies and no redistribution; the rights the law gives every user (a back-up copy, study, interoperability, fixing errors in your own copy) and security research stay yours. The build scripts are GPL-2.0-or-later (COPYING). Security reports: security.txt.
Bucket & Code Server IDE: freeware (Bucket & Code Server IDE Freeware Licence
1.0); its build scripts recipes/, lib/ and pkg/ under GPL-2.0-or-later
(COPYING); the project templates and examples may be changed and shared in your own
work.
Build scripts and patches
rtorrent16-build-scripts.tar.gz holds build.sh, build.conf,
lib/, steps/ (one script per component, with its configure options) and
patches/. With the archives below in dl/, ./build.sh rebuilds the binaries.
heif/ holds the source of rt16-heif, the program Files uses to draw HEIC and HEIF pictures. It is
linked statically with libheif and libde265 (LGPL-3.0-or-later). To link it with a changed copy of either library,
change that library's step (steps/440-libde265.sh, steps/445-libheif.sh) or its archive
and its sum in build.conf, then run ./build.sh x86_64 or ./build.sh aarch64:
step 952 links rt16-heif with the libraries those steps built.
The patches applied on top of the release archives, each with its explanation in its header. A patch that is offered upstream has its pull request beside it. A patch that carries an upstream commit back names that commit. The other patches are our own changes. The gopeed patches are for the Gopeed add-on alone, autobrr-01 for the autobrr add-on.
- autobrr-01-security-deps.patch
- ffmpeg-02-concat-inpoint-seek.patch
- ffmpeg-03-concat-picture-joins.patch
- ffmpeg-04-concat-subtitles-cut.patch
- gopeed-01-script-on-error.patch · GopeedLab/gopeed#1568
- gopeed-02-ftp.patch · GopeedLab/gopeed#1569
- gopeed-03-adaptive.patch · GopeedLab/gopeed#1570
- gopeed-04-rt16-bt-lock.patch
- gopeed-05-security-deps.patch
- gopeed-06-security-deps-2.patch
- gzip-upstream-1-b4ed8e7340-aarch64-head.patch · upstream commit b4ed8e7340 of gzip
- libtorrent-read-buffered-messages.patch · rakshasa/libtorrent#1089
- libtorrent-tracker-completed.patch
- libtorrent-unused-peer-slots.patch · rakshasa/libtorrent#1041
- libtorrent-waiting-download-slots.patch · rakshasa/libtorrent#1042
- libtorrent-working-peers-redial.patch · rakshasa/libtorrent#1070
- libtorrent-write-pieces-after-empty-pex.patch · rakshasa/libtorrent#1090
- rt16tts-vowel-clusters.patch
- rtorrent-dht-statistics-ipv6.patch · rakshasa/rtorrent#2036
- rtorrent-peer-rules-commands.patch
- rtorrent-shutdown-udp-tracker-wait.patch
Components
Libraries in the panel
The Control Center's player draws ASS and SSA subtitles with libass-wasm, used as published. Its WebAssembly
file carries libass, FreeType, FriBidi, HarfBuzz, Fontconfig, Expat and Brotli; the upstream source at the tag
names each of them as a submodule at a fixed commit, and the package's NOTICE and
var/www/libass-wasm.COPYRIGHT.txt hold every copyright notice and licence text.
| Library | Version | License | Source archive |
|---|---|---|---|
| libass-wasm (JavascriptSubtitlesOctopus) | 4.1.0 | LGPL-2.1-or-later AND (FTL OR GPL-2.0-or-later) AND MIT AND MIT-Modern-Variant AND ISC AND NTP AND Zlib AND BSL-1.0 | libass-wasm-4.1.0.tgz upstream |
Spell checking in the panel
The Media studio's subtitle editor checks spelling in 25 languages with Hunspell, which runs in
the page as WebAssembly. hunspell-asm provides that WebAssembly file: Hunspell 1.6.2, compiled with the build scripts
of docker-hunspell-wasm at the commit below. Each dictionary is a Hunspell affix file and word list, gzipped in
var/www/spell/, with its licence text beside it.
The Polish dictionary is sjp.pl's, converted to UTF-8. The other 24 come from the dictionary-* packages. Their files are byte for byte those of wooorm/dictionaries at the commit in the second table. That repository's scripts took each dictionary from its project and converted it to UTF-8 with Unix line ends.
Five dictionaries are under the GPL alone: Czech, German, Italian, Norwegian Bokmål and Ukrainian. For each one the table below holds the archive its files were made from. The Czech and Italian files are their authors' own files. The German files come from igerman98's Makefile, the Norwegian Bokmål files from spell-norwegian 2.2 and the Ukrainian files from dict_uk 6.1.0. The Norwegian Bokmål licence text names the GPL with no version.
| Project | Version | License | Source archive |
|---|---|---|---|
| wooorm-dictionaries | 2a87903b | MIT (its scripts and packaging); each dictionary under its own licence | wooorm-dictionaries-2a87903bebcf7c2d7b0a8abd2edcaa9421322f20.tar.gz upstream |
| hunspell_cs | 20210220 | GPL-2.0 | hunspell_cs-20210220.zip upstream |
| igerman98 | 20161207 | GPL-2.0 or GPL-3.0 | igerman98-20161207.tar.bz2 upstream |
| dict-it | 5.0 | GPL-3.0 | dict-it-5.0.oxt upstream |
| spell-norwegian | 2.2 | GPL (its README names no version) | spell-norwegian-2.2.tar.gz upstream spell-norwegian-no_NO-pack2-2.2.zip upstream |
| dict_uk | 6.1.0 | GPL-3.0 | dict_uk-6.1.0.tar.gz upstream dict_uk-hunspell-uk_UA_6.1.0.zip upstream |
The document editor in Files
Files opens Markdown and Word documents in an editor that runs in the page. Its files,
var/www/assets/doc-*.js, carry the 53 npm packages below, as npm publishes them. TipTap and
ProseMirror draw and edit the page, and marked reads and writes Markdown. mammoth and JSZip read Word documents, and
docx writes them. var/www/doc-editor/LICENSES.txt in the package holds each package's licence text.
Print and PDF go through the browser's print window, so the editor has no PDF library.
Audio Studio's effects in the panel
Audio Studio plays its effects in the page with the same arithmetic as FFmpeg's filters, which the NAS uses for
the export. The 7 files below are derived from FFmpeg's code, so they are under its licence, the
GNU Lesser General Public License 2.1 or
later, and not under the panel's freeware licence. The package carries them, minified, in
var/www/assets/chain-worklet-*.js, and its NOTICE names their copyright holders. The
build-scripts archive holds each file as this build has it, under rtorrent16-build/. FFmpeg 8.1.3's own source is in the Components table: ffmpeg-8.1.3.tar.xz.
| File | Derived from | License | Source archive |
|---|---|---|---|
ui/src/studio/dsp/biquad.ts | FFmpeg 8.1.3: libavfilter/af_biquads.c | LGPL-2.1-or-later | rtorrent16-build-scripts.tar.gz |
ui/src/studio/dsp/compressor.ts | FFmpeg 8.1.3: libavfilter/af_sidechaincompress.c and libavfilter/hermite.h | LGPL-2.1-or-later | rtorrent16-build-scripts.tar.gz |
ui/src/studio/dsp/gate.ts | FFmpeg 8.1.3: libavfilter/af_agate.c and libavfilter/hermite.h | LGPL-2.1-or-later | rtorrent16-build-scripts.tar.gz |
ui/src/studio/dsp/limiter.ts | FFmpeg 8.1.3: libavfilter/af_alimiter.c | LGPL-2.1-or-later | rtorrent16-build-scripts.tar.gz |
ui/src/studio/dsp/oversample.ts | FFmpeg 8.1.3: libswresample/resample.c and libavutil's av_bessel_i0 | LGPL-2.1-or-later | rtorrent16-build-scripts.tar.gz |
ui/src/studio/dsp/softclip.ts | FFmpeg 8.1.3: libavfilter/af_asoftclip.c | LGPL-2.1-or-later | rtorrent16-build-scripts.tar.gz |
ui/src/studio/dsp/stereo.ts | FFmpeg 8.1.3: libavfilter/af_stereotools.c | LGPL-2.1-or-later | rtorrent16-build-scripts.tar.gz |
Fonts in the panel and the package
The Control Center's themes carry the OFL-1.1 typefaces as web font files. OFL-1.1 is the
SIL Open Font License 1.1. Each archive
holds the font's files and its copyright notice. For the Media studio's subtitle styles the package carries two faces each of Lato, Montserrat, Alegreya Sans and Proza Libre in share/fonts/studio, unchanged, with their licence texts.
Pictures and scenes in the panel
The Control Center's avatars and the moving scenes of the Synthwave, Chase and Midnight themes are other
people's work. Rtorrent 16 changed them (the avatars cut to one size and put on sheets, the scenes drawn in the
theme's colours); the package's
NOTICE file holds the same credits and the MIT licence texts.
| Part | Work | Author | License |
|---|---|---|---|
| Avatars: People | Cartoon Avatars | Free 60 avatars | Angelina | CC BY 4.0 |
| Avatars: Animals and birds | Cartoon Avatars | Animals & Birds | 200+ Free Characters | Sanjana Shashi (Luna UI) | CC BY 4.0 |
| Avatars: Occupations | Cartoon Avatars | Occupations | 150+ Free Characters | Sanjana Shashi (Luna UI) | CC BY 4.0 |
| The Synthwave theme's scene | Retro Synthwave | Victor Ribeiro | MIT |
| The Chase theme's scene | Shader Animation | Ali Imam (Dalim) | MIT |
| The Midnight theme's scene | Shader Lines | Ali Imam (Dalim) | MIT |
Voices and translation models the voice-over downloads
None of these is in the package: a NAS downloads one the first time it reads or translates with it. A voice whose
licence allows no copy on Rtorrent 16's server comes from its official source only. The package's NOTICE
holds the same list.
| Part | Model | License | Downloaded from |
|---|---|---|---|
| Voice darkman (pl) | pl_PL-darkman-medium | CC0-1.0 (own data CC0; base nl_BE-rdh-medium, CC0) | pub, else its official source |
| Voice bass (pl) | pl_PL-bass-high | Apache-2.0 (its model card); fine-tuned from en_US-lessac-high, whose Blizzard 2013 Lessac data allows research use only | its official source only |
| Voice gosia (pl) | pl_PL-gosia-medium | own data CC0; fine-tuned from en_US-lessac-medium, whose Blizzard 2013 Lessac data allows research use only | its official source only |
| Voice thorsten (de) | de_DE-thorsten-medium | CC0-1.0 (own data CC0; base nl_BE-rdh-medium, CC0) | pub, else its official source |
| Voice kerstin (de) | de_DE-kerstin-medium | CC-BY-4.0 (own data CC0; base hifi_tts_92, CC BY 4.0) | pub, else its official source |
| Voice pim (nl) | nl_NL-pim-medium | CC0-1.0 (own data CC0; base nl_BE-rdh-medium, CC0) | pub, else its official source |
| Voice nathalie (nl) | nl_BE-nathalie-medium | CC-BY-4.0 (own data CC0; base hifi_tts_92, CC BY 4.0) | pub, else its official source |
| Voice nst (sv) | sv_SE-nst-medium | CC0-1.0 (trained from scratch) | pub, else its official source |
| Voice alma (sv) | sv_SE-alma-medium | CC-BY-4.0 (NST Swedish data) | pub, else its official source |
| Voice siwis (fr) | fr_FR-siwis-medium | CC-BY-4.0 (SIWIS; base hifi_tts_92, CC BY 4.0) | pub, else its official source |
| Voice tom (fr) | fr_FR-tom-medium | AGPL-3.0 (its model card) | its official source only |
| Voice serena (it) | it_IT-serena-medium | CC-BY-4.0 (trained from scratch) | pub, else its official source |
| Voice paola (it) | it_IT-paola-medium | CC-BY-4.0 (own data CC0; base hifi_tts_92, CC BY 4.0) | pub, else its official source |
| Voice joe (en) | en_US-joe-medium | CC0-1.0 (own data CC0; base nl_BE-rdh-medium, CC0) | pub, else its official source |
| Voice norman (en) | en_US-norman-medium | Public domain data (LibriVox recordings), trained from scratch | pub, else its official source |
| Voice cori (en) | en_GB-cori-medium | CC-BY-4.0 (Hi-Fi Multi-Speaker English TTS Dataset, NVIDIA; base hifi_tts_92, CC BY 4.0) | pub, else its official source |
| Translation en-pl | Argos Translate | CC-BY-4.0 (the OPUS-MT model it derives from, as the package's README.md states) | pub |
| Translation, 14 language pairs | Firefox Translations (Mozilla) | MPL-2.0 | pub, else Mozilla |
Map data in the panel
The dotted world map of the Control Center is sampled from Natural Earth's 1:110m land and 1:50m countries, which are in the public domain (terms of use).
The texts of the GNU licences: GPL-2.0, GPL-3.0, LGPL-2.1, LGPL-3.0, AGPL-3.0.