Go to file
Charles Kerr d766050dd8
perf: fewer temporary strings (#6325)
* perf: parse the .resume file contents inplace

* perf: use unmanaged strings in make_torrent_field()

* perf: accept moved strings in tr_error::set()

* perf: use small::vector in tr_peerMsgsImpl::sendPex()

the expected pex size is predictable and fits easily on the stack
2023-12-01 16:48:16 -06:00
.github build: use esbuild to bundle the web app (#6280) 2023-11-27 19:23:40 -06:00
.tx Sync translations (#3968) 2022-10-15 21:21:13 +03:00
Transmission.xcodeproj fix warning: ignoring duplicate libraries: '-lc++' (#6298) 2023-11-26 14:54:10 -06:00
cli refactor: Values pt. 6 - remove deprecated API (#6250) 2023-11-14 17:23:51 -06:00
cmake chore: removed copyright timespans in headers (#4850) 2023-11-01 16:11:11 -05:00
daemon refactor: c++ify libtransmission's tr_ctor struct (#6295) 2023-11-26 15:43:37 -06:00
dist/msi Minor CMake maintainability improvements (#6186) 2023-10-30 20:44:34 +03:00
docs docs: add description for torrent action requests (#6302) 2023-11-26 23:05:42 -06:00
extras fix: some typos (#3904) 2022-10-13 09:35:10 -05:00
gtk refactor: c++ify libtransmission's tr_ctor struct (#6295) 2023-11-26 15:43:37 -06:00
libtransmission perf: fewer temporary strings (#6325) 2023-12-01 16:48:16 -06:00
licenses refactor: aggregate arc4 into libtransmission (#3684) 2022-08-20 13:41:40 -05:00
macosx refactor: support deallocating VDKQueue object (#6290) 2023-11-29 18:17:43 -06: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 chore: fix minor clang-tidy warnings (#6275) 2023-11-21 09:02:03 -06:00
release/windows Bump 3rd-party deps versions used on Windows (#6192) 2023-11-01 15:09:45 +03:00
tests refactor: in tr_announce_list, replace port_and_str with aggregated parsed url (#6323) 2023-12-01 15:48:04 -06:00
third-party chore: bump utp snapshot to pick up assertion fix 2023-11-14 17:26:27 -06:00
utils refactor: Values pt. 6 - remove deprecated API (#6250) 2023-11-14 17:23:51 -06:00
web feat: Only show .torrent files in the web UI (#6320) 2023-12-01 10:40:36 -06: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
.gitignore chore: Add compile_commands.json to .gitignore (#6219) 2023-11-07 12:31:27 -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 chore: bump libutp (#6251) 2023-11-14 13:24:18 -06:00
CONTRIBUTING.md
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