tran

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2022 License: MIT Imports: 12 Imported by: 0

README

computer 1 computer 2

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

Installation

ways

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

Special thanks

thanks to @ZinoKader for his awesome repo portal

License

tran is licensed under the terms of MIT license.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
app
cmd
core
internal
tui

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL