DEV Community

Cover image for Tran - 🖥 Securely transfer and send anything between computers with TUI.
abdfn
abdfn

Posted on

3 2

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.

AWS GenAI LIVE image

Real challenges. Real solutions. Real talk.

From technical discussions to philosophical debates, AWS and AWS Partners examine the impact and evolution of gen AI.

Learn more

Top comments (0)

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay