• This repository has been archived on 10/Jan/2021
  • Stars
    star
    244
  • Rank 165,885 (Top 4 %)
  • Language
    Ruby
  • License
    MIT License
  • Created over 8 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Using Jekyll to create outputs that can be used as Pandoc inputs. In short - input markdown, output mobi, epub, pdf, and print-ready pdf. With a focus on fiction.

What is Open-Publisher

Open publisher is really just a couple of bash scripts that wrap around Jekyll, Pandoc, KindleGen, and LaTeX, along with some custom Pandoc templates created with a focus on fiction.

Write your manuscript in markdown, run a script, and receive some beautifully formatted ePub, Mobi, and print-ready PDF books.

Full documentation on the wiki

Why is Open-Publisher

My wife is an author and I handle all of the digital/print book creation. After 4+ years of using various tools I decided to streamline my process.

It can be a pain to manually update a Bio page with new information or new books for example. Doing a simple thing like that for 3 formats of a dozen books can take time and introduces the possibility of new typos with every change.

Pandoc is a great tool to convert markdown files to html/epub/pdf/etc., but its epub templating is still very minimalistic. It requires multiple stages to create a template that allows me to reuse common pages such as biography, licensing, etc.

I love Jekyll and use it whenever I can for web design. One of my favorite aspects is the ability to define 'code chunks' in the _includes folder and then use references to it wherever I want. Change that include file, rebuild, and every reference to it on your website is updated. It's that kind of logic that I need for creating my books.

By using Jekyll's templating I'm able to create files that slightly differ based on need. The mandatory Smashwords title page for example, or a custom Title page with Amazon URLs to other books.

Jekyll allows me to create custom templates, multiple 'includes', and then output them into a perfectly formatted Markdown file.

This markdown file can then be passed along to Pandoc and converted to epub/mobi/pdf.

More Repositories

1

starving-artist-jekyll-theme

A portfolio theme for Jekyll for artists to display their work - http://chrisanthropic.github.io/starving-artist-jekyll-theme/
CSS
120
star
2

terraform-import-github-organization

Script to fully automate Terraform import of Github Org (teams, users, and repos)
Shell
117
star
3

terraform-infra-as-code-coverage-badges

Terraform / infrastructure-as-code coverage badges - how much of your AWS infrastructure is managed by Terraform?
Shell
67
star
4

comical-jekyll-theme

A Configurable Webcomic Theme for Jekyll
CSS
44
star
5

slim-pickins-jekyll-theme

A minimal Jekyll theme
CSS
42
star
6

packer-kali

Packer stuff to build a Kali 1.0.9 vagrant box
Shell
18
star
7

packer-pfsense

Packer stuff to build a pfSense vagrant box.
Shell
14
star
8

ansible-aws-template

A tiny Ansible quick-start for AWS and Dynamic Inventory
Python
13
star
9

packer-debian2kali-ec2

An attempt at a Packer template to build an HVM Kali AMI that is identical to a Kali install using the official ISO.
Shell
12
star
10

docker-kali-msf

Docker image with Kali + metasploit/msfconsole + postgresql
Shell
8
star
11

docker-kali

Base Kali image for Docker built with debootstrap
Shell
8
star
12

docker-kali-msf-micro

Docker image with Kali + metasploit/msfconsole + postgresql -without any metasploit modules
Shell
7
star
13

docker-alpine-rpi-glibc-builder

Docker container to build an Alpine glibc package for the Raspberry Pi 2.
4
star
14

docker-alpine-rpi-glibc

An Alpine Linux Docker container for Rasberry Pi 2 with Glibc installed.
3
star
15

image_optim-jekyll-plugin

A simple Jekyll plugin to optimize images using image_optim
Ruby
3
star
16

docker-alpine-rpi-base

Build your own Alpine Linux container compatible with a Raspberry Pi 2
Shell
3
star
17

chrisanthropic.github.io

CSS
2
star
18

phantom_ledger

This is a collection of scripts working towards automated checking of sales reports for authors on the following sites; Createspace, DriveThru, iTunes, KDP, Kobo, Nook, Smashwords
Ruby
2
star
19

LinuxMusicProduction

My personal notes for making music on Linux
1
star
20

docker-alpine-rpi-jenkins

An Alpine Linux Docker container for Rasberry Pi 2 with Glibc and Java JDK 8 and Jenkins installed.
1
star
21

Open-Publisher-Documentation

Documentation website for the Open-Publisher project
SCSS
1
star
22

docker-alpine-rpi-java8

An Alpine Linux Docker container for Rasberry Pi 2 with Glibc and Java JDK 8 installed.
1
star
23

ansible-tdd-test-kitchen-inspec

Sample Ansbile role tested with test-kitchen and inspec.
Ruby
1
star