Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/green-sky/tox_ngc_ft1_tool

WiP Tox NGC file transfer tool, using PoC torrent like file chunking
https://github.com/green-sky/tox_ngc_ft1_tool

commandline-tool e2ee filesharing p2p torrent tox

Last synced: 11 days ago
JSON representation

WiP Tox NGC file transfer tool, using PoC torrent like file chunking

Awesome Lists containing this project

README

        

# Tool to send and receive files using Tox NGC FileTransfers
currently on prototype FT1

## Example

### sender (seeder)
`$ tox_ngc_ft1_tool -F sender.tox -G -a sha1_info -f file_to_transfer`

this will print this tools tox_id and the generated info_hash

### receivers (leechers)
`$ tox_ngc_ft1_tool -F sender.tox -G -a sha1_info -D `

this will first download the info using the info_hash and then all the file chunks listed in the info
while simultaneously resharing allready downloaded chunks and info (swarming)
to increase the amount of parallel chunk down/up loads, you can increase the value with the -I and -O option. the default for -I is 32 and for -O 16, which are relatively low numbers, which in practice can get you up to ~700KiB/s.

## Usage

```
$ tox_ngc_ft1_tool
~~~ HELP ~~~
meta:
-v version info
-V verbose
-h help

connectivity:
-G
-F profile.tox
-N (defaults to 'tox_ngc_ft1_tool')
will print friend id at startup
will autoaccept any invite
if no -F given, will not save profile.
if profile exists load, otherwise create new

transfer variant:
-a id1/sha1_single/sha1_info/sha2_single/sha2_info

send:
-f send_this_file.zip

receive:
-d dump/everything/in/this/dir
-D (what to dl)

!!! ADVANCED !!!
tox:
-L disable local discovery
-U disable udp
-P proxy_host proxy_port
-p tox_port (bind tox to that port)

FT1:
--ft_ack_per_packet
--ft_init_retry_timeout_after
--ft_sending_give_up_after

transfer logic:
-I
-O
```