torrent-cache

command module
v0.0.0-...-f5bc7f8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2014 License: GPL-3.0 Imports: 11 Imported by: 0

README

Torrent Cache

Build Status

Simple application to cache torrents written in Go.

Requirements

archivemount command is not really required but start and stop won't work without it. They also expect a file named cached.tar.gz. Mount point is $HOME/.torrent_cache.

Installing

Run

    ./setup

Api

Current version is v1. Api URL is http://{hostname}/api/{version}/{torrent_infohash}.

  • Cache torrent submitting a POST request with a form containing the file with key torrent. Returns torrent's infohash.
  • To retrieve cached torrents submit a GET request to api URL
  • Deletion is implemented but disabled.

Documentation

Overview

torrent_cache document

Directories

Path Synopsis
Godeps

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL