Skip to content

PanAeon/transg-tui

Repository files navigation

Transgression TUI

Transmission remote TUI client.

asciicast Rust

Building

Dependencies:

  • rustc >= 1.62
  • cargo >= 1.62
  • openssl >= 1.1.0
cargo build --release

NIX

nix build

or

nix run github:PanAeon/transg-tui

alternatively you can grab latest build from Github Actions

Configuration

TOML configuration file is located at ~/.config/transg/transg-tui.toml Note: old transg-tui.json is deprecated and will be converted to the new format on app start. sorry for the hassle

Example config:

refresh_interval = 1200
# one of: "upload" "donwload" "none"
traffic-monitor = "upload"
# true/false show file icons, nerdfont is required
show-icons = true


[[connections]]
name = "NAS"
username = ""
password = ""
url = "http://192.168.1.18:9091/transmission/rpc"
#
# optional. explicitly sets transmission's download directory
# download-dir = "/var/lib/transmission/downloads"
#
# optional. Set this if you have remote transmission folder mounted on the local filesystem. 
# If set, {location} token gets replaced with the local folder.
local-download-dir = "/run/mount/transmission"


[[actions]]
description = "open in nautilus"
shortcut = "o"
cmd = "swaymsg"
args = ["exec", "--", "nautilus", "\"{location}\""]

[[actions]]
description = "terminal"
shortcut = "t"
cmd = "swaymsg"
args = ["exec", "--", "alacritty", "--working-directory", "\"{location}\""]

# Actions for individual files
[[file-actions]]
description = "open"
shortcut = "o"
cmd = "swaymsg"
args = ["exec", "--", "handlr", "open", "\"{location}\""]
[[file-actions]]
description = "copy path to clipboard"
shortcut = "c"
cmd = "wl-copy"
args = [ "{location}" ]

# Colors, (experimental and subject to change):
# Both section must be present in the config
[colors.main]
text = "Gray"
highlight = "Magenta"
highlight-text = "DarkGray"
text-soft = "Gray"
text-error = "Red"
[colors.details]
text = "Gray"
highlight = "LightGreen"
highlight-text = "DarkGray"
text-soft = "Gray"
text-error = "Red"

Substitutions:

Token Description
{location} If torrent contains a folder then this folder else its download dir.
{id} Torrent's id
{download_dir} Download directory
{name} Torrent's name
{remote_location} Files only. Remote file location.

Keybindings

Key Description
↑ / k Prev item
↓ / j Next item
f Filter menu
S Sort menu
space Action menu
d Details screen (under construction)
/ Find next item in list
? Find prev item in list
s Search across all torrents
c Connection menu
F1 Help screen
Esc Exit from all menus
q Quit

Betterships

  • Low memory usage even with thousands of torrents
  • VIM-like keys
  • Organize your torrents with folders
  • Run custom external commands

Similar apps

About

Terminal UI for transmission torrent client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •