Introducing a new way to review your PRs.

Read the announcement

transmission-remote-gui / transgui

馃Р A feature rich cross platform Transmission BitTorrent client. Faster and has more functionality than the built-in web GUI.

View on GitHub

19 documents 路 Updated Sep 25, 2026

overview

Knowledge Base updated: 2026-09-24

Transmission Remote GUI knowledge base

Orientation

Transmission Remote GUI is a Lazarus/Free Pascal desktop client for administering a Transmission daemon. The application is organized around the main desktop form and its workflow dialogs, with a dedicated RPC client translating Transmission session and torrent data into UI state.

User configuration, connection profiles, history, and list presentation settings are maintained by the client and consumed by forms and reusable grid components. Torrent operations flow from those forms to the RPC layer; link-based intake additionally uses HTTP, URI, and bencode helpers.

Supporting services resolve peer or daemon addresses and enrich them with GeoIP metadata. Build and distribution support is maintained alongside the Pascal project and platform packaging files.

flowchart TD
  User[Desktop user] --> Main[mainform.pas\nMain window]
  Main --> Workflows[Torrent workflow forms]
  Main --> Prefs[Preferences and history]
  Main --> Lists[Variable grid and columns]
  Workflows --> RPC[Transmission RPC client]
  RPC --> Daemon[Transmission daemon]
  Workflows --> Intake[HTTP, URI, bencode helpers]
  Intake --> RPC
  RPC --> State[Session and torrent state]
  State --> Lists
  RPC --> Network[IP resolver and GeoIP]
  Network --> Lists
  Prefs --> Config[Saved client configuration]
  Build[Lazarus project and packages] --> Main
  Build --> Packaging[CI and platform packaging]

Glossary

  • Transmission RPC: The HTTP/JSON interface through which the client queries and controls a Transmission daemon.
  • Session ID: The RPC negotiation token supplied by Transmission and reused by subsequent requests.
  • Torrent intake: The client workflow that accepts a local torrent file, URL, or magnet/link and prepares an add request.
  • Variable grid: The reusable configurable list/grid presentation used for torrent-oriented table views.
  • GeoIP enrichment: Mapping a resolved address to geographic metadata for display with peer or network information.

Codebase-wide invariants

  • RPC-backed changes must pass through the Transmission client layer rather than having forms implement their own daemon protocol handling; see transmissionrpc.pas and form call sites.
  • Lazarus form declarations and their corresponding .lfm resources must remain synchronized; see the *.pas / *.lfm form pairs.
  • Persisted UI choices must be read through and written through the preferences/history facilities rather than treated as transient form-only state; see preferences.pas and history-related units.
  • Torrent list display must use the configurable grid/column abstractions so presentation preferences remain applicable; see vargrid.pas and *.columns configuration patterns.
  • Localized UI text must be supplied through the translation resources/utilities rather than introducing hard-coded interface strings; see translations/** and localization units.

Routing table

Path or triggerDocumentation
transgui.lpr, mainform.pas, mainform.lfmApplication lifecycle and main window
transgui.lpr, *.lpi, *.lpk, components/**Startup and component wiring
mainform.pas, mainform.lfm, menu*.pas, toolbar*.pasMain window workflows
transmissionrpc.pas, transmission*.pas, rpc*.pasTransmission RPC integration
transmissionrpc.pas, rpc*.pas, json*.pasRPC protocol and session flow
connection*.pas, connection*.lfm, server*.pas, password*.pasDaemon connection configuration
addtorrent.pas, torrentproperties.pas, trackermodify.pas, movedata.pasTorrent workflows
addtorrent.pas, addtorrent.lfm, download*.pas, magnet*.pasTorrent intake
torrentproperties.pas, torrentproperties.lfm, movedata.pas, files*.pasTorrent details and location
trackermodify.pas, trackermodify.lfm, tracker*.pasTracker management
baseform.pas, vargrid.pas, preferences.pas, history*.pasDesktop interface and preferences
vargrid.pas, vargrid*.pas, columns*.pas, torrentlist*.pasTorrent lists and columns
preferences.pas, preferences.lfm, history*.pas, options*.pasPreferences and history
httpclient.pas, uri*.pas, bencode.pas, ipresolver.pas, geoip*.pasNetworking and data services
httpclient.pas, uri*.pas, bencode.pas, download*.pasRemote downloads and bencode
ipresolver.pas, geoip*.pas, ip2*.pasIP resolution and geolocation
translations/**, languages/**, translation*.pas, *.poLocalization and language resources
*.lpi, *.lpk, .github/workflows/**, packaging/**, snap/**, macos/**, windows/**Build, release, and packaging