Skip to content
forked from bmaupin/go-epub

Go library for creating EPUB files

License

Notifications You must be signed in to change notification settings

speedata/go-epub

 
 

Repository files navigation

Go Report Card License GoDoc

Features

  • Documented API
  • Creates valid EPUB 3.0 files
  • Adds an additional EPUB 2.0 table of contents (as seen here) for maximum compatibility
  • Includes support for adding CSS, images, and fonts

For an example of actual usage, see https://github.com/bmaupin/go-docs-epub

Installation

go get github.com/speedata/go-epub

Development

go get github.com/speedata/go-epub
cd $GOPATH/src/github.com/speedata/go-epub

Dependencies are managed using Go modules

Testing

  1. (Optional) Install EpubCheck

    wget https://github.com/w3c/epubcheck/releases/download/v4.2.2/epubcheck-4.2.2.zip
    unzip epubcheck-4.2.2.zip
    
  2. Run tests

    go test
    

Credits

This is a fork of https://github.com/bmaupin/go-epub. So all credits and kudos should go there and any bugs are most likeliy introduced by us.

This fork allows subsections to be added to the navigation.

Sponsor this project

 

Packages

No packages published

Languages

  • Go 100.0%