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

writeas/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/bmaupin/go-docs-epub

Installation

go get github.com/writeas/go-epub

Development

go get github.com/writeas/go-epub
cd $GOPATH/src/github.com/writeas/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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%