GithubHelp home page GithubHelp logo

piterweb / filetransfergo Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 13.29 MB

โœˆ Send files through the terminal ๐Ÿ“ฆ

License: GNU General Public License v3.0

Go 100.00%
cli filesystem go golang terminal transfer-data transfer-files

filetransfergo's Introduction

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

filetransfergo's People

Contributors

piterweb avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.