Skip to content

Leviathan is a robust, ultra-fast image optimizer and compressor written in Golang for serverless use. We'll save you bandwidth and storage space and will dramatically improve your website’s load times.

Notifications You must be signed in to change notification settings

ventura-open-source/leviathan

Repository files navigation

Resize image

Dependencies

Start

  • update variables in config.json

build

Make sure you're in your ${GOPATH}/src directory, then run:

make
sls deploy

Todo

  • Endpoint to upload image to s3
  • - Save image to s3
  • - Save metadata (image, user, s3 destination credentials)
  • Lambda function to resize image on s3
  • Lambda function save results to s3 destination bucket
  • Control and register user requests (API keys)

Reports

Downloaded 1700700 bytes REPORT RequestId: 7ac49325-4732-11e8-a3d4-cb703b18e9f2 Duration: 6619.20 ms Billed Duration: 6700 ms Memory Size: 1024 MB Max Memory Used: 131 MB

Downloaded 3300624 bytes REPORT RequestId: 4ca640dd-4736-11e8-afff-f50762fb573d Duration: 9996.33 ms Billed Duration: 10000 ms Memory Size: 1024 MB Max Memory Used: 224 MB

Downloaded 5254922 bytes REPORT RequestId: 7a7879bb-4733-11e8-abec-21ad946dacd3 Duration: 10561.86 ms Billed Duration: 10600 ms Memory Size: 1024 MB Max Memory Used: 216 MB

About

Leviathan is a robust, ultra-fast image optimizer and compressor written in Golang for serverless use. We'll save you bandwidth and storage space and will dramatically improve your website’s load times.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published