{"id":14962606,"url":"https://github.com/mikebild/sveltekit-adapter-aws","last_synced_at":"2025-04-07T14:13:05.886Z","repository":{"id":41202697,"uuid":"400175482","full_name":"MikeBild/sveltekit-adapter-aws","owner":"MikeBild","description":"A SvelteKit adapter for AWS using the AWS-CDK","archived":false,"fork":false,"pushed_at":"2023-05-16T13:52:18.000Z","size":509,"stargazers_count":135,"open_issues_count":21,"forks_count":30,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-07T14:12:52.074Z","etag":null,"topics":["aws","aws-cdk","deployment","sveltejs","sveltekit"],"latest_commit_sha":null,"homepage":"","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/MikeBild.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-08-26T13:17:17.000Z","updated_at":"2025-03-10T03:22:23.000Z","dependencies_parsed_at":"2024-03-16T00:34:39.309Z","dependency_job_id":null,"html_url":"https://github.com/MikeBild/sveltekit-adapter-aws","commit_stats":{"total_commits":181,"total_committers":9,"mean_commits":20.11111111111111,"dds":0.3370165745856354,"last_synced_commit":"eec1cbbd677578fc9473fc106d294dcbbf6818ce"},"previous_names":[],"tags_count":83,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MikeBild%2Fsveltekit-adapter-aws","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MikeBild%2Fsveltekit-adapter-aws/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MikeBild%2Fsveltekit-adapter-aws/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MikeBild%2Fsveltekit-adapter-aws/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MikeBild","download_url":"https://codeload.github.com/MikeBild/sveltekit-adapter-aws/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247666014,"owners_count":20975788,"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-cdk","deployment","sveltejs","sveltekit"],"created_at":"2024-09-24T13:30:09.486Z","updated_at":"2025-04-07T14:13:05.857Z","avatar_url":"https://github.com/MikeBild.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SvelteKit Adapter AWS\n\nThis project contains a SvelteKit adapter to deploy SvelteKit to AWS using AWS-CDK.\n\n## How to use?\n\n1. Create a SvelteKit project \"my-app\" - `npm create svelte@latest my-app`\n2. `cd my-app`\n3. `npm install`\n4. `npm install -D sveltekit-adapter-aws`\n5. edit **svelte.config.js**\n\n## Basic setup example\n\n**svelte.config.js**\n\n```javascript\nimport { adapter } from 'sveltekit-adapter-aws';\nimport preprocess from 'svelte-preprocess';\n\nexport default {\n  preprocess: preprocess(),\n  kit: {\n    adapter: adapter({\n      autoDeploy: true,\n    }),\n  },\n};\n```\n\n## Architecture\n\n![Architecture](architecture.png)\n\n## Configuration\n\n```typescript\nexport interface AWSAdapterProps {\n  cdkProjectPath?: string; // AWS-CDK App file path for AWS-CDK custom deployment applications (e.g. ${process.cwd()}/deploy.js)\n  artifactPath?: string; // Build output directory (default: build)\n  autoDeploy?: boolean; // Should automatically deploy in SvelteKit build step (default: false)\n  stackName?: string; // AWS-CDK CloudFormation Stackname (default: AWSAdapterStack-Default)\n  esbuildOptions?: any; // Override or extend default esbuild options. Supports `external` (default `['node:*']`), `format` (default `cjs`), `target` (default `node16`), `banner` (default `{}`).\n  FQDN?: string; // Full qualified domain name of CloudFront deployment (e.g. demo.example.com)\n  MEMORY_SIZE?: number; // Memory size of SSR lambda in MB (default 128 MB)\n  LOG_RETENTION_DAYS?: number; // Log retention in days of SSR lambda (default 7 days)\n  zoneName?: string; // The name of the hosted zone in Route 53 (defaults to the TLD from the FQDN)\n}\n```\n\n## Example usages\n\n- [Basic](https://github.com/MikeBild/sveltekit-adapter-aws-basic-example)\n- [Advanced](https://github.com/MikeBild/sveltekit-adapter-aws-advanced-example)\n- [Full Workshop Example](https://github.com/MikeBild/serverless-workshop-sveltekit)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikebild%2Fsveltekit-adapter-aws","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikebild%2Fsveltekit-adapter-aws","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikebild%2Fsveltekit-adapter-aws/lists"}