{"id":35474635,"url":"https://github.com/rstackjs/rstack-examples","last_synced_at":"2026-01-09T02:01:46.787Z","repository":{"id":208248940,"uuid":"721103420","full_name":"rstackjs/rstack-examples","owner":"rstackjs","description":"Examples of Rstack, including Rspack, Rsbuild, Rspress, Rsdoctor.","archived":false,"fork":false,"pushed_at":"2026-01-02T09:15:15.000Z","size":15833,"stargazers_count":150,"open_issues_count":15,"forks_count":42,"subscribers_count":9,"default_branch":"main","last_synced_at":"2026-01-03T20:45:09.730Z","etag":null,"topics":["rsbuild","rsdoctor","rspack","rspress"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/rstackjs.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-11-20T11:11:43.000Z","updated_at":"2026-01-02T09:09:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"8ebb235f-d616-419b-966a-3a82f3b5e5b4","html_url":"https://github.com/rstackjs/rstack-examples","commit_stats":null,"previous_names":["rspack-contrib/rspack-examples","rspack-contrib/rstack-examples"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rstackjs/rstack-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstackjs%2Frstack-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstackjs%2Frstack-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstackjs%2Frstack-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstackjs%2Frstack-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rstackjs","download_url":"https://codeload.github.com/rstackjs/rstack-examples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstackjs%2Frstack-examples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28251784,"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":"2026-01-09T02:00:07.210Z","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":["rsbuild","rsdoctor","rspack","rspress"],"created_at":"2026-01-03T12:00:40.054Z","updated_at":"2026-01-09T02:01:46.781Z","avatar_url":"https://github.com/rstackjs.png","language":"JavaScript","readme":"# Rstack Examples\n\nThis repository contains comprehensive examples that demonstrate the Rstack ecosystem tools, including Rspack, Rsbuild, Rspress, and Rsdoctor. These examples showcase common implementation patterns and best practices to help developers leverage the full potential of the Rstack toolchain.\n\n## List of Examples\n\n|   [Rspack](https://github.com/web-infra-dev/rspack)   |    \u003ca href=\"https://github.com/web-infra-dev/rspack\" target=\"blank\"\u003e\u003cimg src=\"https://assets.rspack.dev/rspack/rspack-banner.png\" width=\"400\" /\u003e\u003c/a\u003e    |  [Examples](./rspack)   |   [Document](https://rspack.dev/)    |\n| :---------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------: | :----------------------------------: |\n|  [Rsbuild](https://github.com/web-infra-dev/rsbuild)  |  \u003ca href=\"https://github.com/web-infra-dev/rsbuild\" target=\"blank\"\u003e\u003cimg src=\"https://assets.rspack.dev/rsbuild/rsbuild-banner.png\" width=\"400\" /\u003e\u003c/a\u003e   |  [Examples](./rsbuild)  |   [Document](https://rsbuild.dev/)   |\n|  [Rspress](https://github.com/web-infra-dev/rspress)  |  \u003ca href=\"https://github.com/web-infra-dev/rspress\" target=\"blank\"\u003e\u003cimg src=\"https://assets.rspack.dev/rspress/rspress-banner.png\" width=\"400\" /\u003e\u003c/a\u003e   | [Examples](./rspress/)  |   [Document](https://rspress.dev/)   |\n| [Rsdoctor](https://github.com/web-infra-dev/rsdoctor) | \u003ca href=\"https://github.com/web-infra-dev/rsdoctor\" target=\"blank\"\u003e\u003cimg src=\"https://assets.rspack.dev/rsdoctor/rsdoctor-banner.png\" width=\"400\" /\u003e\u003c/a\u003e | [Examples](./rsdoctor/) |  [Document](https://rsdoctor.dev/)   |\n|    [Rslib](https://github.com/web-infra-dev/rslib)    |     \u003ca href=\"https://github.com/web-infra-dev/rslib\" target=\"blank\"\u003e\u003cimg src=\"https://assets.rspack.dev/rslib/rslib-banner.png\" width=\"400\" /\u003e\u003c/a\u003e      |   [Examples](./rslib)   | [Document](https://lib.rsbuild.dev/) |\n\n## How to Use\n\n### Clone single example\n\nTo clone a single example, you can use the [gitpick](https://github.com/nrjdalal/gitpick) to clone a sub-directory from the current repository.\n\nFor example, to clone the `/rspack/basic` example, run the following command:\n\n```bash\n# Clone the basic example\nnpx gitpick https://github.com/rspack-contrib/rstack-examples/tree/main/rspack/basic\n\n# Enter the basic example directory\ncd basic\n\n# Install the dependencies\npnpm i\n```\n\n### Clone all examples\n\nTo try all examples, you can clone the current repository to your local.\n\n1. First, clone the current repository to your local:\n\n```bash\ngit clone git@github.com:rspack-contrib/rstack-examples.git\n```\n\n2. Then, choose the example you need, such as the Rsbuild react example:\n\n```bash\ncd rsbuild/react\n```\n\n3. Install the dependencies using `pnpm` or other package manager, then start the project:\n\n```bash\n# Use corepack to enable pnpm\ncorepack enable\npnpm i\npnpm run dev\n```\n\n4. You can fork the current project or copy the code from the current project to use it.\n","funding_links":[],"categories":["Resources"],"sub_categories":["Official Resources"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frstackjs%2Frstack-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frstackjs%2Frstack-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frstackjs%2Frstack-examples/lists"}