Go to file
Charles Kerr 1855cdb731
refactor: replace tr_sys_file_write_line() with fmt::print("...\n") (#6619)
* refactor: use fmt::print in log.cc

https://github.com/fmtlib/fmt/issues/428#issuecomment-395442159
> You can use fmt::print("...\n") on Windows as well.

Use this mechanism instead of tr_sys_file_write_line()

* refactor: use FILE* in daemon

* refactor: remove unused tr_sys_file_flush_possible()

* refactor: remove unused tr_sys_file_write_line()

* refactor: remove unused tr_sys_file_get_std()

* refactor: remove unused tr_std_sys_file_t
2024-02-25 16:12:08 -06:00
.github remove duplicate path: Transmission.xcodeproj (#6625) 2024-02-19 00:11:34 -06:00
.tx Sync translations (#6453) 2023-12-29 15:16:07 +00:00
Transmission.xcodeproj refactor: libtransmission Settings (#6592) 2024-02-15 11:31:09 -06:00
android android patches for ndk (#6024) 2024-01-21 15:27:24 +00:00
cli chore: remove FMT_STRING macros (#6497) 2024-01-06 14:05:18 -06:00
cmake android patches for ndk (#6024) 2024-01-21 15:27:24 +00:00
daemon refactor: replace tr_sys_file_write_line() with fmt::print("...\n") (#6619) 2024-02-25 16:12:08 -06:00
dist/msi Minor CMake maintainability improvements (#6186) 2023-10-30 20:44:34 +03:00
docs docs: add OS X 10.10 - macOS 10.12 compatibility to previous-releases (#6601) 2024-02-15 19:11:56 -06:00
extras
gtk fix: sonarcloud warnings (#6615) 2024-02-17 22:43:24 -06:00
libtransmission refactor: replace tr_sys_file_write_line() with fmt::print("...\n") (#6619) 2024-02-25 16:12:08 -06:00
licenses
macosx remove obsolete warning: subclass (#6612) 2024-02-17 13:31:25 -06:00
news
po Remove low-quality gettext locales from the list (#6475) 2024-01-01 22:19:31 +00:00
qt refactor: inline simple getters in qt client (#6621) 2024-02-18 18:48:27 -06:00
release/windows Bump 3rd-party deps versions used on Windows (#6192) 2023-11-01 15:09:45 +03:00
tests refactor: replace tr_sys_file_write_line() with fmt::print("...\n") (#6619) 2024-02-25 16:12:08 -06:00
third-party bump fast-float from 5.3.0 to 6.1.0 (#6602) 2024-02-17 13:32:22 -06:00
utils chore: remove FMT_STRING macros (#6497) 2024-01-06 14:05:18 -06:00
web feat: WebUI add `Error` case in port test result (#6607) 2024-02-15 23:20:23 -06:00
.clang-format
.clang-format-ignore android patches for ndk (#6024) 2024-01-21 15:27:24 +00:00
.clang-format-include
.gitignore android patches for ndk (#6024) 2024-01-21 15:27:24 +00:00
.gitmodules Minor CMake maintainability improvements (#6186) 2023-10-30 20:44:34 +03:00
AUTHORS
CMakeLists.txt android patches for ndk (#6024) 2024-01-21 15:27:24 +00:00
CONTRIBUTING.md
COPYING chore: update copyright years (#6470) 2024-01-03 21:33:30 -06:00
README.md
appveyor.yml Pin ccache to 4.8.3 on AppVeyor (#6519) 2024-01-11 06:55:36 +00:00
code_style.sh
icon.png
update-version-h.sh fix: base62 conversion in peer-id generation (#6486) 2024-01-06 14:14:20 -06: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