📖 This template manages the creation of books in a logical manner.
It also has a Gitlab pipeline configuration included so you book can be autogenerated.
Simple.
The template uses a couple of libraries:
Install those first.
Then clone this repo to your machine. git clone https://github.com/avastmick/book-template.git
💥 Boom, you're done!
- Add chapters in the
chapters
directory - Add cover art and save as
images/book-cover.jpg
- Put all your planning stuff into planning
- Write away...
- Add a synopsis set into the
synopsis
folder - Add chapters into the
chapters
folder - Modify the files in the
publish
folder to suit (see the files there for guidance)
- Add a synopsis set into the
- Install python (should be good to go on Linux or MacOS)
- Install Pandoc
- Install Kindlegen and ensure you can get to it from your
$PATH
- Open a terminal
- cd to the directory you are saving your book
- type
./Publish.py -h
(MacOS or Linux) orpython Publish.py -h
(Windows) and follow the instructions
I use Gitlab, why? It has free private repositories, you want that if you are writing a novel, right? Also, it has a free continuous integration
feature called Pipeline, this can be configured to create your ebooks each time you save you work.
- Commit your changes and push up to Gitlab
- Set up a pipeline for building your
- Check the pipeline for success
- Download the build artefacts
- Read...
GitHub is great if you are writing open source books etc. It has more users and a greater potential readership.
I'll post up some information on how this template will work.
If you like what you find here, and or what updates, please send some ❤️ .