Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/abdfnx/tran

🖥 Securely transfer and send anything between computers with TUI.
https://github.com/abdfnx/tran

cli data-sharing data-transfer end-to-end file-sharing filetransfer golang peer-to-peer sender terminal-based transfer tui websocket

Last synced: about 2 months ago
JSON representation

🖥 Securely transfer and send anything between computers with TUI.

Lists

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

```bash
brew install abdfnx/tap/tran
```

### GitHub CLI

```bash
gh extension install abdfnx/gh-tran
```

## Usage

* Open Tran UI

```bash
tran
```

* Open with specific path

```
tran --start-dir $PATH
```

* Send files to a remote computer

```
tran send
```

* Receive files from a remote computer

```
tran receive
```

* 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`

```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

- [**Charm**](https://charm.sh)
- [**Chroma**](https://github.com/alecthomas/chroma)
- [**Imaging**](https://github.com/disintegration/imaging)
- [**Gorilla Websocket**](https://github.com/gorilla/websocket)
- [**PAKE**](https://github.com/schollz/pake)
- [**Cobra**](https://github.com/spf13/cobra)
- [**Viper**](https://github.com/spf13/viper)
- [**GJson**](https://github.com/tidwall/gjson)
- [**Termenv**](https://github.com/muesli/termenv)

### Special thanks

thanks to [**@ZinoKader**](https://github.com/ZinoKader) for his awesome repo [`portal`](https://github.com/ZinoKader/portal)

### License

tran is licensed under the terms of [MIT](https://github.com/abdfnx/tran/blob/main/LICENSE) license.

## Stargazers over time

[![Stargazers over time](https://starchart.cc/abdfnx/tran.svg)](https://starchart.cc/abdfnx/tran)