Skip to content

A little Node.JS application that expose an API to do ebook conversion using calibre ebook-convert command.

Notifications You must be signed in to change notification settings

denouche/node-calibre-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-calibre-api

A little Node.JS application that expose an API to do ebook conversion using calibre ebook-convert command.

Usage

Run the application by building the image and running it:

docker run --restart always -d --name calibre -p 3000:3000 denouche/node-calibre-api

Or by building the image using the Dockerfile.

Then to convert a .epub ebook to .mobi, use:

curl -O -J -L -s \
    -H 'Content-Type: multipart/form-data' \
    --form 'file=@/tmp/file.epub' \
    --form 'to=mobi' \
    'http://localhost:3000/calibre/ebook-convert'

About

A little Node.JS application that expose an API to do ebook conversion using calibre ebook-convert command.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published