Tran -🖥️ Securely transfer and send anything between computers with TUI.

Abdfnabd
2 min readFeb 11, 2022

🖥️ Securely transfer and send anything between computers with TUI.

Installation

Using script

  • Shell
curl -fsSL https://cutt.ly/tran-cli | bash
  • PowerShell
iwr -useb https://cutt.ly/tran-win | iex

then restart your powershell

Homebrew

brew install abdfnx/tap/tran

Go package manager

go install github.com/abdfnx/tran@latest

GitHub CLI

gh extension install abdfnx/gh-tran

Usage

  • Open Tran UI
tran
  • Open with specific path
tran --start-dir $PATH
  • Send files to a remote computer
tran send <FILE || DIRECTORY>
  • Receive files from a remote computer
tran receive <PASSWORD>

Tran Config file

tran config file is located at ~/.config/tran/tran.yml | $HOME/tran.yml

config:
borderless: false
editor: vim
enable_mousewheel: true
show_updates: true
start_dir: .

Flags

--start-dir string   Starting directory for Tran

Shortkeys

  • tab: Switch between boxes
  • up: Move up
  • down: Move down
  • left: Go back a directory
  • right: Read file or enter directory
  • V: View directory
  • T: Go to top
  • G: Go to bottom
  • ~: Go to your home directory
  • /: Go to root directory
  • . : Toggle hidden files and directories
  • D: Only show directories
  • F: Only show files
  • E: Edit file
  • ctrl+s: Send files/directories to remote
  • ctrl+r: Receive files/directories from remote
  • ctrl+f: Find files and directories by name
  • q/ctrl+q: Quit

Technologies Used in Tran

License

tran is licensed under the terms of MIT license.

--

--

Abdfnabd

someone likes CLI/TUI apps, automation, server-sides, and backend.