{"id":13554887,"url":"https://github.com/katallaxie/serverless-dart","last_synced_at":"2025-07-04T13:05:46.339Z","repository":{"id":43727350,"uuid":"290707955","full_name":"katallaxie/serverless-dart","owner":"katallaxie","description":"⚡ 🎯 a serverless framework plugin for Dart applications","archived":false,"fork":false,"pushed_at":"2023-03-06T15:06:13.000Z","size":415,"stargazers_count":30,"open_issues_count":1,"forks_count":7,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-17T15:46:09.153Z","etag":null,"topics":["aws","dart","lambda","serverless"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/serverless-dart","language":"TypeScript","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/katallaxie.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":"2020-08-27T07:31:11.000Z","updated_at":"2025-03-14T16:09:14.000Z","dependencies_parsed_at":"2024-08-01T12:37:04.076Z","dependency_job_id":null,"html_url":"https://github.com/katallaxie/serverless-dart","commit_stats":{"total_commits":24,"total_committers":2,"mean_commits":12.0,"dds":0.08333333333333337,"last_synced_commit":"a2e8a63768a733ef511baa975ee35335682dd46d"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/katallaxie/serverless-dart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katallaxie%2Fserverless-dart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katallaxie%2Fserverless-dart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katallaxie%2Fserverless-dart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katallaxie%2Fserverless-dart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/katallaxie","download_url":"https://codeload.github.com/katallaxie/serverless-dart/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katallaxie%2Fserverless-dart/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260549297,"owners_count":23026290,"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","dart","lambda","serverless"],"created_at":"2024-08-01T12:02:57.051Z","updated_at":"2025-07-04T13:05:46.294Z","avatar_url":"https://github.com/katallaxie.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n   ⚡ 🎯\n\u003c/div\u003e\n\n\u003ch1 align=\"center\"\u003e\n  serverless-dart\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n   A ⚡ \u003ca href=\"https://www.serverless.com/framework/docs/\"\u003eServerless framework\u003c/a\u003e ⚡ plugin for \u003ca href=\"https://dart.dev/\"\u003eDart\u003c/a\u003e applications\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/katallaxie/serverless-dart/actions\"\u003e\n    \u003cimg alt=\"GitHub actions build badge\" src=\"https://github.com/katallaxie/serverless-dart/workflows/Main/badge.svg\"/\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/serverless-dart\"\u003e\n    \u003cimg alt=\"npm release badge\" src=\"https://img.shields.io/npm/v/serverless-dart.svg\"/\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n## 📦 Install\n\nInstall the plugin inside your serverless project with npm.\n\n```sh\n$ npm i -D serverless-dart\n```\n\n💡 The `-D` flag adds it to your development dependencies in npm speak\n\n💡 This plugin assumes you are using [Dart Runtime for AWS Lambda](https://github.com/awslabs/aws-lambda-dart-runtime) coding your applications.\n\nAdd the following to your serverless project's `serverless.yml` file\n\n```yaml\nservice: hello\nprovider:\n  name: aws\n  runtime: dart\nplugins:\n  # this registers the plugin\n  # with serverless\n  - serverless-dart\n# creates one artifact for each function\npackage:\n  individually: true\nfunctions:\n  hello:\n    # the first part of the handler refers to the script lib/main.dart.\n    # main.hello identifies the handler to execute in the Dart runtime.\n    # The runtime supports multiple handlers\n    # The plugin is smart to not rebuild those scripts with multiple handlers.\n    handler: main.hello\n    events:\n      - http:\n          path: /hello\n          method: GET\n```\n\n\u003e 💡 The Dart Runtime for AWS Lambda requires a binary named `bootstrap`. This plugin renames the binary that is generated to `bootstrap` for you and zips that file.\n\nThe default behavior is to build your Lambda inside a Docker container. Make sure you [get Docker](https://docs.docker.com/get-docker/).\n\n## 🤸 Usage\n\nEvery [serverless workflow command](https://serverless.com/framework/docs/providers/aws/guide/workflow/) should work out of the box.\n\n### package your Lambdas\n\n```sh\n$ npx serverless deploy\n```\n\n### deploy your Lambdas\n\n```sh\n$ npx serverless deploy\n```\n\n## 👨‍💻 Development\n\nClone the repository \n\n```bash \n$ git clone https://github.com/katallaxie/serverless-dart\n```\n\nLink the package\n\n```bash\n$ npm link\n```\n\nLink the package to your testing environment\n\n```bash\n$ npm link serverless-dart\n```\n\n## 📃 License\n\n[Apache 2.0](/LICENSE)\n\nWe :blue_heart: Dart.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatallaxie%2Fserverless-dart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkatallaxie%2Fserverless-dart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatallaxie%2Fserverless-dart/lists"}