# 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