Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gipsh/aws-calibre-layer
aws lambda calibre layer mostrly for using ebook-convert on the cloud
https://github.com/gipsh/aws-calibre-layer
aws aws-lambda aws-lambda-layer calibre
Last synced: 2 months ago
JSON representation
aws lambda calibre layer mostrly for using ebook-convert on the cloud
- Host: GitHub
- URL: https://github.com/gipsh/aws-calibre-layer
- Owner: gipsh
- Created: 2020-05-05T16:10:53.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-10-14T14:16:51.000Z (about 4 years ago)
- Last Synced: 2024-11-02T06:31:54.210Z (2 months ago)
- Topics: aws, aws-lambda, aws-lambda-layer, calibre
- Language: Java
- Homepage:
- Size: 8.79 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-layers - `gipsh/aws-calibre-layer`
README
# 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.