We build PureStack: content sites and interactive pages with Markdown, Regor, and TypeScript.
Explore PureStack · Read the docs · Browse components · Contribute
PureStack turns a content directory into a static website. Write pages in Markdown or Regor MDX, compose them with built-in components, and add TypeScript for browser behavior. The CLI handles routes, styles, assets, local preview, and release builds.
The project brings together a site generator, Regor components, typed HTML and CSS builders, themes, browser scripts, and SVG icons in one TypeScript workspace.
PureStack is public on GitHub and published on npm under the MIT license. The package includes the CLI and TypeScript site-generation API.
- Content sites and documentation:
.md,.mdx, and.rmdxpages with frontmatter, file-based routes, navigation, and optional Pagefind search. - Interactive pages: Regor components, page-specific TypeScript through
PageScript, and browser apps throughRegorApp. - Static builds: HTML, CSS, JavaScript, and assets, with a minified publish directory ready for your host.
- Development tooling: local preview and reload, plus automated lint, type checks, and tests on Linux and Windows.
The VS Code extension source is included as a private workspace package for component navigation, IntelliSense, and formatting.
See it in use: purestack.studio is built with PureStack. Its source lives alongside the framework.
Install PureStack in your project:
npm install purestackThe repository quick start walks through creating your config, writing a page, and starting the preview.
For working examples, explore the sample site and component catalog.
Try the framework, share a reproducible bug, improve an example, or contribute code. The contribution guide covers local development, pull requests, generated assets, and CI.
Report an issue · Read the source · Explore the documentation