{"id":18950567,"url":"https://github.com/danilopeixoto/lambda","last_synced_at":"2026-07-04T09:31:34.421Z","repository":{"id":94730437,"uuid":"358990786","full_name":"danilopeixoto/lambda","owner":"danilopeixoto","description":"A distributed Function-as-a-Service (FaaS) service.","archived":false,"fork":false,"pushed_at":"2021-05-03T06:20:54.000Z","size":189,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-25T15:48:58.005Z","etag":null,"topics":["distributed-systems","faas","function-as-a-service","web-service"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danilopeixoto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null}},"created_at":"2021-04-17T21:59:13.000Z","updated_at":"2021-05-03T06:20:56.000Z","dependencies_parsed_at":"2023-07-29T05:15:13.051Z","dependency_job_id":null,"html_url":"https://github.com/danilopeixoto/lambda","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/danilopeixoto/lambda","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danilopeixoto%2Flambda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danilopeixoto%2Flambda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danilopeixoto%2Flambda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danilopeixoto%2Flambda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danilopeixoto","download_url":"https://codeload.github.com/danilopeixoto/lambda/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danilopeixoto%2Flambda/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35117334,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-04T02:00:05.987Z","response_time":113,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["distributed-systems","faas","function-as-a-service","web-service"],"created_at":"2024-11-08T13:23:41.696Z","updated_at":"2026-07-04T09:31:34.417Z","avatar_url":"https://github.com/danilopeixoto.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lambda\n\nA distributed Function-as-a-Service (FaaS) service.\n\n## Prerequisites\n\n* [Docker Engine (\u003e=19.03.10)](https://docs.docker.com/engine)\n* [Docker Compose (\u003e=1.27.0)](https://docs.docker.com/compose)\n\n## Installation\n\nBuild and run service:\n\n```\ndocker-compose up -d\n```\n\n## Usage\n\nCreate a lambda:\n\n```\nPOST http://localhost:8000/api/v1/lambda\n```\n\nRequest body:\n\n```json\n{\n  \"name\": \"sum\",\n  \"description\": \"Sum numbers.\",\n  \"runtime\": \"java\",\n  \"source\": \"\u003csample\u003e\"\n}\n```\n\nSource code sample:\n\n```java\nimport java.util.List;\n\npublic class SumLambda {\n  public static Number compute(List\u003cNumber\u003e numbers) {\n    System.out.println(\"Running sum lambda...\");\n\n    return numbers\n      .stream()\n      .reduce(0, (a, b) -\u003e a.doubleValue() + b.doubleValue());\n  }\n}\n```\n\nExecute lambda:\n\n```\nPOST http://localhost:8000/api/v1/execution\n```\n\nRequest body:\n\n```json\n{\n  \"lambda_name\": \"sum\",\n  \"arguments\": \"[[0, 1, 2, 3, 4, 5]]\"\n}\n```\n\nQuery executions:\n\n```\nGET http://localhost:8000/api/v1/execution?lambdaName=sum\n```\n\n## Documentation\n\nCheck the API reference for models and routes:\n\n```\nhttp://localhost:8000/api/v1/docs\n```\n\nThe hostname and port of the server are defined by the `.env` file in the project root directory.\n\n## Roadmap\n\nNew features:\n\n* Partial updates\n* Synchronous executions\n* Package dependencies\n* One-shot container runtimes\n* Python runtime\n\n## Copyright and license\n\nCopyright (c) 2021, Danilo Peixoto. All rights reserved.\n\nProject developed under a [BSD-3-Clause license](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanilopeixoto%2Flambda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanilopeixoto%2Flambda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanilopeixoto%2Flambda/lists"}