tor
github.com/i96751414/torrest
go get github.com/i96751414/torrest
tor

github.com/i96751414/torrest

torrent service with a REST api

by i96751414

v0.0.8 (see all)License:MIT
go get github.com/i96751414/torrest
Readme

Torrest

Build Status Codacy Badge

Torrent service with a REST api, specially made for streaming.

Building

  1. Build the cross-compiler and libtorrent-go images, or alternatively, pull the libtorrent-go images from Docker Hub:

    make pull-all
    

    This will pull all platforms images. For a specific platform, run:

    make pull PLATFORM=linux-x64
    
  2. Build torrest binaries:

    make all
    

    Or if you want to build for a specific platform:

    make linux-x64
    

The list of supported platforms is:

AndroidDarwinLinuxWindows
android-arm
android-arm64
android-x64
android-x86

darwin-x64




linux-arm
linux-armv7
linux-arm64
linux-x64
linux-x86
windows-x64
windows-x86



Swagger

For building swagger docs, you must run go get -u github.com/swaggo/swag/cmd/swag to install all the necessary dependencies, and then run make swag. The last command must be executed before building the binaries, so the documents are included when building.

Swagger-ui will then be available on: http://localhost:8080/swagger/index.html.

GitHub Stars

11

LAST COMMIT

7mos ago

MAINTAINERS

0

CONTRIBUTORS

1

OPEN ISSUES

0

OPEN PRs

0
VersionTagPublished
v0.0.8
1yr ago
v0.0.8-0.20210315224848-ab8fc0474433
1yr ago
v0.0.8-0.20210215131900-ec7a47c947e4
1yr ago
v0.0.7
1yr ago
No alternatives found
No tutorials found
Add a tutorial