Go to file
Mike Gelfand 1c421d6d23
Minor CMake maintainability improvements (#6186)
* Prefer `PROJECT_{SOURCE,BINARY}_DIR` to `CMAKE_` ones

* Extend use of 3rd-party dir vars to reduce duplication

* Fix typo in submodule repo name

* Remove `CURL::libcurl` target fallback

The target is always available since CMake 3.12, which is our current
minimum version.
2023-10-30 20:44:34 +03:00
.github chore: fix warnings in CodeQL workflow (#6106) 2023-10-14 21:05:30 -05:00
.tx Sync translations (#3968) 2022-10-15 21:21:13 +03:00
Transmission.xcodeproj Fix building on macOS Mojave (#6180) 2023-10-29 23:32:58 -04:00
cli refactor: use new tr_variant API in tr_session (#6006) 2023-09-16 08:23:35 -05:00
cmake Minor CMake maintainability improvements (#6186) 2023-10-30 20:44:34 +03:00
daemon docs: update log-level in transmission-daemon.1 manpage (#6059) 2023-10-01 18:21:14 -05:00
dist/msi Minor CMake maintainability improvements (#6186) 2023-10-30 20:44:34 +03:00
docs feat: do separate IPv4 and IPv6 port checks in WebUI (#5953) 2023-10-24 09:27:28 -04:00
extras fix: some typos (#3904) 2022-10-13 09:35:10 -05:00
gtk refactor: remove tr_torrentTotalSize() (#6166) 2023-10-25 16:37:09 -04:00
libtransmission fix: crash after nullptr dereference in rpcimpl (#6177) 2023-10-30 13:30:10 -04:00
licenses refactor: aggregate arc4 into libtransmission (#3684) 2022-08-20 13:41:40 -05:00
macosx Minor CMake maintainability improvements (#6186) 2023-10-30 20:44:34 +03:00
news docs: update release notes for 4.0.4 (#5924) 2023-08-23 15:16:27 -05:00
po Sync translations (#5391) 2023-04-14 03:00:44 +01:00
qt refactor: prefer std::set over QSet (#5703) 2023-10-24 21:14:37 -04:00
release/windows Build additional packages for Qt 5 on Appveyor (#4855) 2023-02-12 22:12:09 +00:00
tests Minor CMake maintainability improvements (#6186) 2023-10-30 20:44:34 +03:00
third-party Minor CMake maintainability improvements (#6186) 2023-10-30 20:44:34 +03:00
utils refactor: remove quark support from tr_variant (#6159) 2023-10-24 14:49:23 -04:00
web refactor: unified shadow properties for web client (#5840) 2023-10-30 12:22:32 -04:00
.clang-format Use clang-format for qualifier alignment (#5845) 2023-07-30 16:43:43 +01:00
.clang-format-ignore Move jsonsl and wildmat to third-party (#4402) 2022-12-18 19:19:07 +00:00
.clang-format-include Adopting .clang-format-include and .clang-format-ignore (#3047) 2022-05-13 18:48:33 -05:00
.gitignore Fix WebUtilsTest.urlParse and psl_builtin for Xcode (#4642) 2023-01-31 23:51:04 -06:00
.gitmodules Minor CMake maintainability improvements (#6186) 2023-10-30 20:44:34 +03:00
AUTHORS docs: add tearfur to AUTHORS (#5859) 2023-08-14 13:52:43 -05:00
CMakeLists.txt Minor CMake maintainability improvements (#6186) 2023-10-30 20:44:34 +03:00
CONTRIBUTING.md docs: fix various typos and misspellings (#2955) 2022-04-21 09:28:38 -05:00
COPYING chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
README.md chore: update build instructions (#6102) 2023-10-23 22:24:51 -04:00
appveyor.yml Build additional packages for Qt 5 on Appveyor (#4855) 2023-02-12 22:12:09 +00:00
code_style.sh Use clang-format for qualifier alignment (#5845) 2023-07-30 16:43:43 +01:00
icon.png chore: improve lossless compression of png files (#5586) 2023-06-05 17:03:11 -05:00
update-version-h.sh build: support semver versioning (#3867) 2022-10-05 16:53:10 -05:00

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 Qt-based Windows-compatible GUI application
  • 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 How to Build Transmission in docs

Building a Transmission release from the command line

$ tar xf transmission-4.0.4.tar.xz
$ cd transmission-4.0.4
# Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimized binary with debug information. (preferred)
# Use -DCMAKE_BUILD_TYPE=Release to build full optimized binary.
$ cmake -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo
$ cd build
$ cmake --build .
$ sudo cmake --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 --recurse-submodules https://github.com/transmission/transmission Transmission
$ cd Transmission
# Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimized binary with debug information. (preferred)
# Use -DCMAKE_BUILD_TYPE=Release to build full optimized binary.
$ cmake -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo
$ cd build
$ cmake --build .
$ sudo cmake --install .

Building Transmission from Git (updating)

$ cd Transmission/build
$ cmake --build . -t clean
$ git submodule foreach --recursive git clean -xfd
$ git pull --rebase --prune
$ git submodule update --init --recursive
$ cmake --build .
$ sudo cmake --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 can use: ./code_style.sh

Translations

See language translations.

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