Skip to content

rnitta/aws-lambda-pdf2png

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

AWS Lambda application code.
This app Return the png binary by passing the PDF URL in the query parameter.

Development Environment

docker
nodejs 12.x runtime

# bash
$ docker run -v "$PWD":/var/task -it lambci/lambda:build-nodejs12.x bash
$ cp /usr/lib64/{libmount.so.1,libuuid.so.1,libblkid.so.1,libz.so.1} lib/
$ npm i

FYI: https://github.com/lambci/docker-lambda

Deployment

sam-cli

Do something.

Upload zip package on the AWS console

zip

$ zip -9r pdf2png *

upload

Upload it and done.

About

Pass pdf and get png. AWS Lambda application.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published