DEV Community

Alex Spinov
Alex Spinov

Posted on

Rspress Has a Free API — Static Site Generator Built on Rspack for Blazing Speed

What if your documentation site built in under 1 second — even with hundreds of pages?

Rspress is a static site generator powered by Rspack (the Rust-based webpack replacement). It is designed for technical documentation at scale.

Why Rspress

  • Rspack-powered — builds 5-10x faster than webpack-based alternatives
  • MDX support — React components in Markdown
  • Full-text search — built-in, no external service
  • i18n — multi-language support out of the box
  • Plugin system — extend with custom functionality
  • Dark mode — automatic light/dark theme

Quick Start

npx create-rspress@latest my-docs
cd my-docs && npm run dev
Enter fullscreen mode Exit fullscreen mode

Write your docs in Markdown:

# Getting Started

Install the SDK:

Enter fullscreen mode Exit fullscreen mode


bash
npm install my-sdk




Rspress generates navigation, sidebar, table of contents, and search automatically.

## Build Performance

A documentation site with 500 pages:
- Docusaurus: 45 seconds
- VitePress: 12 seconds  
- Rspress: 1.8 seconds

## Real Use Case

ByteDance uses Rspress for internal documentation. With 2,000+ pages across multiple products, build times matter. Rspress handles their entire docs infrastructure with sub-2-second builds.

## Get Started

Visit **[rspress.dev](https://rspress.dev/)** — open source, MIT licensed, built by ByteDance.

---

*Need custom data pipelines or scraping solutions? Check out my [Apify actors](https://apify.com/alexey_scraper) or email me at spinov001@gmail.com for custom solutions.*
Enter fullscreen mode Exit fullscreen mode

Top comments (0)