{"id":17060016,"url":"https://github.com/nisaacson/aws-lambda-xvfb","last_synced_at":"2025-06-15T16:09:51.966Z","repository":{"id":37664957,"uuid":"83929791","full_name":"nisaacson/aws-lambda-xvfb","owner":"nisaacson","description":"builds Xvfb binary to run on AWS lambda","archived":false,"fork":false,"pushed_at":"2017-03-05T22:27:38.000Z","size":28454,"stargazers_count":69,"open_issues_count":6,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-12T18:30:21.473Z","etag":null,"topics":["aws","aws-lambda","lambda","serverless"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nisaacson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-04T22:48:23.000Z","updated_at":"2024-03-19T21:41:38.000Z","dependencies_parsed_at":"2022-09-09T04:01:33.334Z","dependency_job_id":null,"html_url":"https://github.com/nisaacson/aws-lambda-xvfb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nisaacson/aws-lambda-xvfb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nisaacson%2Faws-lambda-xvfb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nisaacson%2Faws-lambda-xvfb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nisaacson%2Faws-lambda-xvfb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nisaacson%2Faws-lambda-xvfb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nisaacson","download_url":"https://codeload.github.com/nisaacson/aws-lambda-xvfb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nisaacson%2Faws-lambda-xvfb/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260005994,"owners_count":22944867,"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","aws-lambda","lambda","serverless"],"created_at":"2024-10-14T10:35:58.929Z","updated_at":"2025-06-15T16:09:51.924Z","avatar_url":"https://github.com/nisaacson.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aws-lambda-xvfb\n\nbuilds Xvfb binary to run on AWS lambda\n\n## Getting started\n\nBuild the image and run it locally. Then verify xvfb \u0026 fluxbox work correctly by connecting with a vnc client\n\n```\n$(aws ecr get-login)\ndocker build -t aws-lambda-xvfb .\ndocker run -p 5900:5900 --detach aws-lambda-xvfb\n```\n\nConnect to localhost:5900 with a vnc client such as https://chrome.google.com/webstore/detail/vnc®-viewer-for-google-ch/iabmpiboiopbgfabjmgeedhcmjenhbla?hl=en\n\n## Running in AWS\n\nSee the `example/` folder for a demonstration application that can run in AWS. Edit the `example/serverless.yml` with the appropriate iam role under `role: \u003crole-arn-here\u003e`.\n\nEnsure this role has access to write files to s3\n\n```\ncd example\nsls deploy\n```\n\nMake a request to the deployed url printed out by sls deploy. This should return a path to a file on S3. Download that file and verify that it shows a video of the recorded screen setup via `Xvfb` in AWS lambda\n\n```\ncurl https://api-gateway-url.amazonaws.com/dev/demo\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnisaacson%2Faws-lambda-xvfb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnisaacson%2Faws-lambda-xvfb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnisaacson%2Faws-lambda-xvfb/lists"}