mobi icon indicating copy to clipboard operation
mobi copied to clipboard

This Go package implements writing KF8-style formatted MOBI and AZW3 books.

Go MOBI

Github Actions CI Go Report Card Go Reference

This package implements facilities to create KF8-formatted MOBI and AZW3 books. We also export the raw PalmDB writer and various PalmDoc, MOBI and KF8 components as subpackages, which can be used to implement other formats that build on these standards.

Known issues

  • Chapters are supported but subchapters are not
  • Old readers without KF8 are not supported (Kindle 1, 2 and DX)
  • Books without any text content are always malformed
  • Errors during template expansion result in a panic

References

Huge thanks to the authors of these resources.

License

MIT © Leo Gaskin 2020-2024