{"id":19772035,"url":"https://github.com/danieldacosta/offline-lambda","last_synced_at":"2026-04-17T06:01:54.339Z","repository":{"id":112641705,"uuid":"277690847","full_name":"DanielDaCosta/offline-lambda","owner":"DanielDaCosta","description":"Testing an AWS Lambda offline","archived":false,"fork":false,"pushed_at":"2020-09-23T17:07:00.000Z","size":9,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-11T01:10:38.165Z","etag":null,"topics":["aws-lambda-offline","docker","lambda"],"latest_commit_sha":null,"homepage":"","language":"Python","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/DanielDaCosta.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-07T01:54:53.000Z","updated_at":"2020-12-24T22:04:41.000Z","dependencies_parsed_at":"2023-06-02T06:45:39.132Z","dependency_job_id":null,"html_url":"https://github.com/DanielDaCosta/offline-lambda","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielDaCosta%2Foffline-lambda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielDaCosta%2Foffline-lambda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielDaCosta%2Foffline-lambda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielDaCosta%2Foffline-lambda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DanielDaCosta","download_url":"https://codeload.github.com/DanielDaCosta/offline-lambda/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241101665,"owners_count":19909943,"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-lambda-offline","docker","lambda"],"created_at":"2024-11-12T05:05:09.860Z","updated_at":"2026-04-17T06:01:49.310Z","avatar_url":"https://github.com/DanielDaCosta.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# offline-lambda\nTesting an AWS Lambda offline.\n\nRepo for testing a lambda function locally.\n\n# Details\n- event.json: file that contains the lambda *event*\n- lambda/: lambda code\n\n# Usage\nCommand for invoking lambda.Starting the Docker container corresponds to an AWS Lambda cold start.\n```\ndocker-compose run lambda lambda.handler.lambda_handler \"$(cat event.json)\"\n```\n\nCommand for keeping the container of our Lambda function running: you can make several consecutive calls quickly without waiting for the “cold start” times.\n```\ndocker-compose run -e DOCKER_LAMBDA_STAY_OPEN=1 lambda lambda.handler.lambda_handler \"$(cat event.json)\"\n```\n\n# References \u0026 Acknowledgments\nSpecial Thanks for Vittorio Nardone for the medium post:\n- https://levelup.gitconnected.com/aws-lambda-offline-development-with-docker-6a8cf8b186e7\n- https://hub.docker.com/r/lambci/lambda/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanieldacosta%2Foffline-lambda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanieldacosta%2Foffline-lambda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanieldacosta%2Foffline-lambda/lists"}