Skip to content

PiterWeb/FileTransferGo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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

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

  2. Run CLI from Go $ go run . <Commands>


Windows

  1. Run CLI from file $ FileTransfer <Commands> (If u did the build)

Linux

  1. Run CLI from file $ ./FileTransfer <Commands> (If u did the build)

πŸ‘·β€β™‚οΈ Build for your OS

Linux

Get yout Ngrok Version

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