Google SRE Book Generator (EPUB/MOBI/PDF).
Generates a EPUB/MOBI/PDF for the Google SRE Books. Original sources are downloaded from https://sre.google/books/
Visit the Releases page to download the latest release. Go through all the releases, and click “Assets” to view a list of files.
Site Reliability Engineering (2016) | The Site Reliability Workbook (2018) |
---|---|
![]() BUY |
![]() BUY |
A few other SRE books/reports are available as directly from Google or publishers. A few links point to Internet Archive. Links marked in 🔻 are currently down.
You might also like:
Requirements:
You can generate either of books using BOOK_SLUG
variable.
Available values for BOOK_SLUG
:
sre_book
Site Reliability Engineering.srw_book
The Site Reliability Workbook.
$ docker run --rm --volume "$(pwd):/output" -e BOOK_SLUG='srw_book' captn3m0/google-sre-ebook:latest
NOTE: You’ll have to allow docker access to a directory that’s local to your system. The safest way to do this is as follows:
$ mkdir /tmp/sreoutput
$ chcon -Rt svirt_sandbox_file_t /tmp/sreoutput
$ docker run --rm --volume "/tmp/sreoutput:/output" -e BOOK_SLUG='srw_book' ghcr.io/captn3m0/google-sre-ebook:ruby
Builds on Docker Hub are no longer maintained.
Requirements:
gem install bundler
bundle install
brew install pandoc
brew cask install calibre
brew install wget
Run either of the following:
# To download Site Reliability Engineering.
BOOK_SLUG='sre_book' ./generate.sh
# To download The Site Reliability Workbook.
BOOK_SLUG='srw_book' ./generate.sh
Any option can be passed to pandoc
by PDF_OPT_
prefix, for example:
PDF_OPT_GEOMETRY=margin=1.5cm \
PDF_OPT_DOCUMENTCLASS=extbook \
PDF_OPT_FONTSIZE=14pt \
PDF_OPT_MAINFONT=LiberationSerif-Regular.ttf \
PDF_OPT_MAINFONTOPTIONS=BoldFont=LiberationSerif-Bold.ttf,ItalicFont=LiberationSerif-Italic.ttf,BoldItalicFont=LiberationSerif-BoldItalic.ttf \
PDF_OPT_MONOFONT=LiberationMono-Regular.ttf \
PDF_OPT_MONOFONTOPTIONS=BoldFont=LiberationMono-Bold.ttf,ItalicFont=LiberationMono-Italic.ttf,BoldItalicFont=LiberationMono-BoldItalic.ttf \
PDF_OPT_SANSFONT=LiberationSans-Regular.ttf \
PDF_OPT_SANSFONTOPTIONS=BoldFont=LiberationSans-Bold.ttf,ItalicFont=LiberationSans-Italic.ttf,BoldItalicFont=LiberationSans-BoldItalic.ttf \
BOOK_SLUG=sre_book ./generate.sh
Default options passed to pandoc
in generate.sh
are overloaded by PDF_OPT_
prefix, see PDF_OPT_GEOMETRY
in above example.
Fonts in above axample are packed to fonts-liberation2
on Ubuntu.
See more details:
This is licensed under WTFPL. See COPYING file for the full text.
I have a list of my E-book publishing related projects at https://captnemo.in/ebooks/. Links to other related books can be found at https://github.com/upgundecha/howtheysre#books-1