fileshare-cli

command module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

README

fileshare-cli

fileshare-cli is CLI app written in Golang to transfer files via WebRTC protocol.

It is peer-to-peer (P2P), so there are no servers in middle. However, Google's STUN server is used to retrieve information about public address, the type of NAT clients are behind and the Internet side port associated by the NAT with a particular local port. (Transfer of files does not happen through Google servers.)

This information is used to setup Data Channel between clients.

https://github.com/spectre10/fileshare-cli/assets/72698233/db208f9d-7b94-4e58-9665-0a05e25e9b94

Architecture

WebRTC

Installation

If you have Go installed, (Install from here)

Add $GOPATH/bin to your $PATH. And then,

if you want the latest release version, then run this command,

go install github.com/spectre10/fileshare-cli@v0.1.2

or

if you want a specific release version, then run this command,

go install github.com/spectre10/fileshare-cli@vX.X.X

Alternatively, you can also download from GitHub Releases.

Usage

To send a file,

fileshare-cli send --file <filepath>

To receive a file,

fileshare-cli receive

Currently only tested on Linux.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
session

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL