# Transmission Remote GUI

[![Build Status](https://travis-ci.org/transmission-remote-gui/transgui.svg?branch=master)](https://travis-ci.org/transmission-remote-gui/transgui)

![Screenshot](http://i.imgur.com/Dum7Oka.png)

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
## Table of Contents

- [Introduction](#introduction)
- [Installation](#installation)
  - [Linux](#linux)
    - [Easy way (recommended)](#easy-way-recommended)
    - [Harder way](#harder-way)
  - [Windows](#windows)
    - [Portable zip tarball (recommended)](#portable-zip-tarball-recommended)
    - [Installer](#installer)
    - [Using Chocolatey](#using-chocolatey)
  - [macOS](#macos)
    - [Without a package manager](#without-a-package-manager)
    - [Homebrew-Cask](#homebrew-cask)
- [Command line parameters](#command-line-parameters)
- [Portable mode](#portable-mode)
- [Fixed hotkeys](#fixed-hotkeys)
- [Advanced parameters](#advanced-parameters)
- [License](#license)

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

## Introduction

Transmission Remote GUI is feature rich cross platform front-end to remotely control Transmission daemon via its RPC protocol. It is faster and has more functionality than builtin Transmission web interface.

Transmission Remote GUI is developed using Lazarus RAD and Free Pascal compiler.

Features:

- Native application for Windows, Linux and macOS
- uTorrent-like interface
- Select files to download
- Choose files priority
- View details about connected peers
- Full information about each torrent
- Per torrent options

## Installation

The installers are listed on the GitHub [Releases](https://github.com/transmission-remote-gui/transgui/releases/latest) page, and the installation instructions for different platform are listed as below :arrow_down:

### Linux

#### Easy way (recommended)

There are precompiled program's binaries for i386 and x86_64 Linux architectures.

- Download and extract the release for your architecture.

Now you can execute the `transgui` binary. *(Change the `transgui` file permissions to executable if needed)*

Additionally, you can create a desktop or menu shortcut to the transgui executable, and run the program using the created shortcut.

#### Harder way

Build the program by yourself.

1. Make sure you have working Lazarus and Free Pascal compiler installed.
  - Free Pascal Compiler 2.6.2+ and Lazarus 1.6 is used to develop Transmission Remote GUI.
2. Download the sources archive and extract it to some folder or perform svn checkout.
3. Open terminal/command line prompt and cd to the sources folder.
4. Execute `make` command to build the application.
5. Execute `make zipdist` command to create a release .zip archive in the `Release` sub-folder.

### Windows

#### Portable zip tarball (recommended)

- Zip tarball release is much more small than the installer one, which can save you some bandwidth, disk space and time, just simply download and extract the zip tarball to wherever you want, directly execute `transgui.exe` or add shortcut for it.

**Note**: The first time you use this program, you may need to install some additional dependencies (if you need SSL/TLS enabled), including [Visual C++ Redistributable Package](https://www.microsoft.com/download/details.aspx?id=40784)([Direct link](http://download.microsoft.com/download/0/5/6/056dcda9-d667-4e27-8001-8a0c6971d6b1/vcredist_x86.exe)) and [OpenSSL libs](https://wiki.openssl.org/index.php/Binaries)([Direct link](https://slproweb.com/products/Win32OpenSSL.html)), this only needs to be done once.

#### Installer

This installer has additional installation wizard and includes static OpenSSL libraries in every releases, the size would be much bigger than the zip tarball, but you don't need to take care of the OpenSSL dependencies.

1. Directly download the installer.
2. Run the installer and follow the steps to install it on your system.

#### Using [Chocolatey](https://chocolatey.org)

Run `cinst transgui` to install the latest version of Transmission Remote GUI.

### macOS

#### Without a package manager

This method needs no additional pre-requirement or dependency, just:

1. Download the app image from release page.
2. Open the image file to mount the image.
3. Directly run the application or drag the app icon to your disk / Application folder.

#### Homebrew-Cask

You need to have [Homebrew](https://brew.sh/) installed, and [Homebrew-Cask](https://caskroom.github.io/) enabled, with Homebrew, you can enable Homebrew-Cask by a single command, skip this step if you already got it:

- `brew tap caskroom/cask`

With Homebrew-Cask, directly execute this command to install Transmission Remote Gui:

- `brew cask install transmission-remote-gui`

## Command line parameters

You can specify path to a .torrent file or a magnet link as a command line parameter. The program will add the specified torrent.

- `-hidden` : Start the program hidden. Only the program's tray icon will be visible.
- `--home=<home_dir>` : Specifies a home directory for the program. All program's settings are stored in the home directory. You can run multiple instances of the program by specifying different home directories.

## Portable mode

If the program finds the transgui.ini file in the same folder as the binary file, then it will store all configuration and data files in the program's folder, instead of the folder in a user profile.

## Fixed hotkeys

- <kbd>Alt</kbd> + <kbd>1</kbd> : All Torrents
- <kbd>Alt</kbd> + <kbd>2</kbd> : Downloading
- <kbd>Alt</kbd> + <kbd>3</kbd> : Completed
- <kbd>Alt</kbd> + <kbd>4</kbd> : Active
- <kbd>Alt</kbd> + <kbd>5</kbd> : Inactive
- <kbd>Alt</kbd> + <kbd>6</kbd> : Stopped
- <kbd>Alt</kbd> + <kbd>7</kbd> : Error
- <kbd>Alt</kbd> + <kbd>8</kbd> : Waiting
- <kbd>Alt</kbd> + <kbd>S</kbd> : Searchbox (filter torrents by keywords) - Esc cancel filter and clean the box.
- <kbd>Alt</kbd> + <kbd>G</kbd> : Info Pane - General Tab
- <kbd>Alt</kbd> + <kbd>K</kbd> : Info Pane - Trackers Tab
- <kbd>Alt</kbd> + <kbd>P</kbd> : Info Pane - Peers Tab
- <kbd>Alt</kbd> + <kbd>F</kbd> : Info Pane - Files Tab

## Advanced parameters

There are some parameters in the `transgui.ini file`, that can not be modified via the GUI.
More info on: [#924](https://github.com/transmission-remote-gui/transgui/issues/924) (File Manager & Shortcuts) , [#1020](https://github.com/transmission-remote-gui/transgui/issues/1020) (User Defined Menu *Windows Only*) and [#1070](https://github.com/transmission-remote-gui/transgui/issues/1070) (.torrent Auto Opening)

```ini
[Interface]
; Maximum number of elements in the folder history list
MaxFoldersHistory=10

[Interface]
;In Linux/MacOs Only if "Open Container Folder" give you error
FileOpenDoc=0

[Interface]
;Alternate File Manager (Windows Only)
FileManagerDefault={Full path to your File Manager .exe}
FileManagerDefaultParam={Alternate parameters, could be left blank}

[Interface]
;System Wide Shortcut key (Windows Only)
GlobalHotkey={Virtual Key Code} full list here http://docwiki.embarcadero.com/RADStudio/Seattle/en/Virtual_Key_Codes (Plus VK_A...VK_Z and VK_0..VK_9)
GlobalHotkeyMod={Modifier Key} [MOD_SHIFT , MOD_CONTROL , MOD_ALT , MOD_WIN alone or combined with + sign]

[Interface]
WatchLocalFolder= {LOCAL Folder to watch for torrent files}
WatchDestinationFolder= {REMOTE destination where the data would be saved if missing or empty last destination folder is used}
WatchInterval=1 {Time period in MINUTES between folder scans for torrents, may be fractional values 0,50 = 30 seconds}

[Shortcuts]
;Modify all the shortcuts of the GUI here

[Usermenu]
Caption1={Caption in the menu}
ExeName1={Full path to the program .exe you want to add to menu}
Params1="%s" {Usually "%s" but some programs may require additional parameters}
Caption2={same for item 2}
ExeName2={same for item 2}
Params2={same for item 2}

[StatusBarPanels]
;Customize the width of the statusbar panels to fit your language
;0 is the left most panel and 7 is the right most panel.
0=327
1=152
2=152
3=130
4=130
5=130
6=130
7=130

[MainForm]
BigToolBarHeight=48 {Height of the Big Icon Toolbar if missing default is 64}

[MainForm]
FromNow=1 {1=Shows the dates relatives to now , 0=Absolute Dates MM/DD/YY HH:MM:SS}
```

## License

Copyright (c) 2008-2018 by Yury Sidorov and Transmission Remote GUI working group.

Transmission Remote GUI is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Transmission Remote GUI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
