All Projects → shelfio → libreoffice-lambda-layer

shelfio / libreoffice-lambda-layer

Licence: MIT license
No description or website provided.

Programming Languages

shell
77523 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to libreoffice-lambda-layer

Aws Lambda Libreoffice
85 MB LibreOffice to fit inside AWS Lambda compressed with Brotli
Stars: ✭ 145 (+66.67%)
Mutual labels:  aws-lambda, libreoffice
Serverless Libreoffice
Run LibreOffice in AWS Lambda to create PDFs & convert documents
Stars: ✭ 410 (+371.26%)
Mutual labels:  aws-lambda, libreoffice
ruby-vips-lambda
AWS Lambda Layer for Ruby Libvips Gem
Stars: ✭ 34 (-60.92%)
Mutual labels:  aws-lambda, lambda-layer
Bref
Serverless PHP on AWS Lambda
Stars: ✭ 2,382 (+2637.93%)
Mutual labels:  aws-lambda, lambda-layer
opentbs
With OpenTBS you can merge OpenOffice - LibreOffice and Ms Office documents with PHP using the TinyButStrong template engine. Simple use OpenOffice - LibreOffice or Ms Office to edit your templates : DOCX, XLSX, PPTX, ODT, OSD, ODP and other formats. That is the Natural Template philosophy.
Stars: ✭ 48 (-44.83%)
Mutual labels:  libreoffice
alfresco-share-online-edition-addon
Online edition with Libreoffice in Alfresco Share
Stars: ✭ 15 (-82.76%)
Mutual labels:  libreoffice
api2pdf.php
PHP client library for the Api2Pdf.com REST API - Convert HTML to PDF, URL to PDF, Office Docs to PDF, Merge PDFs, HTML to Image, URL to Image, HTML to Docx, HTML to Xlsx, PDF to HTML, Thumbnail preview of office files
Stars: ✭ 42 (-51.72%)
Mutual labels:  libreoffice
LibbieOffice
My attempt at a LibreOffice image replacement script
Stars: ✭ 39 (-55.17%)
Mutual labels:  libreoffice
maltreport
A WYSIWYG document template engine to generates .odt/.ods/docx/xlsx/doc/xls documents for .NET
Stars: ✭ 102 (+17.24%)
Mutual labels:  libreoffice
BulkPDF
BulkPDF is a free and easy to use open source software, which allows to automatically fill an existing PDF form with differen values. Only a spreadsheet (Microsoft Excel 2007/2010/2013, LibreOffice or OpenOffice Calc) with the desired values is required.
Stars: ✭ 94 (+8.05%)
Mutual labels:  libreoffice
fc-libreoffice
84 MB LibreOffice to fit inside Aliyun Function Compute compressed with Brotli
Stars: ✭ 26 (-70.11%)
Mutual labels:  libreoffice
utools-recent-projects
uTools 插件, 快速查询最近打开的项目
Stars: ✭ 84 (-3.45%)
Mutual labels:  libreoffice
autocorr kr
리브레오피스(LibreOffice) 자동 교정(Autocorrect)기능에 대한 말모이 저장소
Stars: ✭ 15 (-82.76%)
Mutual labels:  libreoffice
serverless-latest-layer-version
A serverless plugin that replaces 'latest' version tag to actual lambda layer version
Stars: ✭ 25 (-71.26%)
Mutual labels:  lambda-layer
lambda-layer-canvas-nodejs
AWS Lambda Layer with node-canvas and its dependencies packaged, provides a Cairo backed Mozilla Web Canvas API implementation
Stars: ✭ 36 (-58.62%)
Mutual labels:  lambda-layer
loeclipse
LibreOffice Eclipse plugin for extension development
Stars: ✭ 26 (-70.11%)
Mutual labels:  libreoffice
carbone
Fast and simple report generator, from JSON to pdf, xslx, docx, odt...
Stars: ✭ 810 (+831.03%)
Mutual labels:  libreoffice
py-lambda-action
A Github Action to deploy AWS Lambda functions written in Python with their dependencies in a separate layer.
Stars: ✭ 49 (-43.68%)
Mutual labels:  lambda-layer
athena-sqlite
A SQLite driver for S3 and Amazon Athena 😳
Stars: ✭ 82 (-5.75%)
Mutual labels:  lambda-layer
convert-document
A docker container for LibreOffice and unoconv, used to generate PDF files from office-type documents.
Stars: ✭ 53 (-39.08%)
Mutual labels:  libreoffice

LibreOffice for AWS Lambda as a layer

95 MB LibreOffice to fit inside AWS Lambda Layer compressed with Brotli or gzip

Based on the serverless-libreoffice project.

Getting Started

Click on Layers and choose "Add a layer", and "Provide a layer version ARN" and enter the following ARN.

arn:aws:lambda:us-east-1:764866452798:layer:libreoffice-brotli:1

See the table below for the list of supported regions and runtimes.

Works well with aws-lambda-libreoffice npm package

What's inside this layer?

libreoffice-brotli layer contains lo.tar.br file which is LibreOffice v6.4.0.1. Node.js has native Brotli unpacking support since version 10 so it's easy to unpack this file natively. Alternatively, you can use aws-lambda-libreoffice npm package to simplify this task.

libreoffice-gzip layer contains lo.tar.gz file which is LibreOffice v6.4.0.1.

How do I use this layer to launch LibreOffice?

If you don't use aws-lambda-libreoffice npm package, then these steps are roughly what you need to do.

  1. This layer just adds /opt/lo.tar.br or /opt/lo.tar.gz file to your Lambda runtime
  2. Unpack /opt/lo.tar.br or /opt/lo.tar.gz file during Lambda execution into /tmp folder which has 512 MB of free space. Make sure to do this OUTSIDE function handler code. This is an expensive task, so better to make it once on a warm start.
  3. LibreOffice binary will be located available at /opt/instdir/program/soffice.bin
  4. Check out /test/index.js for CLI arguments needed to run LibreOffice to convert a .txt file to .pdf for more details

Version ARNs

LibreOffice v6.4.0.1 (Amazon Linux 2)

Works with the following AWS Lambda runtimes which run on Amazon Linux 2:

  • nodejs12.x
  • nodejs10.x
  • python3.8
  • java11
AWS Region Layer ARN (brotli)
us-east-1 arn:aws:lambda:us-east-1:764866452798:layer:libreoffice-brotli:1 or
arn:aws:lambda:us-east-1:764866452798:layer:libreoffice-gzip:1
eu-west-1 arn:aws:lambda:eu-west-1:764866452798:layer:libreoffice-brotli:1 or
arn:aws:lambda:eu-west-1:764866452798:layer:libreoffice-gzip:1
eu-central-1 arn:aws:lambda:eu-central-1:764866452798:layer:libreoffice-brotli:1 or
arn:aws:lambda:eu-central-1:764866452798:layer:libreoffice-gzip:1
us-west-2 arn:aws:lambda:us-west-2:764866452798:layer:libreoffice-brotli:1 or
arn:aws:lambda:us-west-2:764866452798:layer:libreoffice-gzip:1
us-east-2 arn:aws:lambda:us-east-2:764866452798:layer:libreoffice-brotli:1 or
arn:aws:lambda:us-east-2:764866452798:layer:libreoffice-gzip:1
ap-southeast-2 arn:aws:lambda:ap-southeast-2:764866452798:layer:libreoffice-brotli:1 or
arn:aws:lambda:ap-southeast-2:764866452798:layer:libreoffice-gzip:1
eu-west-2 arn:aws:lambda:eu-west-2:764866452798:layer:libreoffice-brotli:1 or
arn:aws:lambda:eu-west-2:764866452798:layer:libreoffice-gzip:1
ap-southeast-1 arn:aws:lambda:ap-southeast-1:764866452798:layer:libreoffice-brotli:1 or
arn:aws:lambda:ap-southeast-1:764866452798:layer:libreoffice-gzip:1
ap-south-1 arn:aws:lambda:ap-south-1:764866452798:layer:libreoffice-brotli:1 or
arn:aws:lambda:ap-south-1:764866452798:layer:libreoffice-gzip:1
ca-central-1 arn:aws:lambda:ca-central-1:764866452798:layer:libreoffice-brotli:1 or
arn:aws:lambda:ca-central-1:764866452798:layer:libreoffice-gzip:1
sa-east-1 arn:aws:lambda:sa-east-1:764866452798:layer:libreoffice-brotli:1 or
arn:aws:lambda:sa-east-1:764866452798:layer:libreoffice-gzip:1

LibreOffice 6.1.0.0.alpha0 (Amazon Linux 1)

Works with the following AWS Lambda runtimes which run on Amazon Linux 2:

  • nodejs8.10
  • python3.7
  • python3.6
  • python2.7
  • ruby2.5
  • java8
  • go1.x
  • dotnetcore2.1
AWS Region LibreOffice Version Layer ARN
us-east-1 6.1.0.0.alpha0 arn:aws:lambda:us-east-1:764866452798:layer:libreoffice:8
eu-west-1 6.1.0.0.alpha0 arn:aws:lambda:eu-west-1:764866452798:layer:libreoffice:1
eu-central-1 6.1.0.0.alpha0 arn:aws:lambda:eu-central-1:764866452798:layer:libreoffice:1
us-west-2 6.1.0.0.alpha0 arn:aws:lambda:us-west-2:764866452798:layer:libreoffice:1
us-east-2 6.1.0.0.alpha0 arn:aws:lambda:us-east-2:764866452798:layer:libreoffice:1
ap-southeast-2 6.1.0.0.alpha0 arn:aws:lambda:ap-southeast-2:764866452798:layer:libreoffice:1
eu-west-2 6.1.0.0.alpha0 arn:aws:lambda:eu-west-2:764866452798:layer:libreoffice:1
ap-southeast-1 6.1.0.0.alpha0 arn:aws:lambda:ap-southeast-1:764866452798:layer:libreoffice:1
ap-south-1 6.1.0.0.alpha0 arn:aws:lambda:ap-south-1:764866452798:layer:libreoffice:1

License

MIT © Shelf

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].