#file-sharing #udp #applications #sending #server #p2p #send-file

bin+lib mork

application for sending files over udp written in rust

3 releases

0.1.4 Mar 21, 2022
0.1.3 Mar 20, 2022
0.1.2 Mar 16, 2022
0.1.1 Mar 16, 2022
0.1.0 Mar 16, 2022

#11 in #send-file

MIT/Apache

39KB
992 lines

mork

Application for sending files that is written in rust


Usage

Sending

mork file-to-send

You will get a code from the server that you can give to the reciever.

Recieving

mork -c <code> You can also set a specific output filename with the -o flag

Installation

Cargo (Compiling it yourself)

Stable

You can install the binary from crates.io with cargo

cargo install mork

Experimental

You can also install from the github repository by running this.

cargo install --git https://github.com/dojje/mork

Downloading directly

Windows

You can download the executable directly compiles for windows here.

Click on mork.exe to download it.

But you'll realise that it's not accessable anywhere. Thats where the path global variable comes in. To add it to the path which means to make it accessable anywhere you need to put the executable in any folder of you choice.

Then follow this guide on how to add an executable to the system path.

How it works

When you send a file the program will contact the tracker server which keeps track of all the codes. The server will give you a code and store your ip.

When somebody wants to recieve your file it contacts the server with a code. The server hands back your sender ip to the reciever and the file is sent p2p.

Dependencies

~9–20MB
~262K SLoC