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