A simple plugin that uses mktorrent to create a .torrent file with your
whole site after it's generated by jekyll. It monkeypatches
Jekyll::Site.process
.
It's used on En Defensa del Software Libre.
Default configuration (change it by superseding in _config.yml
):
torrent:
announce: 'udp://tracker.publicbt.com:80'
file: 'site.torrent'
flags: '--verbose'
bin: 'mktorrent'
announce
is the URL of the tracker.
file
is the torrent filename.
flags
is a string with the flags you will normally pass to mktorrent
on
cli, besides --output
and --announce
bin
is the mktorrent
binary path
Execute jekyll
like always, just make sure you have mktorrent
installed and
it's binary is accessible.