A torrent site mirroring tool
The goal of BitCannon is to provide the tools to easily aggregate the content of many torrent sites into an easily browse-able format.
BitCannon aims to be as user friendly as possible while still providing robustness and the features you would expect. We hope the average user will use BitCannon to keep personal bittorrent archives, but we strive to produce code that can stand up to running a public mirror as well.
This project is available on:
See the Wiki for regular easy set up instructions
If you are not a programmer or do not wish to install this long list of things, use the instructions on the wiki instead!
- NodeJS
- Grunt
- Bower
- Golang
- Golang Dependencies
(Note: These building instructions may get out of date from time to time due to code changes. If you just want to use BitCannon, you should use the Wiki instructions instead.)
You must build the web first, as it gets embedded into the api binary.
sudo pacman -S nodejs
)sudo npm install -g grunt
and sudo npm install -g grunt-cli
/web
type npm install
, bower install
, and grunt
If grunt fails with errors, you may have not installed it properly. The NodeJS and Grunt guys probably know more about it than I do
packer -S go-git
)export GOPATH=$HOME/.go
)export PATH="$PATH:$GOPATH/bin"
)Go can be hard to install without nice official packages. If go spits errors, try googling them a bit before opening an issue. It may not be specific to this project.
api/config.example.json
to config.json
make build_api
to try to buildgo get <url>
Once you have all of the dependencies, it will build into the api/build folder.
bitcannon
to run the serverbitcannon <btArchive.txt>
to import torrentsmake build
in the main folder will recompile both the web and api into api/build
make build_api
to avoid recompiling the webgo get github.com/mitchellh/gox
gox -build-toolchain
make deploy
(Will make a zip containing all the binaries)The early version of BitCannon aims to provide import functionality from bittorrent archives and a simple interface to browse and search your torrent database. Later versions may have more advanced features like auto updating torrent indexes and possibly more.
This is MIT licensed, so do whatever you want with it. Just don't blame me for anything that happens.