Sign inSign up

denouche/node-calibre-api

By denouche

•Updated over 9 years ago

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

Image
2

50K+

denouche/node-calibre-api repository overview

⁠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'

Tag summary

Content type

Image

Digest

sha256:5dd725560…

Size

362 MB

Last updated

over 9 years ago

docker pull denouche/node-calibre-api