https://github.com/web-infra-dev/rsdoctor
AI-friendly build analyzer for Rspack
https://github.com/web-infra-dev/rsdoctor
analyze build-analyzer bundle hacktoberfest rspack rstack webpack
Last synced: 16 days ago
JSON representation
AI-friendly build analyzer for Rspack
- Host: GitHub
- URL: https://github.com/web-infra-dev/rsdoctor
- Owner: web-infra-dev
- License: mit
- Created: 2023-11-29T12:54:47.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2026-10-09T12:32:08.000Z (26 days ago)
- Last Synced: 2026-10-09T13:24:17.832Z (26 days ago)
- Topics: analyze, build-analyzer, bundle, hacktoberfest, rspack, rstack, webpack
- Language: TypeScript
- Homepage: https://rsdoctor.rs
- Size: 12.8 MB
- Stars: 1,143
- Watchers: 20
- Forks: 104
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
- Agents: AGENTS.md
Awesome Lists containing this project
- awesome-rstack - Rsdoctor - square&colorA=564341&colorB=EDED91" alt="npm version" /></a> | (Resources / Rstack)
- awesome-github-projects - rsdoctor - AI-friendly build analyzer for Rspack â1,143 `TypeScript` đĨ (đ¤ AI & Machine Learning)
- stars - rsdoctor - friendly build analyzer for Rspack | web-infra-dev | 1147 | (TypeScript)
README

# Rsdoctor
English | [įŽäŊ䏿](./README.zh-CN.md)
Rsdoctor is a build analysis tool for the [Rspack](https://rspack.rs/) ecosystem. It visualizes the build process and output to help developers investigate build issues and identify performance bottlenecks. It also provides build data to agents for automated diagnosis and optimization of JavaScript programs.
## đĨ Features
- **Agent-Driven Analysis**: Provides build data to agents for automated diagnosis and optimization of JavaScript programs
- **Compilation Visualization**: Visualize the compilation process and timing to troubleshoot build issues and identify performance bottlenecks
- **Comprehensive Analysis**: Analyze build output, inspect the build process, and run diagnostic checks:
- **Output Analysis**: Inspect assets, output sizes, and module dependencies
- **Build Process Analysis**: Inspect Loader and Plugin execution and module resolution
- **Diagnostic Checks**: Detect duplicate packages and check ECMAScript syntax versions to identify potential build issues
## đ Getting started
To get started with Rsdoctor, see the [Quick Start](https://rsdoctor.rs/guide/start/quick-start).
## đ¤ Contribution
> New contributors welcome!
Please read the [Contributing Guide](https://github.com/web-infra-dev/rsdoctor/blob/main/CONTRIBUTING.md).
## đ§âđģ Community
Come 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.
## đĻ Rstack
Rsdoctor is part of Rstack, the fast, unified JavaScript toolchain for developers and agents.
| Name | Description | Version |
| ----------------------------------------------------- | ------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Rspack](https://github.com/web-infra-dev/rspack) | Bundler |
|
| [Rsbuild](https://github.com/web-infra-dev/rsbuild) | Build tool |
|
| [Rslib](https://github.com/web-infra-dev/rslib) | Library development tool |
|
| [Rspress](https://github.com/web-infra-dev/rspress) | Static site generator |
|
| [Rsdoctor](https://github.com/web-infra-dev/rsdoctor) | Build analyzer |
|
| [Rstest](https://github.com/web-infra-dev/rstest) | Testing framework |
|
| [Rslint](https://github.com/web-infra-dev/rslint) | Linter |
|
## đ Code of conduct
This repo has adopted the ByteDance Open Source Code of Conduct. Please check [Code of Conduct](./CODE_OF_CONDUCT.md) for more details.
## đ Credits
Some of the implementation of Rsdoctor refers to the excellent projects in the community, and we would like to thank them:
- [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.
- [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.
- [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.
- [Webpack Team and Community](https://github.com/webpack/webpack/blob/main/README.md) have created an excellent bundling tool and a rich ecosystem.
- [vite-plugin-inspect](https://github.com/antfu/vite-plugin-inspect) has inspired Rsdoctor's exploration of build process analysis.
This Rsdoctor website is powered by [Netlify](https://www.netlify.com/).
## đ License
Rsdoctor is licensed under the [MIT License](https://github.com/web-infra-dev/rsdoctor/blob/main/LICENSE).