{"id":19383736,"url":"https://github.com/jill64/sveltekit-adapter-aws","last_synced_at":"2025-04-23T21:32:02.274Z","repository":{"id":195031510,"uuid":"689259781","full_name":"jill64/sveltekit-adapter-aws","owner":"jill64","description":"🔌 SveleteKit AWS adapter with multiple architecture","archived":false,"fork":false,"pushed_at":"2025-04-14T07:37:47.000Z","size":3755,"stargazers_count":33,"open_issues_count":24,"forks_count":8,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-14T08:39:17.480Z","etag":null,"topics":["adapter","aws","sveltekit"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/@jill64/sveltekit-adapter-aws","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/jill64.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,"zenodo":null}},"created_at":"2023-09-09T08:52:32.000Z","updated_at":"2025-04-07T02:13:36.000Z","dependencies_parsed_at":"2024-01-22T21:15:36.751Z","dependency_job_id":"52132225-04ea-426a-a90e-de9bb5ca9a90","html_url":"https://github.com/jill64/sveltekit-adapter-aws","commit_stats":null,"previous_names":["jill64/sveltekit-adapter-aws"],"tags_count":268,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jill64%2Fsveltekit-adapter-aws","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jill64%2Fsveltekit-adapter-aws/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jill64%2Fsveltekit-adapter-aws/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jill64%2Fsveltekit-adapter-aws/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jill64","download_url":"https://codeload.github.com/jill64/sveltekit-adapter-aws/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250517971,"owners_count":21443866,"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":["adapter","aws","sveltekit"],"created_at":"2024-11-10T09:27:38.072Z","updated_at":"2025-04-23T21:32:01.751Z","avatar_url":"https://github.com/jill64.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!----- BEGIN GHOST DOCS HEADER -----\u003e\n\n# @jill64/sveltekit-adapter-aws\n\n\u003c!----- BEGIN GHOST DOCS BADGES -----\u003e\n\n\u003ca href=\"https://npmjs.com/package/@jill64/sveltekit-adapter-aws\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@jill64/sveltekit-adapter-aws\" alt=\"npm-version\" /\u003e\u003c/a\u003e \u003ca href=\"https://npmjs.com/package/@jill64/sveltekit-adapter-aws\"\u003e\u003cimg src=\"https://img.shields.io/npm/l/@jill64/sveltekit-adapter-aws\" alt=\"npm-license\" /\u003e\u003c/a\u003e \u003ca href=\"https://npmjs.com/package/@jill64/sveltekit-adapter-aws\"\u003e\u003cimg src=\"https://img.shields.io/npm/dm/@jill64/sveltekit-adapter-aws\" alt=\"npm-download-month\" /\u003e\u003c/a\u003e \u003ca href=\"https://npmjs.com/package/@jill64/sveltekit-adapter-aws\"\u003e\u003cimg src=\"https://img.shields.io/bundlephobia/min/@jill64/sveltekit-adapter-aws\" alt=\"npm-min-size\" /\u003e\u003c/a\u003e \u003ca href=\"https://github.com/jill64/sveltekit-adapter-aws/actions/workflows/deploy-test-buffered.yml\"\u003e\u003cimg src=\"https://github.com/jill64/sveltekit-adapter-aws/actions/workflows/deploy-test-buffered.yml/badge.svg\" alt=\"deploy-test-buffered.yml\" /\u003e\u003c/a\u003e \u003ca href=\"https://github.com/jill64/sveltekit-adapter-aws/actions/workflows/deploy-test.yml\"\u003e\u003cimg src=\"https://github.com/jill64/sveltekit-adapter-aws/actions/workflows/deploy-test.yml/badge.svg\" alt=\"deploy-test.yml\" /\u003e\u003c/a\u003e\n\n\u003c!----- END GHOST DOCS BADGES -----\u003e\n\n🔌 SveleteKit AWS adapter with multiple architecture\n\n\u003c!----- END GHOST DOCS HEADER -----\u003e\n\n## Introduction\n\nIf you are building a SPA, consider AWS Amplify + [adapter-static](https://kit.svelte.dev/docs/single-page-apps).  \nIf you want to use always-on servers (not serverless), consider EC2 (ECR) + [adapter-node](https://kit.svelte.dev/docs/adapter-node).\n\n## Install\n\n1. Install [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html) in local machine\n\n2. [Configure authentication and access credentials](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-authentication.html) in AWS CLI\n\n3. Install adapter in your SvelteKit project\n\n```sh\nnpm i -D @jill64/sveltekit-adapter-aws\n```\n\n4. If using pnpm, additional dependency is required.\n\n```sh\npnpm i -D aws-cdk-lib dotenv\n```\n\n```js\n// svelte.config.js\nimport adapter from '@jill64/sveltekit-adapter-aws'\n\nconst config = {\n  // ...\n  kit: {\n    adapter: adapter({\n      name: 'Your Application Name',\n      deploy: true,\n      architecture: 'lambda-s3'\n      // ...\n      // Other Adapter Options\n      // ...\n    })\n  }\n}\n\nexport default config\n```\n\nSee [Full Adapter Options](./packages/adapter/src/types/AdapterOptions.ts)\n\n## Architecture\n\nThis adapter allows you to choose from multiple architectures depending on your use case.\n\n| Name                                              | Response Streaming | Assets Scaling | Low Round Trip | Unlimited SSG | Demo Site (Streaming)                          | Demo Site (Bufffered)                                   |\n| ------------------------------------------------- | ------------------ | -------------- | -------------- | ------------- | ---------------------------------------------- | ------------------------------------------------------- |\n| [lambda-mono](./docs/lambda-mono/README.md)       | ✅                 |                | ✅             |               | [Link](https://lambda-mono.adapter-aws.com)    | [Link](https://buffered.lambda-mono.adapter-aws.com)    |\n| [lambda-s3](./docs/lambda-s3/README.md)(Default)  | ✅                 | ✅             | ✅             |               | [Link](https://lambda-s3.adapter-aws.com)      | [Link](https://buffered.lambda-s3.adapter-aws.com)      |\n| [edge-bundled](./docs/edge-bundled/README.md)     |                    | ✅             | ✅             | ✅            |                                                | [Link](https://edge-bundled.adapter-aws.com)            |\n| [edge-unbundled](./docs/edge-unbundled/README.md) | ✅                 | ✅             |                | ✅            | [Link](https://edge-unbundled.adapter-aws.com) | [Link](https://buffered.edge-unbundled.adapter-aws.com) |\n\n## CI/CD Pipeline\n\n[GitHub Actions Example](./.github/workflows)\n\n1. Setup AWS CLI (Not required in GitHub Actions)\n2. Setup AWS Credential\n3. Build Application with `deploy: true` option\n\n## CDK Bootstrap\n\nThe first time the AWS CDK stack is deployed, `bootstrap` must be run.\nNormally this is handled automatically by the adapter.\nHowever, this requires additional permissions, so you can optionally skip the `bootstrap` step.\n\n```js\n{\n  // Adapter Option\n  skipBootstrap: true\n  // ...\n}\n```\n\n## Manual Deploy\n\nIf the automatic deployment option is false, you can deploy the app at any time by running the following command after the app build is complete.\n\n```sh\ncd ./build \u0026\u0026 npx cdk deploy\n```\n\n## Delete All Resources\n\n```sh\ncd ./build \u0026\u0026 npx cdk destroy --all\n```\n\n\u003c!----- BEGIN GHOST DOCS FOOTER -----\u003e\n\n## License\n\n[MIT](LICENSE)\n\n\u003c!----- END GHOST DOCS FOOTER -----\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjill64%2Fsveltekit-adapter-aws","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjill64%2Fsveltekit-adapter-aws","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjill64%2Fsveltekit-adapter-aws/lists"}