{"id":21437332,"url":"https://github.com/cotyhamilton/deno-sveltekit","last_synced_at":"2025-07-14T15:30:45.582Z","repository":{"id":259488906,"uuid":"850135628","full_name":"cotyhamilton/deno-sveltekit","owner":"cotyhamilton","description":"deno + sveltekit how to","archived":false,"fork":false,"pushed_at":"2025-04-18T04:58:34.000Z","size":709,"stargazers_count":45,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-18T17:49:43.036Z","etag":null,"topics":["deno","svelte","sveltekit"],"latest_commit_sha":null,"homepage":"https://deno-sveltekit-example.deno.dev","language":"TypeScript","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/cotyhamilton.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,"zenodo":null}},"created_at":"2024-08-31T00:48:47.000Z","updated_at":"2025-04-18T04:58:32.000Z","dependencies_parsed_at":"2024-10-25T23:54:37.859Z","dependency_job_id":"af9c833a-a97a-4543-b55e-a036fd919eab","html_url":"https://github.com/cotyhamilton/deno-sveltekit","commit_stats":null,"previous_names":["cotyhamilton/deno-sveltekit"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cotyhamilton/deno-sveltekit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cotyhamilton%2Fdeno-sveltekit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cotyhamilton%2Fdeno-sveltekit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cotyhamilton%2Fdeno-sveltekit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cotyhamilton%2Fdeno-sveltekit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cotyhamilton","download_url":"https://codeload.github.com/cotyhamilton/deno-sveltekit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cotyhamilton%2Fdeno-sveltekit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265311983,"owners_count":23745176,"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":["deno","svelte","sveltekit"],"created_at":"2024-11-23T00:19:14.107Z","updated_at":"2025-07-14T15:30:45.562Z","avatar_url":"https://github.com/cotyhamilton.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# deno sveltekit\n\nThis repo used to serve as a proof of concept and documentation for any custom\nrequirements for running sveltekit with deno. There are no longer any major\nissues, and you may just follow the prompts of the `sv` cli to create a new\nproject.\n\n## create project\n\n```bash\ndeno run -A npm:sv@latest create my-app\n```\n\nIn the tools prompt select `sveltekit-adapter` and either `node` or `static`\n\nFor package manager select `deno`\n\n```bash\ncd my-app\ndeno install\n```\n\n## develop\n\nInstall dependencies\n\n```bash\ndeno install\n```\n\nRun the dev server\n\n```bash\ndeno task dev\n```\n\n## build\n\n```bash\ndeno task build\n```\n\nPreview the production build\n\n```bash\ndeno task preview\n```\n\nRun production server\n\n```bash\ndeno run -REN build/index.js\n```\n\n## docker\n\nThere is a basic `Dockerfile` included in the repo.\n\n```bash\ndocker build -t my-app .\ndocker run -p 3000:3000 my-app\n\n# or for a custom port\ndocker run --env PORT=5001 -p 5001:5001 my-app\n```\n\n## deploy\n\nCreate project on [deno deploy](https://dash.deno.com/projects) and link repo\n\nSvelte will be automatically selected as the framework preset\n\nOpen advanced settings\n\n- Set \"Install Step\" to `deno install`\n- Set \"Build Step\" to `deno task build`\n- Set \"Root directory\" to `build`\n- Set \"Entrypoint\" to `index.js`\n\nAlternatively, deploy from the command line:\n\n```bash\ndeno task build\ncd build\ndeployctl deploy --project=\u003cproject-name\u003e --entrypoint=index.js\n```\n\n## live example\n\nhttps://deno-sveltekit-example.deno.dev\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcotyhamilton%2Fdeno-sveltekit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcotyhamilton%2Fdeno-sveltekit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcotyhamilton%2Fdeno-sveltekit/lists"}