Go to file
Charles Kerr 9e716bb9dc
refactor: cppcoreguidelines-init-variables pt. 10 (#2006)
* refactor: uninit vars in peer-io.cc

* refactor: uninit vars in rpc-server.cc

* refactor: uninit vars in port-forwarding.cc

* refactor: uninit vars in torrent-ctor.cc
2021-10-22 08:51:36 -05:00
.tx Add Mac client translations to and downsync from Transifex 2017-01-28 13:44:15 +03:00
Transmission.xcodeproj refactor: use C++ inheritance for tr_peer, tr_peerMsgs, and tr_webseed (#1877) 2021-10-07 08:33:55 -05:00
cli refactor: use maybe unused attribute (#1918) 2021-10-10 11:52:26 -05:00
cmake refactor: port libtransmission to C++ (#1787) 2021-09-12 12:41:49 -05:00
daemon refactor: tr_variant*Str() functions now take a std::string_view (#1990) 2021-10-19 21:30:50 -05:00
dist/msi Use PowerShell instead of ImageMagick for AppVeyor build 2021-08-24 08:55:53 +03:00
docker/code_style Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
extras Add total disk space to free-space RPC request (#1682) 2021-10-14 12:07:16 -05:00
gtk refactor: replace tr_torrentFiles() with tr_torrentFileProgress() (#1994) 2021-10-21 13:31:03 -05:00
libtransmission refactor: cppcoreguidelines-init-variables pt. 10 (#2006) 2021-10-22 08:51:36 -05:00
macosx Fixed: In the "Filter Bar" the "Groups" icon is clipped at the top #1905 (#2005) 2021-10-22 07:46:54 -05:00
po fix: macOS gui with Russian l10n does not fit lines of text. (Fixes #1963) (#1973) 2021-10-17 13:45:25 -05:00
qt refactor: tr_variant*Str() functions now take a std::string_view (#1990) 2021-10-19 21:30:50 -05:00
release/windows Only pack PDBs on master and tags to reduce AppVeyor artifacts size 2021-10-17 14:04:18 +03:00
tests refactor: add tr_peer_id_t (#2004) 2021-10-21 21:40:55 -05:00
third-party Switch to a standalone ARC4 implementation (#1788) 2021-09-12 06:47:29 +03:00
utils refactor: tr_variant*Str() functions now take a std::string_view (#1990) 2021-10-19 21:30:50 -05:00
web Don't set the path attribute when setting a cookie. (#1893) 2021-10-07 11:16:09 -05:00
.clang-format Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
.gitignore feat: web client refresh (#1476) 2020-10-23 20:04:25 -05:00
.gitmodules Use default tracking branch for arc4 submodule 2021-09-21 17:12:49 +03:00
AUTHORS macOS icon redesigned for Big Sur 2021-03-29 18:05:30 -04:00
CMakeLists.txt Switch from gtk to gtkmm (#1969) 2021-10-18 23:22:31 +03:00
COPYING Bump copyright to 2020 (some more places) (#1206) 2020-05-02 12:26:42 -05:00
NEWS.md Update NEWS 2021-08-22 19:03:24 -04:00
README.md Add instruction in README.md to config a release build. (#1282) 2021-08-19 00:18:22 +03:00
appveyor.yml Only pack PDBs on master and tags to reduce AppVeyor artifacts size 2021-10-17 14:04:18 +03:00
code_style.sh refactor: C++ify clients.cc (#1907) 2021-10-08 21:46:10 -05:00
docker-compose.yml Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
update-version-h.sh Extract version from CMakeLists.txt in update-version-h.sh 2020-12-17 16:04:29 +03: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 headless daemon for servers and routers
  • A web UI for remote controlling any of the above

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

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
$ 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
$ # 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