{"id":18525801,"url":"https://github.com/toricls/cobolambda","last_synced_at":"2025-04-09T12:31:34.936Z","repository":{"id":63730273,"uuid":"76929656","full_name":"toricls/cobolambda","owner":"toricls","description":"Serverless COBOL on AWS Lambda.","archived":false,"fork":false,"pushed_at":"2018-01-16T07:13:47.000Z","size":3,"stargazers_count":55,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-24T05:35:21.318Z","etag":null,"topics":["aws-lambda","cobol","serverless"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/toricls.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}},"created_at":"2016-12-20T06:27:57.000Z","updated_at":"2025-01-27T01:50:33.000Z","dependencies_parsed_at":"2022-11-24T20:05:15.397Z","dependency_job_id":null,"html_url":"https://github.com/toricls/cobolambda","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/toricls%2Fcobolambda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toricls%2Fcobolambda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toricls%2Fcobolambda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toricls%2Fcobolambda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toricls","download_url":"https://codeload.github.com/toricls/cobolambda/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248040339,"owners_count":21037849,"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","cobol","serverless"],"created_at":"2024-11-06T17:47:04.012Z","updated_at":"2025-04-09T12:31:29.921Z","avatar_url":"https://github.com/toricls.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cobolambda\n\nServerless COBOL on AWS Lambda.\n\n## Prerequisites\n\n- AWS Lambda\n- Amazon API Gateway\n- AWS CloudFormation\n- Node.js + npm\n\n## Overview\n![Overview](https://github.com/toricls/cobolambda/wiki/res/overview.png)\n\n## Usage\n\nDon't.\n\n## Configure \u0026 Deploy\n\nWe need both npm and [aws-cli](https://aws.amazon.com/cli/) to configure and deploy.\n\n### Create a S3 bucket to store an app package\n\n```\n$ export COBOLAMBDA_S3BUCKET=\u003cyour-bucket-name\u003e\n$ aws s3api create-bucket --bucket $COBOLAMBDA_S3BUCKET\n```\n\n### Install dependencies\n\n```\n$ npm install\n```\n\n### Package\n\n```\n$ aws cloudformation package --template-file app_spec_template.yml --output-template-file app_spec.yml --s3-bucket $COBOLAMBDA_S3BUCKET\n```\n\n### Deploy\n\n```\n$ aws cloudformation deploy --template-file app_spec.yml --stack-name cobolambda --capabilities CAPABILITY_IAM\n```\n\n## Run\n\n```\n$ export REST_API_ID=$( aws cloudformation describe-stack-resource --stack-name cobolambda --logical-resource-id ServerlessRestApi --query \"StackResourceDetail.PhysicalResourceId\" --output text )\n\n$ curl https://$REST_API_ID.execute-api.\u003cyour-region\u003e.amazonaws.com/Prod/cobolambda\n```\n\n## Writing \u0026 Compiling COBOL on Docker container\n\n```\n$ docker run -it --rm -v $(pwd):/src toricls/gnucobol:latest bash\nroot@xxxxxxxxxxxx:/src# cobc --help\n```\n\n## Licence\n\n[MIT](LICENCE)\n\n## Author\n\n[toricls](https://github.com/toricls)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoricls%2Fcobolambda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoricls%2Fcobolambda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoricls%2Fcobolambda/lists"}