Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 764 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 764 Bytes

KindleGen

Amazon's KindleGen dockerized.

Usage

You could run KindleGen in a container by executing the following docker command.

docker run -it --rm \
  --volume "$PWD:/home/kindlegen" \
  koenrh/kindlegen \
  /home/kindlegen/modern-vim.epub

You could make this command more easily accessible by putting it in an executable, and make sure that it is available in your $PATH. Alternatively, you could create wrapper functions for your docker run commands (example).

kindlegen() {
  docker run -it --rm \
    --volume "$PWD:/home/kindlegen" \
    --name kindlegen \
    koenrh/kindlegen "$@"
}