Skip to content

mauriciopasquier/jekyll-torrent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A torrent plugin for jekyll

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.

Configuration

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

How to run

Execute jekyll like always, just make sure you have mktorrent installed and it's binary is accessible.

About

Generate a .torrent file with your Jekyll site.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages