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: 12 days ago
JSON representation
🖥 Securely transfer and send anything between computers with TUI.
- Host: GitHub
- URL: https://github.com/abdfnx/tran
- Owner: abdfnx
- License: mit
- Created: 2022-01-26T18:35:28.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-22T06:20:20.000Z (4 months ago)
- Last Synced: 2024-10-12T02:33:00.079Z (about 1 month ago)
- Topics: cli, data-sharing, data-transfer, end-to-end, file-sharing, filetransfer, golang, peer-to-peer, sender, terminal-based, transfer, tui, websocket
- Language: Go
- Homepage:
- Size: 363 KB
- Stars: 408
- Watchers: 5
- Forks: 16
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: .github/SECURITY.md
Awesome Lists containing this project
- charm-in-the-wild - tran - Securely transfer stuff between computers (based on [portal](https://github.com/ZinoKader/portal)). (_built with Bubble Tea_) (Applications / Networking and File Transfer)
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)