Ruby Shell
Switch branches/tags
Nothing to show
Clone or download
Latest commit efcb936 May 16, 2018



Generates a EPUB/MOBI for the Google SRE Book.

Original sources are downloaded from


Docker (Preferred)


  • Docker

docker run --rm --volume "$(pwd):/output" captn3m0/google-sre-ebook:latest

  • You should see the final EPUB/MOBI files in the output directory after the above runs.
  • The file may be owned by the root user.

The build for the above Docker image can be audited at


Review and run the script to generate the EPUB and MOBI files


  • Ruby
  • gem install bundler
  • gem install nokogiri
  • brew install pandoc
  • brew cask install calibre
  • brew install wget

Known Issues

  • Inline references are not handled in the best possible way
  • metadata.xml is not complete. There are just too many authors
  • Foreword/Preface is not part of the index


This is licensed under WTFPL. See COPYING file for the full text.