{"id":23582633,"url":"https://github.com/dashpilot/svelte-5-ssr","last_synced_at":"2025-11-02T19:30:22.941Z","repository":{"id":269498934,"uuid":"907607983","full_name":"dashpilot/svelte-5-ssr","owner":"dashpilot","description":"Example of how to server-side render a Svelte 5 component","archived":false,"fork":false,"pushed_at":"2024-12-25T11:38:49.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-01T00:37:18.145Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://svelte-5-ssr.vercel.app","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/dashpilot.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":"2024-12-24T01:38:13.000Z","updated_at":"2024-12-25T11:38:52.000Z","dependencies_parsed_at":"2024-12-24T02:34:58.024Z","dependency_job_id":"d451b664-7eab-4f77-92fe-4d2cb40c8c6a","html_url":"https://github.com/dashpilot/svelte-5-ssr","commit_stats":null,"previous_names":["dashpilot/svelte-5-ssr"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashpilot%2Fsvelte-5-ssr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashpilot%2Fsvelte-5-ssr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashpilot%2Fsvelte-5-ssr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashpilot%2Fsvelte-5-ssr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dashpilot","download_url":"https://codeload.github.com/dashpilot/svelte-5-ssr/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239399807,"owners_count":19632022,"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":[],"created_at":"2024-12-27T01:12:20.231Z","updated_at":"2025-11-02T19:30:22.898Z","avatar_url":"https://github.com/dashpilot.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Svelte 5 Server-side rendering (SSR)\n\nSimple example of how you can server-side-render a Svelte 5 component.\n\n## How it works:\n\n1. In order to SSR a Svelte component, you first need to compile it into a .js file, so Node.js can work with it\n2. After that, you import the precompiled file, and render it\n\n## Features\n\n-   precompiles all files files in a certain directory and its subfolders\n-   supports nested components\n-   supports runes\n-   supports style tags inside components, and inlines them into the head\n-   no need for Vite or Rollup: all compilation happens server-side\n\n## How to run\n\nInstall dependencies:\n\n```bash\nnpm install\n```\n\nRun the script:\n\n```bash\nnpm run build\n```\n\n## Press the :star: button\n\nDon't forget to press the :star: button to let me know I should continue improving this project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdashpilot%2Fsvelte-5-ssr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdashpilot%2Fsvelte-5-ssr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdashpilot%2Fsvelte-5-ssr/lists"}