{"id":19165913,"url":"https://github.com/barchart/aws-lambda-pdf-generator","last_synced_at":"2025-05-07T12:24:12.528Z","repository":{"id":38202599,"uuid":"278402650","full_name":"barchart/aws-lambda-pdf-generator","owner":"barchart","description":"Serverless application that converts HTML documents to PDF files","archived":false,"fork":false,"pushed_at":"2024-03-06T01:05:48.000Z","size":798,"stargazers_count":16,"open_issues_count":0,"forks_count":18,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-19T22:02:52.165Z","etag":null,"topics":["api-gateway","aws-lambda","barchart","chromium","html-to-pdf","pdf","pdf-generator","public-repository","puppeteer","serverless"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/barchart.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-07-09T15:30:11.000Z","updated_at":"2025-04-09T10:16:24.000Z","dependencies_parsed_at":"2024-03-06T01:58:21.217Z","dependency_job_id":null,"html_url":"https://github.com/barchart/aws-lambda-pdf-generator","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barchart%2Faws-lambda-pdf-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barchart%2Faws-lambda-pdf-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barchart%2Faws-lambda-pdf-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barchart%2Faws-lambda-pdf-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/barchart","download_url":"https://codeload.github.com/barchart/aws-lambda-pdf-generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252874879,"owners_count":21817923,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-gateway","aws-lambda","barchart","chromium","html-to-pdf","pdf","pdf-generator","public-repository","puppeteer","serverless"],"created_at":"2024-11-09T09:29:51.242Z","updated_at":"2025-05-07T12:24:12.501Z","avatar_url":"https://github.com/barchart.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @barchart/aws-lambda-pdf-generator\n\n[![AWS CodeBuild](https://codebuild.us-east-1.amazonaws.com/badges?uuid=eyJlbmNyeXB0ZWREYXRhIjoiTmtsZEw3M2l3cktxd3crQTJpMVVRbEUzU1dOMFBodFU0MlhaNUFZaC9kVzBIN1FYUXVVZFFUK29vcU5tazJyckNtVFFxL3BoSEdYMEk3V3dUOEhNUFhNPSIsIml2UGFyYW1ldGVyU3BlYyI6Ik84YnJJU1NUZDMvR3VLaXYiLCJtYXRlcmlhbFNldFNlcmlhbCI6MX0%3D\u0026branch=master)](https://github.com/barchart/aws-lambda-pdf-generator)\n[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lerna.js.org/)\n\n**Generate PDF files from HTML documents.**\n\n_Simply ```POST``` an HTML document to a web service and receive an ```application/pdf``` document in response._\n\n### Implementation\n\n* The [Serverless](https://www.serverless.com/) framework creates a web service using [AWS API Gateway](https://aws.amazon.com/api-gateway/) and [AWS Lambda](https://aws.amazon.com/lambda/).\n* The web service uses [Puppeteer](https://github.com/puppeteer/puppeteer) and [Chromium](https://www.chromium.org/) to render an HTML document as a PDF file.\n\n### Documentation\n\nComplete documentation for installation and operation can be found [here](https://barchart.github.io/aws-lambda-pdf-generator/#/).\n\n### Technical Notes\n\n**ARM Architecture (2023/08/31, v3.0.0)**\n\n\u003e It would be nice to use ARM architecture for AWS Lambda functions (and use Apple silicon locally). However, the [`@sparticuz/chromium`](https://github.com/Sparticuz/chromium) project has not yet added support. See the comments [here](https://github.com/Sparticuz/chromium#running-locally--headlessheadful-mode).\n\n### License\n\nThis software is provided under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarchart%2Faws-lambda-pdf-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbarchart%2Faws-lambda-pdf-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarchart%2Faws-lambda-pdf-generator/lists"}