DEV Community

Cover image for Tran - πŸ–₯ Securely transfer and send anything between computers with TUI.
abdfn
abdfn

Posted on

Tran - πŸ–₯ Securely transfer and send anything between computers with TUI.

computer 1
computer 2

πŸ–₯️ Securely transfer and send anything between computers with TUI.

GitHub logo abdfnx / tran

πŸ–₯ Securely transfer and send anything between computers with TUI.

Installation

Using script

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

then restart your powershell

Homebrew

brew install abdfnx/tap/tran
Enter fullscreen mode Exit fullscreen mode

Go package manager

go install github.com/abdfnx/tran@latest
Enter fullscreen mode Exit fullscreen mode

GitHub CLI

gh extension install abdfnx/gh-tran
Enter fullscreen mode Exit fullscreen mode

Usage

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

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: .
Enter fullscreen mode Exit fullscreen mode

Flags

--start-dir string   Starting directory for Tran
Enter fullscreen mode Exit fullscreen mode

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.

Top comments (0)