{"id":17223715,"url":"https://github.com/sebastiaanklippert/go-wkhtmltopdf-lambda","last_synced_at":"2025-04-14T00:25:01.061Z","repository":{"id":37849307,"uuid":"122787232","full_name":"SebastiaanKlippert/go-wkhtmltopdf-lambda","owner":"SebastiaanKlippert","description":"Run wkhtmltopdf in AWS Lambda","archived":false,"fork":false,"pushed_at":"2023-02-24T19:17:05.000Z","size":863,"stargazers_count":17,"open_issues_count":1,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T15:46:22.252Z","etag":null,"topics":["aws","go","go-wkhtmltopdf","golang","html-to-pdf","lambda","pdf","pdf-generator","wkhtmltopdf"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SebastiaanKlippert.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,"publiccode":null,"codemeta":null}},"created_at":"2018-02-24T22:55:00.000Z","updated_at":"2024-04-24T10:36:50.000Z","dependencies_parsed_at":"2024-06-19T01:45:20.750Z","dependency_job_id":null,"html_url":"https://github.com/SebastiaanKlippert/go-wkhtmltopdf-lambda","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SebastiaanKlippert%2Fgo-wkhtmltopdf-lambda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SebastiaanKlippert%2Fgo-wkhtmltopdf-lambda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SebastiaanKlippert%2Fgo-wkhtmltopdf-lambda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SebastiaanKlippert%2Fgo-wkhtmltopdf-lambda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SebastiaanKlippert","download_url":"https://codeload.github.com/SebastiaanKlippert/go-wkhtmltopdf-lambda/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248800104,"owners_count":21163404,"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":["aws","go","go-wkhtmltopdf","golang","html-to-pdf","lambda","pdf","pdf-generator","wkhtmltopdf"],"created_at":"2024-10-15T04:09:04.830Z","updated_at":"2025-04-14T00:25:01.003Z","avatar_url":"https://github.com/SebastiaanKlippert.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-wkhtmltopdf-lambda\nRun wkhtmltopdf in AWS Lambda\n\n#### Not maintained for now, but mainly an example of how to use go-wkhtmltopdf on Lambda.\n\nUses https://github.com/SebastiaanKlippert/go-wkhtmltopdf to generate PDF files from JSON input.\n\n# Usage\n\n- Create a Golang AWS Lambda function in the AWS console or using the AWS CLI\n- As source, use the lambda.zip file from a [release](https://github.com/SebastiaanKlippert/go-wkhtmltopdf-lambda/releases), this includes the latest version of [wkhtmltopdf](https://wkhtmltopdf.org)\n- The Handler name is `go_wkhtmltopdf_linux`\n- If you want to build your own version, make sure you build the go executable for Linux (GOOS=linux) and make it executable (chmod +x)\n- Create an S3 trigger for you Lambda function (using suffix `.json` is recommended)\n- Make sure your IAM Lambda role has S3 Read and Write access to your bucket\n- Create a JSON file from the PDF generator, following the instructions at https://github.com/SebastiaanKlippert/go-wkhtmltopdf#saving-to-and-loading-from-json\n- Upload the JSON to the S3 bucket you chose in your Lambda trigger\n- The PDF is saved in the same bucket with extension `.pdf` added to the original filename\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebastiaanklippert%2Fgo-wkhtmltopdf-lambda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsebastiaanklippert%2Fgo-wkhtmltopdf-lambda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebastiaanklippert%2Fgo-wkhtmltopdf-lambda/lists"}