Skip to content

edsl/jekyll-torrent

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A torrent plugin for jekyll

A simple plugin that uses transmission-create 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 and Utopía Pirata

Configuration

Default configuration (change it by superseding in _config.yml):

torrent:
  announce: 'udp://9.rarbg.to:2710/announce'
  file:     'site.torrent'
  flags:    ''
  bin:      'transmission-create'
  • announce is the URL of the tracker. It can also be an array. Use the special value 'random' if you want to use 3 random trackers from https://torrents.me/tracker-list/

  • file is the torrent filename.

  • flags is a string with the flags you will normally pass to transmission-create on cli, besides --outfile and --tracker

  • bin is the transmission-create binary path

How to run

Execute jekyll like always, just make sure you have transmission-create 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

  • Ruby 100.0%