Skip to content

moyamejiasr/go-epub

This branch is 1 commit ahead of, 169 commits behind bmaupin/go-epub:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

741728a · Feb 16, 2018
Jun 28, 2016
Jan 10, 2018
Jan 10, 2018
May 25, 2016
Jan 10, 2018
Jan 10, 2018
May 21, 2016
Jan 10, 2018
Dec 15, 2016
Dec 15, 2016
Aug 25, 2016
Feb 16, 2018
Feb 16, 2018
Feb 16, 2018
Jun 9, 2016

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

Development

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

Dependencies are stored in the vendor directory and managed using golang/dep

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 99.7%
  • CSS 0.3%