Skip to content

gipsh/aws-epub2kindle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

aws-epub2kindle

serverless convert and send epubs to your kindle

alt text

What is this ?

This is a sample service to upload, convert and send epubs books directly to your kindle

Its an example of how to convert and old project to the new serverless/sam paradigm.

How to deploy

I used serverless for defining infrastructure and deploy

First you need to build the layer for calibre

cd resources/calibre-layer
./build.sh
sls deploy

Then you create the bucket

cd resources/upload
sls deploy

Now upload compile and upload the lambdas but first edit your services/serverless.yml and set the parameters for your SMTP server correctly.

cd services
make
sls deploy

The final part, you need to upload the frontend, so take the created endpoint for the purl lambdas and edit resources/frontend/client/dist/index.html and replace the lambdaUrl

Then deploy the frontend to a static bucket with:

sls deploy client

Now you can use your browser to open the deployed endpoint and use the service

About

serverless convert and send epubs to your kindle

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published