Go to file
Charles Kerr b94c6796c8
fix: sonarcloud warnings (#2815)
* fix: add default case to switch statement

* fix: remove redundant static specifier

* fix: use std::optional.value_or

* fix: make type of variable pointer-to-const

* refactor: move log state into a struct

* refactor: make tr_peerMgr constructor explicit

* fix: make type of variable pointer-to-const

* fix: replace insert with try_emplace

* fix: implicit conversion may lose precision

* fix: use init-statement to reduce variable scope

* chore: mark unused return value with (void)
2022-03-25 00:24:04 -05:00
.tx
Transmission.xcodeproj feat: add tr_strbuf (#2810) 2022-03-24 16:41:29 -05:00
cli refactor: tr_web (#2640) 2022-02-17 17:35:57 -06:00
cmake Fix finding system PSL library (#2812) 2022-03-24 21:14:11 -05:00
daemon feat: add tr_strbuf (#2810) 2022-03-24 16:41:29 -05:00
dist/msi Include SVG support in Windows builds 2021-12-07 08:39:12 +00:00
docker/code_style
docs Limit bandwidth used by a group of torrents (#2761) 2022-03-18 08:11:59 -05:00
extras docs: absorb the wiki 2022-02-21 10:39:27 -06:00
gtk fix: sonarcloud warnings (#2815) 2022-03-25 00:24:04 -05:00
libtransmission fix: sonarcloud warnings (#2815) 2022-03-25 00:24:04 -05:00
licenses chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
macosx Add ability to change piece size during torrent creation in MacOS GUI… (#2805) 2022-03-24 22:26:21 -05:00
po Update CMake files with removed/added languages (take 2) 2022-02-21 21:43:18 +00:00
qt refactor: use fmt to build the GTK client's user-visible strings (#2788) 2022-03-21 09:15:48 -05:00
release/windows Include SVG support in Windows builds 2021-12-07 08:39:12 +00:00
tests test: fix file-info test edge case (#2811) 2022-03-24 19:03:15 -05:00
third-party refactor: use fmt (#2758) 2022-03-13 23:43:35 -05:00
utils feat: add tr_strbuf (#2810) 2022-03-24 16:41:29 -05:00
web fix: calculate ratio as uploaded / sizeWhenDone (#2770) 2022-03-17 13:41:48 -05:00
.clang-format
.gitignore Add ability to change piece size during torrent creation in MacOS GUI… (#2805) 2022-03-24 22:26:21 -05:00
.gitmodules refactor: use fmt (#2758) 2022-03-13 23:43:35 -05:00
AUTHORS
CMakeLists.txt feat: add tr_strbuf (#2810) 2022-03-24 16:41:29 -05:00
CONTRIBUTING.md docs: add CONTRIBUTING.md (#2452) 2022-01-21 21:34:23 -06:00
COPYING
NEWS.md Remove the accent color 2022-02-21 09:38:22 -05:00
README.md docs: link to docs/README.md in top-level README 2022-02-21 10:40:19 -06:00
appveyor.yml Switch to Strawberry Perl for AppVeyor Windows builds (#2763) 2022-03-12 18:49:39 +03:00
code_style.sh refactor: C++ify clients.cc (#1907) 2021-10-08 21:46:10 -05:00
docker-compose.yml
update-version-h.sh

README.md

About

Transmission is a fast, easy, and free BitTorrent client. It comes in several flavors:

  • A native macOS GUI application
  • GTK+ and Qt GUI applications for Linux, BSD, etc.
  • A headless daemon for servers and routers
  • A web UI for remote controlling any of the above

Visit https://transmissionbt.com/ for more information.

Documentation

Transmission's documentation is currently out-of-date, but the team has recently begun a new project to update it and is looking for volunteers. If you're interested, please feel free to submit pull requests!

Command line interface notes

Transmission is fully supported in transmission-remote, the preferred cli client.

Three standalone tools to examine, create, and edit .torrent files exist: transmission-show, transmission-create, and transmission-edit, respectively.

Prior to development of transmission-remote, the standalone client transmission-cli was created. Limited to a single torrent at a time, transmission-cli is deprecated and exists primarily to support older hardware dependent upon it. In almost all instances, transmission-remote should be used instead.

Different distributions may choose to package any or all of these tools in one or more separate packages.

Building

Transmission has an Xcode project file (Transmission.xcodeproj) for building in Xcode.

For a more detailed description, and dependencies, visit: https://github.com/transmission/transmission/wiki

Building a Transmission release from the command line

$ tar xf transmission-2.92.tar.xz
$ cd transmission-2.92
$ mkdir build
$ cd build
$ # Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimized binary.
$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
$ make
$ sudo make install

Building Transmission from the nightly builds

Download a tarball from https://build.transmissionbt.com/job/trunk-linux/ and follow the steps from the previous section.

If you're new to building programs from source code, this is typically easier than building from Git.

Building Transmission from Git (first time)

$ git clone https://github.com/transmission/transmission Transmission
$ cd Transmission
$ git submodule update --init --recursive
$ mkdir build
$ cd build
$ # Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimized binary.
$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
$ make
$ sudo make install

Building Transmission from Git (updating)

$ cd Transmission/build
$ make clean
$ git pull --rebase --prune
$ git submodule update --recursive
$ # Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimized binary.
$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
$ make
$ sudo make install

Contributing

Code Style

You would want to setup your editor to make use of the .clang-format file located in the root of this repository and the eslint/prettier rules in web/package.json.

If for some reason you are unwilling or unable to do so, there is a shell script which you could run either directly or via docker-compose:

$ ./code_style.sh
or
$ docker-compose build --pull
$ docker-compose run --rm code_style

Sponsors

[MacStadium] macOS CI builds are running on a M1 Mac Mini provided by MacStadium
[SignPath] Free code signing on Windows provided by SignPath.io, certificate by SignPath Foundation