{"id":15694423,"url":"https://github.com/rafalwilinski/serverless-develop","last_synced_at":"2025-10-16T21:26:54.146Z","repository":{"id":72579361,"uuid":"103734508","full_name":"RafalWilinski/serverless-develop","owner":"RafalWilinski","description":"Deploy your functions to AWS Lambda as you code, in realtime","archived":false,"fork":false,"pushed_at":"2017-09-19T12:15:12.000Z","size":1464,"stargazers_count":7,"open_issues_count":8,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-08T21:02:18.268Z","etag":null,"topics":["aws","aws-lambda","deployment","node","nodejs","plugin","serverless"],"latest_commit_sha":null,"homepage":"https://rwilinski.me","language":"JavaScript","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/RafalWilinski.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":"2017-09-16T07:35:43.000Z","updated_at":"2020-06-10T14:10:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"bc04c356-9a69-45b8-998d-6b8f0bf0ef44","html_url":"https://github.com/RafalWilinski/serverless-develop","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/RafalWilinski%2Fserverless-develop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RafalWilinski%2Fserverless-develop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RafalWilinski%2Fserverless-develop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RafalWilinski%2Fserverless-develop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RafalWilinski","download_url":"https://codeload.github.com/RafalWilinski/serverless-develop/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253149575,"owners_count":21861734,"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","deployment","node","nodejs","plugin","serverless"],"created_at":"2024-10-03T18:58:15.052Z","updated_at":"2025-10-16T21:26:49.113Z","avatar_url":"https://github.com/RafalWilinski.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Serverless Develop Plugin\n[![serverless](http://public.serverless.com/badges/v3.svg)](http://www.serverless.com)\n[![npm version](https://badge.fury.io/js/serverless-develop.svg)](https://badge.fury.io/js/serverless-develop)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](#contributing)\n\nDeploy your functions to AWS Lambda as you code and get realtime feedback.\n\n## What is this?\nRight now, unpolished PoC, however, works.\n\n## What problem does it solve?\nIterating with Serverless Framework is slow.\n\nPlugins like [serverless-offline](https://github.com/dherault/serverless-offline) or [emulator](https://github.com/serverless/emulator) try to solve that problem by Emulating AWS Lambda environment locally. That solution is far from perfect because of different container, different environment, different IAM roles etc. etc. - Inconsistency.\n\nThis plugin, instead of running Lambdas offline, deploys your code to AWS Lambda as you type, in realtime. Welcome back to 2000's, where PHP FTP deployments were made every time `CMD+S` was hit.\n\n![Demo](/resources/anim.gif)\n\n## Installation\n\n1. Run `npm install serverless-develop --save`\n2. Add `serverless-develop` to your `serverless.yml` `plugins` section:\n```yml\nplugins:\n  - serverless-develop\n```\n3. Run `serverless develop`\n\n## Configuration\n\n`serverless-develop` can be configured by changing following variables in `serverless.yml` file.\n\n\n```yml\ncustom:\n  develop:\n    middleware:\n      - npm run build    # Runs `npm run build` before packaging\n    buildPath: build     # Packages files from `build` directory\n    sourcePath: src      # Points to source files directory\n    changeInterval: 0.2  # Specifies max amount of seconds between deployments\n```\n\n## How does it work?\n\n1. Plugin builds individual artifacts, one for each function\n2. After that, plugin watches files for changes\n3. Once change is made, function checks affected functions, runs middleware (if any) and adds change to function's archive in `.serverless` directory\n4. Deploy using raw AWS-SDK call without performing checks or updating CloudFormation\n\nNote: Right now, [only JS is supported](https://github.com/RafalWilinski/serverless-develop/blob/master/index.js#L204).\n\n## Examples:\n- [Basic](https://github.com/RafalWilinski/serverless-develop/tree/master/examples/basic)\n- [With Babel build pipeline](https://github.com/RafalWilinski/serverless-develop/tree/master/examples/babel)\n\n\n## Integration with `serverless-webpack`\n\nTo be added...\n\n\n## Credits and inspiration\n\nHeavily inspired by [@keithwhor's](https://github.com/keithwhor) [article](https://medium.com/@keithwhor/rise-of-functions-as-a-service-how-php-set-the-serverless-stage-20-years-ago-ccb560c5f422) and [@mthenw thoughts](https://github.com/mthenw).\n\n## Contributing\n\nAwesome! All contributions are welcome.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafalwilinski%2Fserverless-develop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frafalwilinski%2Fserverless-develop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafalwilinski%2Fserverless-develop/lists"}