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'
-
announceis the URL of the tracker. -
fileis the torrent filename. -
flagsis a string with the flags you will normally pass tomktorrenton cli, besides--outputand--announce -
binis themktorrentbinary path
Execute jekyll like always, just make sure you have mktorrent installed and
it's binary is accessible.