Skip to content

aws lambda calibre layer mostrly for using ebook-convert on the cloud

Notifications You must be signed in to change notification settings

gipsh/aws-calibre-layer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-calibre-layer

aws lambda calibre layer for ebook format conversion as a service using ebook-convert on the cloud

build

clone the repo

git clone https://github.com/gipsh/aws-calibre-layer

Run build.sh to build the layer, this script downloads calibre and strip stuff.

chmod +x ./build.sh
./build.sh

deploy

For cloud deploy i use serverless aka sls if you dont have it install it most of the times with npm install -g serverless

Now deploy the layer

sls deploy

Thats it

example

On src/ you will find an example lambda function which conver from epub to mobi using the deployed layer.

The example is deployed with the layer to use it you need to publish a SNS message on the created queue. The message needs an atributte called epub with the key of a epub located on one of your S3 buckets.

About

aws lambda calibre layer mostrly for using ebook-convert on the cloud

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published