
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
serverless-iiif
Advanced tools
A IIIF 2.1 Image API compliant server written as an AWS Serverless Application.
serverless-iiif
is distributed and deployed via the AWS Serverless Application Repository. To deploy it using the AWS Console:
The S3 key of any given file, minus the extension, is its IIIF ID. For example, if you want to access the image manifest for the file at abcdef.tif
, you would get https://.../iiif/2/abcdef/info.json
. If your key contains slashes, they must be URL-encoded: e.g., ab/cd/ef/gh.tif
would be at https://.../iiif/2/ab%2Fcd%2Fef%2Fgh/info.json
. (This limitation could easily be fixed by encoding only the necessary slashes in the incoming URL before handing it off to the IIIF processor, but that's beyond the scope of the demo.)
iiif-processor
can use any image format natively supported by libvips, but best results will come from using tiled, multi-resolution TIFFs. The Lambda Function wrapper included in this application assumes a .tif
extension.
vips tiffsave source_image.tif output_image.tif --tile --pyramid --compression jpeg --tile-width 256 --tile-height 256
convert source_image.tif -define tiff:tile-geometry=256x256 -compress jpeg 'ptif:output_image.tif'
If tests are run locally they will start in "watch" mode. If a CI environment is detected they will only run once. From the project root run:
npm test
To generate a code coverage report run:
npm test --coverage
AWS API Gateway Lamnbda integration has a payload (request/response body) size limit of approximately 6MB in both directions. Please see LAMBDA_LIMIT.md for details and workarounds.
This software is licensed under the Apache License, Version 2.0. Dependencies are subject to their own licenses.
FAQs
Lambda wrapper for iiif-processor
The npm package serverless-iiif receives a total of 0 weekly downloads. As such, serverless-iiif popularity was classified as not popular.
We found that serverless-iiif demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.