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

https://github.com/piterweb/filetransfergo

✈ Send files through the terminal 📦
https://github.com/piterweb/filetransfergo

cli filesystem go golang terminal transfer-data transfer-files

Last synced: about 1 month ago
JSON representation

✈ Send files through the terminal 📦

Awesome Lists containing this project

README

          

# FileTransferGo

## Packages used 📦

* Go:
* Gin (*http server*) 🌐
* Cobra (*CLI command framework*) 🐍
* External :
* Ngrok (*secure tunnels*) 🔒

## Features

* 👥 Client
* Send Files to another computer using command line

* 💻 Server
* Listen for files from other computers across the internet using Ngrok secure tunnels

* 🔖 On every subcommand there is -h flag to show description of all commands

## 📚 How to use

*[Get yout Ngrok Authtoken](https://dashboard.ngrok.com/get-started/your-authtoken "Go to Ngrok")*

1. Set authtoken if u haven't use ngrok **```$ ngrok authtoken ```** (run it on project folder)

2. Run CLI from Go **```$ go run . ```**

- - - -

### Windows

2. Run CLI from file **```$ FileTransfer ```** (If u did the build)

### Linux

2. Run CLI from file **```$ ./FileTransfer ```** (If u did the build)

## 👷‍♂️ Build for your OS

### Linux

*[Get yout Ngrok Version](https://ngrok.com/download "Go to Ngrok")*

#### **Change the Ngrok.exe with your respective ngrok version on the same path**

- - - -

**```$ go build```** (on project directory)

## 💬 Commands

To see all commands run :

From Go **```$ go run .```**

- - - -

### If u did the build:

#### Windows

**```$ FileTransfer```**

#### Linux

**```$ ./FileTransfer```**