an opinionated gempub to epub converter
Go to file
sejo ebcfbd9943 license 2021-12-13 20:56:05 -06:00
example-gpub generate toc.ncx from index 2021-12-13 19:34:01 -06:00
templates streamlined templates 2021-12-13 20:49:28 -06:00
LICENSE.txt license 2021-12-13 20:56:05 -06:00
Makefile license 2021-12-13 20:56:05 -06:00
README.md license 2021-12-13 20:56:05 -06:00
g2e.awk license 2021-12-13 20:56:05 -06:00

README.md

g2e

an opinionated gempub to epub converter written in awk.

usage

an example (uncompressed) gpub file is provided.

you can generate the corresponding epub file using:

make example

and then compress it as an epub with:

make epub

in order to convert another gpub, you can remix the following command, where example-gpub/ would be the directory for your uncompressed gpub

awk -f g2e.awk example-gpub/

for the moment this only generates the epub metadata and table of contents files.

TODO

  • convert .gmi files to .xhtml
  • handle non-gmi files in the manifest

license

THIS IS CHAOTIC SOFTWARE BEWARE <//xj-ix.luxe/wiki/chaotic-software/>