Skip to content

NinjaDevelper/Storjutp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status

File Transfer by libutp

This module trnasfer files by libutp. libutp uses LEDBAT technology, which does not interrupt other works that uses network, like web browsing, downloading, etc, i.e. Storjutp transfer files in background.

Requirements

This requires

  • g++ (v4.8 or higher for test)
  • Python (2.x or 3.x)

Installation

To compile

$ python setup.py install

To run the associated tests:

$ git submodule update --recursive --init
$ make test
$ LD_LIBRARY_PATH=libtap ./test

To run the associated tests for python:

$ python setup.py test -a "--doctest-modules --pep8 -v tests/ storjutp/"

for Windows OS, Cygwin must be installed first.

  1. download cygwin installer from here and run it.
  2. go forward to package selection, and select packages below, and go forward to install them.

under devel category:

  1. gcc-g++
  2. make
  3. git

under Python category:

  1. python
  2. python3
  3. python-setuptools
  4. python3-setuptools

After that run c:\cygwin\cygwin.bat, where you can install and run StorjTelehash.

Usage

API Document for utpbinder is here

API Document for storjutp is here

Contribution

Improvements to the codebase and pull requests are encouraged.