Skip to content
/ trex Public

Batteries included(Torrent MetaInfo Generator ,Tracker, Initial Seeder, Supportive Seeder) torrent provider platform that provides detailed introspection endpoints.

Notifications You must be signed in to change notification settings

ziscky/trex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

trex

goreport Build Status

Under Heavy Development

A Batteries included extensible torrent provider platform built on top of https://github.com/ziscky/Taipei-Torrent making it easy to share content through the BitTorrent protocol.

Features

  • Torrent MetaInfo generator
  • Private Tracker
  • Initial and Supportive Seeders
  • Detailed introspection API endpoints
  • Minimal dependencies

Getting Started

Basic directory structure

Content/ - where content to be shared is stored.(files or folders)
Torrents/ - where torrent metainfo files (.torrent) will be stored
registry - file that ensures dynamic behavior of seeders and tracker when torrents are added or deleted.

Setup Instructions

  1. Create directory where you will store content (anywhere in the filesystem as long as you have valid permissions) to be shared ( name anything you like)
  2. Create directory .torrent files will be stored (anywhere in the filesystem as long as you have valid permissions) to be shared ( name anything you like)
  3. Create an empty file, this will be the torrent registry

Running Instructions

1.Generate .torrent files and populate registry
$./trex-content -content=/absolute/path/to/contentfolder -torrent=/absolute/path/to/torrentfolder -addr=addr:port -registry=/absolute/path/to/torrentregistry

//addr - address of tracker to be writtent into the .torrent file, exclude the protocol

2. Run the tracker
$./trex-tracker -registry=/absolute/path/to/registryfile addr=addr:port 

3. Run the initial seeders
$./trex-seeder -numSeeds=20 -registry=absolute/path/to/registryfile -port=18000

About

Batteries included(Torrent MetaInfo Generator ,Tracker, Initial Seeder, Supportive Seeder) torrent provider platform that provides detailed introspection endpoints.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages