{"id":26445825,"url":"https://github.com/vinaypuppal/sveltekit-gitpod","last_synced_at":"2026-05-10T10:15:42.398Z","repository":{"id":42519444,"uuid":"376283073","full_name":"vinaypuppal/sveltekit-gitpod","owner":"vinaypuppal","description":"Everything you need to build a Sveltekut project in Gitpod;","archived":false,"fork":false,"pushed_at":"2022-11-12T20:37:26.000Z","size":180,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-02-27T13:46:46.679Z","etag":null,"topics":["gitpod","gitpod-compatible","seveltekit","svelte","tailwindcss"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"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/vinaypuppal.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}},"created_at":"2021-06-12T12:21:15.000Z","updated_at":"2021-06-12T16:19:06.000Z","dependencies_parsed_at":"2022-09-02T00:10:41.976Z","dependency_job_id":null,"html_url":"https://github.com/vinaypuppal/sveltekit-gitpod","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinaypuppal%2Fsveltekit-gitpod","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinaypuppal%2Fsveltekit-gitpod/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinaypuppal%2Fsveltekit-gitpod/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinaypuppal%2Fsveltekit-gitpod/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vinaypuppal","download_url":"https://codeload.github.com/vinaypuppal/sveltekit-gitpod/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244211779,"owners_count":20416707,"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":["gitpod","gitpod-compatible","seveltekit","svelte","tailwindcss"],"created_at":"2025-03-18T11:34:37.970Z","updated_at":"2026-05-10T10:15:37.364Z","avatar_url":"https://github.com/vinaypuppal.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sveltekit App Template With Gitpod Setup\n\nEverything you need to build a Sveltekut project in [Gitpod](https://www.gitpod.io/);\n\n\u003e Note: Below steps are already implemented in [.gitpod.yml](https://github.com/vinaypuppal/sveltekit-gitpod/blob/main/.gitpod.yml) so you can create a new repository based on this template and open in Gitpod and everything will work as expected.\n\n## Special config for Gitpod to make HMR work\n\nSveltekit needs to know how to reach the HMR endpoint. To configure that we need to do two things in our config:\n\n1. Set an environment variable\n\n```\n export WS_URL=$(gp url 24678 | sed 's/https\\?:\\/\\///')\n```\n\n2. Configure the env value in `svelte.config.js`\n\n```js\n\t\tkit: {\n\t\t// ... other config\n\t\tvite: {\n            // ... other config\n\t\t\tserver: {\n\t\t\t\thmr: {\n\t\t\t\t\thost: process.env.WS_URL,\n\t\t\t\t\tclientPort: process.env.WS_URL ? 443 : null\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n```\n\nThis will set HMR URL with the workspace url of `24678` (default port for HMR).\n\n## Building\n\nBefore creating a production version of your app, install an [adapter](https://kit.svelte.dev/docs#adapters) for your target environment. Then:\n\n```bash\nnpm run build\n```\n\n\u003e You can preview the built app with `npm run preview`, regardless of whether you installed an adapter. This should _not_ be used to serve your app in production.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinaypuppal%2Fsveltekit-gitpod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvinaypuppal%2Fsveltekit-gitpod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinaypuppal%2Fsveltekit-gitpod/lists"}