Download
Epublib has several files available: epublib-core and epublib-tools.
Epublib-core covers basic epub reading/writing/manipulating functionality. It runs on both regular java and on Android.
Getting the most up-to-date version of epublib
The best bet is to download the source and compile it yourself.
You can either:
- Download source as zipfile: https://github.com/psiegman/epublib/zipball/master
- Get source from github: https://github.com/psiegman/epublib
Then do a ‘mvn package’ and you have the most up-to-date version of epublib.
Maven
To include epublib in a maven build do the following:
Add this to your set of repositories:
<repositories> <repository> <id>psiegman-repo</id> <url>https://github.com/psiegman/mvn-repo/raw/master/releases</url> </repository> </repositories>
Then add the following to your pom.xml:
<dependency> <groupId>nl.siegmann.epublib</groupId> <artifactId>epublib-core</artifactId> <version>3.1</version> </dependency>
Get the the viewer
The viewer is a standalone java epub viewer. It is part of the epublib-tools package, but also available here: https://github.com/downloads/psiegman/epublib/epublib-tools-viewer-latest.jar