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.pasand form call sites. - Lazarus form declarations and their corresponding
.lfmresources must remain synchronized; see the*.pas/*.lfmform 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.pasand history-related units. - Torrent list display must use the configurable grid/column abstractions so presentation preferences remain applicable; see
vargrid.pasand*.columnsconfiguration 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 trigger | Documentation |
|---|---|
transgui.lpr, mainform.pas, mainform.lfm | Application lifecycle and main window |
transgui.lpr, *.lpi, *.lpk, components/** | Startup and component wiring |
mainform.pas, mainform.lfm, menu*.pas, toolbar*.pas | Main window workflows |
transmissionrpc.pas, transmission*.pas, rpc*.pas | Transmission RPC integration |
transmissionrpc.pas, rpc*.pas, json*.pas | RPC protocol and session flow |
connection*.pas, connection*.lfm, server*.pas, password*.pas | Daemon connection configuration |
addtorrent.pas, torrentproperties.pas, trackermodify.pas, movedata.pas | Torrent workflows |
addtorrent.pas, addtorrent.lfm, download*.pas, magnet*.pas | Torrent intake |
torrentproperties.pas, torrentproperties.lfm, movedata.pas, files*.pas | Torrent details and location |
trackermodify.pas, trackermodify.lfm, tracker*.pas | Tracker management |
baseform.pas, vargrid.pas, preferences.pas, history*.pas | Desktop interface and preferences |
vargrid.pas, vargrid*.pas, columns*.pas, torrentlist*.pas | Torrent lists and columns |
preferences.pas, preferences.lfm, history*.pas, options*.pas | Preferences and history |
httpclient.pas, uri*.pas, bencode.pas, ipresolver.pas, geoip*.pas | Networking and data services |
httpclient.pas, uri*.pas, bencode.pas, download*.pas | Remote downloads and bencode |
ipresolver.pas, geoip*.pas, ip2*.pas | IP resolution and geolocation |
translations/**, languages/**, translation*.pas, *.po | Localization and language resources |
*.lpi, *.lpk, .github/workflows/**, packaging/**, snap/**, macos/**, windows/** | Build, release, and packaging |