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

SaitoJP/go-epub

 
 

Repository files navigation

Build Status Coverage Status 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/SaitoJP/go-docs-epub

Installation

go get github.com/SaitoJP/go-epub

Development

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

Dependencies are managed using Go modules

Testing

  1. (Optional) Install EpubCheck

    wget https://github.com/IDPF/epubcheck/releases/download/v4.0.2/epubcheck-4.0.2.zip
    unzip epubcheck-4.0.2.zip
    
  2. Run tests

    go test
    

About

Go library for creating EPUB files

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%