MCPcopy Index your code
hub / github.com/abdfnx/tran

github.com/abdfnx/tran @v0.1.43

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1.43 ↗ · + Follow
329 symbols 890 edges 66 files 107 documented · 33%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

🖥️ 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

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>
  • Authenticate with github
tran auth login
  • Sync your tran config file
tran sync start

Tran Config file

tran config file is located at ~/.tran/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.

Stargazers over time

Stargazers over time

Extension points exported contracts — how you extend this code

WsHandlerFunc (FuncType)
(no doc)
tools/websocket.go

Core symbols most depended-on inside this repo

Name
called by 33
core/sender/state.go
Error
called by 20
tools/errors.go
WriteEncryptedMessage
called by 13
tools/messaging.go
updateDirectoryListingCmd
called by 13
internal/tui/cmds.go
GracefulUIQuit
called by 13
internal/tui/sr-ui.go
handleErrorCmd
called by 12
internal/tui/cmds.go
fileTreeView
called by 12
internal/tui/view.go
DecodePayload
called by 11
tools/json.go

Shape

Function 148
Method 121
Struct 49
TypeAlias 10
FuncType 1

Languages

Go99%
TypeScript1%

Modules by API surface

ios/iostreams.go33 symbols
ios/color.go30 symbols
internal/tui/cmds.go17 symbols
dfs/directory-file-system.go13 symbols
constants/commands.go12 symbols
models/protocol/transfer.go9 symbols
cmd/tran/help.go9 symbols
models/protocol/tranx.go8 symbols
internal/tui/sender.go8 symbols
internal/tui/send.go8 symbols
core/sender/sender.go8 symbols
core/receiver/receiver.go8 symbols

For agents

$ claude mcp add tran \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page