{"id":30145275,"url":"https://github.com/grawl/vite-react-ts-ssg","last_synced_at":"2025-08-11T08:12:12.517Z","repository":{"id":141664160,"uuid":"571932374","full_name":"Grawl/vite-react-ts-ssg","owner":"Grawl","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-17T00:51:44.000Z","size":413,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-05-17T01:50:58.887Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Grawl.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":"2022-11-29T07:41:05.000Z","updated_at":"2023-09-16T20:24:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"059b3e71-76f7-4785-8318-2e92536f143e","html_url":"https://github.com/Grawl/vite-react-ts-ssg","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Grawl/vite-react-ts-ssg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Grawl%2Fvite-react-ts-ssg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Grawl%2Fvite-react-ts-ssg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Grawl%2Fvite-react-ts-ssg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Grawl%2Fvite-react-ts-ssg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Grawl","download_url":"https://codeload.github.com/Grawl/vite-react-ts-ssg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Grawl%2Fvite-react-ts-ssg/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269850366,"owners_count":24485177,"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","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-08-11T08:12:10.805Z","updated_at":"2025-08-11T08:12:12.342Z","avatar_url":"https://github.com/Grawl.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Template: [Vite](https://vitejs.dev) + [React](https://reactjs.org) + [TypeScript](https://typescriptlang.org) + SSG\n\n[![Known Vulnerabilities](https://snyk.io/test/github/Grawl/vite-react-ts-ssg/badge.svg?targetFile=package.json)](https://snyk.io/test/github/Grawl/vite-react-ts-ssg?targetFile=package.json)\n[![Maintainability](https://api.codeclimate.com/v1/badges/c875bc2c3f824135f2c9/maintainability)](https://codeclimate.com/github/Grawl/vite-react-ts-ssg/maintainability)\n[![Build](https://github.com/Grawl/vite-react-ts-ssg/actions/workflows/build.yml/badge.svg)](https://github.com/Grawl/vite-react-ts-ssg/actions/workflows/build.yml)\n[![Node.js ^18.12.1](https://img.shields.io/badge/Node.js-^18.12.1-brightgreen.svg)](https://nodejs.org)\n[![Yarn ^1.22.19](https://img.shields.io/badge/Yarn-^1.22.19-brightgreen.svg)](https://classic.yarnpkg.com)\n\nNothing useless, built from scratch\n\n\u003e **[SSG](https://dev.to/anshuman_bhardwaj/what-the-heck-is-ssg-static-site-generation-explained-with-nextjs-5cja)** – stands for **S**erver **S**ide **G**eneration, or **S**tatic **S**ite **G**enerator – is a technique to generate static HTML + JS + CSS out of `.tsx` / `.ts` / preprocessors sources\n\n# Create a project using this template\n\n```\nnpx degit Grawl/vite-react-ts-ssg\n```\n\nYou can add desirable folder name in the end of that command to copy template into it\n\n# `yarn dev` to start developing\n\nYou can copy `.env.example` as `.env` and change development server port\n\n# `yarn build` to get static files\n\nYou will get `dist/static/` folder with all static assets you can deploy anywhere\n\n# Origin\n\n\u003e This template is [`playground/ssr-react`](https://github.com/vitejs/vite/tree/c45c984ce88b9f36a61761b4df849b7e8dd8e3ce/playground/ssr-react) folder of Vite repository with added some features and prepared to be a template with developer experience and all features you want to make a website\n\nAdded:\n\n- [TypeScript](https://typescriptlang.org) support\n- [ESLint](http://eslint.org) support with minimal config for code style, plus:\n  - [simple-import-sort](https://github.com/lydell/eslint-plugin-simple-import-sort) to sort imports during ESLint `--fix`\n  - [unsed-imports](https://github.com/sweepline/eslint-plugin-unused-imports) to remove unused imports during ESLint `--fix`\n- [React Helmet](https://github.com/nfl/react-helmet) to rule document `\u003chead\u003e`\n- Styling examples using CSS Modules and global CSS\n- Runtime example using `useState` (at home page)\n\nRemoved:\n\n- **Tests** because who wants to test static sites\n- **SSR mode** because we want SSG here\n\n# TODO\n\n- [ ] Use `ts-node` to run all scripts and rewrite all JS to TS\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrawl%2Fvite-react-ts-ssg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrawl%2Fvite-react-ts-ssg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrawl%2Fvite-react-ts-ssg/lists"}