{"id":23655772,"url":"https://github.com/thednp/vite-starter-vanjs-ssr","last_synced_at":"2025-11-23T02:30:15.999Z","repository":{"id":268163280,"uuid":"903513213","full_name":"thednp/vite-starter-vanjs-ssr","owner":"thednp","description":"A vite starter for VanJS with SSR","archived":false,"fork":false,"pushed_at":"2024-12-24T10:34:39.000Z","size":64,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-24T11:43:30.997Z","etag":null,"topics":["expressjs","ssr","vanjs","vitejs"],"latest_commit_sha":null,"homepage":"https://stackblitz.com/~/github.com/thednp/vite-starter-vanjs-ssr","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/thednp.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}},"created_at":"2024-12-14T19:42:57.000Z","updated_at":"2024-12-24T10:34:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"76c8bafa-b888-40c3-9ee9-a9da3487d6de","html_url":"https://github.com/thednp/vite-starter-vanjs-ssr","commit_stats":null,"previous_names":["thednp/vite-starter-vanjs-ssr"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thednp%2Fvite-starter-vanjs-ssr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thednp%2Fvite-starter-vanjs-ssr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thednp%2Fvite-starter-vanjs-ssr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thednp%2Fvite-starter-vanjs-ssr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thednp","download_url":"https://codeload.github.com/thednp/vite-starter-vanjs-ssr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239627246,"owners_count":19670844,"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":["expressjs","ssr","vanjs","vitejs"],"created_at":"2024-12-28T20:15:42.482Z","updated_at":"2025-11-23T02:30:15.604Z","avatar_url":"https://github.com/thednp.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## vite-starter-vanjs-ssr\nA fully working vite starter template for [VanJS](https://vanjs.org) forked from [template-ssr-vanilla-ts](https://github.com/bluwy/create-vite-extra/tree/master/template-ssr-vanilla-ts).\n\n**Features**:\n* SSR server powered by express;\n* SSG prerender script included;\n* isomorphic render powered by [vite-plugin-vanjs](https://github.com/thednp/vite-plugin-vanjs).\n\n\n### Install\nClone the repository from Github.\n```bash\ngit clone https://github.com/thednp/vite-starter-vanjs-ssr.git my-project\ncd my-project\n```\n\nRun your favorite package manager installation script.\n```bash\nnpm install\n```\n\n```bash\npnpm install\n```\n\n```bash\ndeno install\n```\n\n\n### Development\nStart the development server.\n```bash\nnpm run dev\n```\n\n```bash\npnpm dev\n```\n\n```bash\ndeno task dev\n```\n\n### Preview\nPrerender the application and start the server.\n```bash\nnpm run preview\n```\n\n```bash\npnpm preview\n```\n\n```bash\ndeno task preview\n```\n\n### Build a Static Application\nPrerender the application.\n```bash\nnpm run generate\n```\n\nStart the application.\n```bash\nnpm run start\n```\n\n\n### Build a Server-Side Rendering Application\nBuild the application.\n```bash\nnpm run build\n```\n\nStart the application.\n```bash\nnpm run start\n```\n\n\n### Other Notes\n* you are expected to create pages in the `src/pages` folder in order for the prerenderer to work;\n* for more information about SSR, it's highly recommanded to check the [Vite documentation](https://vite.dev/guide/ssr.html).\n\n\n### License\nReleased under [MIT](LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthednp%2Fvite-starter-vanjs-ssr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthednp%2Fvite-starter-vanjs-ssr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthednp%2Fvite-starter-vanjs-ssr/lists"}