Web application for FictionBook 2.0 (fb2) to epub and mobi convertion.
- download source file file for convertion by URL from remote location
- convert single fb2 file into epub or mobi format
- convert multiple files by one request
- email conversion result to user or return it immediately
For fb2 -> epub conversion EPUBGEN from Adobe's epub-tools conversion engine used. For fb2 -> mobi and epub -> mobi conversion Amazon's KindleGen converter used.
- java 1.6+
- Apache Tomcat
- Nginx - (optional)
- java 1.6+
- Maven 3.+
-
clone project
-
execute in project root
mvn package
-
copy application webapp/target/converter.war into CATALINA_HOME/webapps
-
copy and modify application configuration file webapp/conf/converter.properties into CATALINA_HOME/conf
- to create and initialize internal database set configuration parameter
database.init = true
before first startup . Don't forget to set it tofalse
for subsequent server starts.
- to create and initialize internal database set configuration parameter
-
start server and go to http://host:port/converter
Converter can work as standalone application or paired with Nginx as reverse proxy frontend. Configuration with proxy highly recommended for public installation with high traffic. Nginx must be compiled with X-accel module (standard).