{"id":20156241,"url":"https://github.com/web-infra-dev/rsdoctor","last_synced_at":"2026-03-04T10:01:00.535Z","repository":{"id":213491679,"uuid":"725103703","full_name":"web-infra-dev/rsdoctor","owner":"web-infra-dev","description":"A one-stop build analyzer for Rspack and webpack.","archived":false,"fork":false,"pushed_at":"2026-02-27T12:02:17.000Z","size":9552,"stargazers_count":1133,"open_issues_count":40,"forks_count":96,"subscribers_count":24,"default_branch":"main","last_synced_at":"2026-02-27T12:57:16.200Z","etag":null,"topics":["analyze","build-analyzer","bundle","hacktoberfest","rspack","rstack","webpack"],"latest_commit_sha":null,"homepage":"https://rsdoctor.rs","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/web-infra-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","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},"funding":{"open_collective":"rspack"}},"created_at":"2023-11-29T12:54:47.000Z","updated_at":"2026-02-27T08:09:20.000Z","dependencies_parsed_at":"2025-03-31T06:24:27.397Z","dependency_job_id":"ce435416-5349-4079-8917-8b9274f41fad","html_url":"https://github.com/web-infra-dev/rsdoctor","commit_stats":null,"previous_names":["web-infra-dev/rsdoctor"],"tags_count":89,"template":false,"template_full_name":null,"purl":"pkg:github/web-infra-dev/rsdoctor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-infra-dev%2Frsdoctor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-infra-dev%2Frsdoctor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-infra-dev%2Frsdoctor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-infra-dev%2Frsdoctor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/web-infra-dev","download_url":"https://codeload.github.com/web-infra-dev/rsdoctor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-infra-dev%2Frsdoctor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30076933,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T08:01:56.766Z","status":"ssl_error","status_checked_at":"2026-03-04T08:00:42.919Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["analyze","build-analyzer","bundle","hacktoberfest","rspack","rstack","webpack"],"created_at":"2024-11-13T23:38:08.660Z","updated_at":"2026-03-04T10:01:00.509Z","avatar_url":"https://github.com/web-infra-dev.png","language":"TypeScript","funding_links":["https://opencollective.com/rspack"],"categories":["🌐 Web Development - Frontend","Resources","TypeScript"],"sub_categories":["Rstack"],"readme":"\u003cpicture\u003e\n  \u003cimg alt=\"Rsdoctor Banner\" width=\"100%\" src=\"https://github.com/web-infra-dev/rsdoctor/assets/7237365/0f9d2e86-d919-451a-befa-fa84603a87cf\" /\u003e\n\u003c/picture\u003e\n\n# Rsdoctor\n\n\u003cp\u003e\n  \u003ca href=\"https://discord.gg/wrBPBT6rkM\"\u003e\u003cimg src=\"https://img.shields.io/badge/chat-discord-blue?style=flat-square\u0026logo=discord\u0026colorA=564341\u0026colorB=EDED91\" alt=\"discord channel\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://npmjs.com/package/@rsdoctor/core?activeTab=readme\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@rsdoctor/core?style=flat-square\u0026colorA=564341\u0026colorB=EDED91\" alt=\"npm version\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://npmcharts.com/compare/@rsdoctor/core?minimal=true\"\u003e\u003cimg src=\"https://img.shields.io/npm/dm/@rsdoctor/core.svg?style=flat-square\u0026colorA=564341\u0026colorB=EDED91\" alt=\"downloads\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/web-infra-dev/rsdoctor/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/npm/l/@rsdoctor/core?style=flat-square\u0026colorA=564341\u0026colorB=EDED91\" alt=\"license\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nEnglish | [简体中文](./README.zh-CN.md)\n\nRsdoctor is a build analyzer tailored for the [Rspack](https://rspack.rs/) ecosystem and fully compatible with the [webpack](https://webpack.js.org/) ecosystem.\n\nRsdoctor is committed to being a one-stop, intelligent build analyzer that makes the build process transparent, predictable, and optimizable through visualization and smart analysis, helping development teams precisely identify bottlenecks, optimize performance, and improve engineering quality.\n\nRsdoctor supports all tools and frameworks based on Rspack or webpack, such as: [Docusaurus](https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-rsdoctor), [Rspeedy (Lynx)](https://lynxjs.org/rspeedy/), [Storybook](https://github.com/rstackjs/storybook-rsbuild), [Next.js](https://nextjs.org/), [Nuxt](https://nuxt.com/), [Re.Pack](https://re-pack.dev/), [Modern.js](https://modernjs.dev/), [Rsbuild](https://rsbuild.rs/), [Rspress](https://rspress.rs/) and [Rslib](https://rslib.rs/).\n\nhttps://github.com/user-attachments/assets/b8bb4ebf-b823-47bc-91ab-2d74f0057ef7\n\n## 🔥 Features\n\n- **Compilation Visualization**: Rsdoctor visualizes the compilation behavior and time consumption, making it easy to view build issues.\n\n- **Multiple Analysis Capabilities**: Rsdoctor supports build artifact, build-time analysis, and anti-degradation capabilities:\n  - Build artifact support for resource lists and module dependencies, etc.\n  - Build-time analysis supports Loader, Plugin, and Resolver building process analysis\n  - Build rules support duplicate package detection and ES Version Check, etc.\n\n- **Support Custom Rules**: In addition to built-in build scan rules, Rsdoctor also supports users adding custom component scan rules based on the build data of Rsdoctor.\n\n- **Support MCP Server**: Rsdoctor also provides an [MCP server](https://rsdoctor.rs/en/guide/start/mcp) for build analysis through a question-based approach.\n\n## 📚 Getting started\n\nTo get started with Rsdoctor, see the [Quick Start](https://rsdoctor.rs/guide/start/quick-start).\n\n## 🤝 Contribution\n\n\u003e New contributors welcome!\n\nPlease read the [Contributing Guide](https://github.com/web-infra-dev/rsdoctor/blob/main/CONTRIBUTING.md).\n\n## 🧑‍💻 Community\n\nCome and chat with us on [Discord](https://discord.gg/wrBPBT6rkM)! The Rstack team and users are active there, and we're always looking for contributions.\n\n## 🦀 Rstack\n\nRstack is a unified JavaScript toolchain centered on Rspack, with high performance and consistent architecture.\n\n| Name                                                  | Description              | Version                                                                                                                                                                          |\n| ----------------------------------------------------- | ------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| [Rspack](https://github.com/web-infra-dev/rspack)     | Bundler                  | \u003ca href=\"https://npmjs.com/package/@rspack/core\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@rspack/core?style=flat-square\u0026colorA=564341\u0026colorB=EDED91\" alt=\"npm version\" /\u003e\u003c/a\u003e     |\n| [Rsbuild](https://github.com/web-infra-dev/rsbuild)   | Build tool               | \u003ca href=\"https://npmjs.com/package/@rsbuild/core\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@rsbuild/core?style=flat-square\u0026colorA=564341\u0026colorB=EDED91\" alt=\"npm version\" /\u003e\u003c/a\u003e   |\n| [Rslib](https://github.com/web-infra-dev/rslib)       | Library development tool | \u003ca href=\"https://npmjs.com/package/@rslib/core\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@rslib/core?style=flat-square\u0026colorA=564341\u0026colorB=EDED91\" alt=\"npm version\" /\u003e\u003c/a\u003e       |\n| [Rspress](https://github.com/web-infra-dev/rspress)   | Static site generator    | \u003ca href=\"https://npmjs.com/package/@rspress/core\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@rspress/core?style=flat-square\u0026colorA=564341\u0026colorB=EDED91\" alt=\"npm version\" /\u003e\u003c/a\u003e   |\n| [Rsdoctor](https://github.com/web-infra-dev/rsdoctor) | Build analyzer           | \u003ca href=\"https://npmjs.com/package/@rsdoctor/core\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@rsdoctor/core?style=flat-square\u0026colorA=564341\u0026colorB=EDED91\" alt=\"npm version\" /\u003e\u003c/a\u003e |\n| [Rstest](https://github.com/web-infra-dev/rstest)     | Testing framework        | \u003ca href=\"https://npmjs.com/package/@rstest/core\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@rstest/core?style=flat-square\u0026colorA=564341\u0026colorB=EDED91\" alt=\"npm version\" /\u003e\u003c/a\u003e     |\n| [Rslint](https://github.com/web-infra-dev/rslint)     | Linter                   | \u003ca href=\"https://npmjs.com/package/@rslint/core\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@rslint/core?style=flat-square\u0026colorA=564341\u0026colorB=EDED91\" alt=\"npm version\" /\u003e\u003c/a\u003e     |\n\n## 🙌 Code of conduct\n\nThis repo has adopted the ByteDance Open Source Code of Conduct. Please check [Code of Conduct](./CODE_OF_CONDUCT.md) for more details.\n\n## 🙏 Credits\n\nSome of the implementation of Rsdoctor refers to the excellent projects in the community, and we would like to thank them:\n\n- [bundle-stats](https://github.com/relative-ci/bundle-stats/tree/master/packages/cli#readme) is an excellent tool for analyzing build artifacts, and Rsdoctor is inspired by it in terms of build analysis.\n- [webpack-bundle-analyzer](https://github.com/webpack-contrib/webpack-bundle-analyzer) is a classic tool for analyzing Webpack, and Rsdoctor is inspired by it in terms of build artifact analysis. Rsdoctor also uses its classic treemap visualization.\n- [Statoscope](https://github.com/statoscope/statoscope/blob/master/README.md) is an excellent tool for analyzing build artifacts, and Rsdoctor is inspired by it in terms of build analysis.\n- [Webpack Team and Community](https://github.com/webpack/webpack/blob/main/README.md) have created an excellent bundling tool and a rich ecosystem.\n- [vite-plugin-inspect](https://github.com/antfu/vite-plugin-inspect) has inspired Rsdoctor's exploration of build process analysis.\n\nThis Rsdoctor website is powered by [Netlify](https://www.netlify.com/).\n\n## 📖 License\n\nRsdoctor is licensed under the [MIT License](https://github.com/web-infra-dev/rsdoctor/blob/main/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb-infra-dev%2Frsdoctor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweb-infra-dev%2Frsdoctor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb-infra-dev%2Frsdoctor/lists"}