Dex v0.3.0 • Native Go CLI & Bun Runtime

Composable, Bun-First Full-Stack Framework

Build fast full-stack web apps with a native Go CLI, file-based React routing, Elysia server primitives, SSG prerendering, and a typed OpenAPI route-tree client.

Quick Start
macOS & Linux
# Install the native Go CLI
curl -fsSL https://raw.githubusercontent.com/patrickaigbogun/dex/master/install.sh | bash

# Scaffold a new app and start the dev server
dex scaffold my-app && cd my-app && dex start

5-Pillar Architecture

Every layer of Dex is a focused, composable package that works together out of the box or standalone in your own stack.

Release Highlights

What's New in v0.3.0

Get started with v0.3.0

6 MB Native Go CLI

Zero-dependency Go binary with sub-5ms startup, ~/.dex multi-version management, interactive template sync, and release diffing.

ESM Code Splitting & Cache Busting

Production builds emit client.js and content-hashed chunks/[name]-[hash].js with automatic ?v=<hash> asset cache busting in HTML.

Subdomain Mounting & Canonical Redirects

Map subdomains like docs or admin to route prefixes in dex.config.ts with clean client URLs and canonical 308 redirects.

Google Variable Fonts & Tailwind v4 @theme

Configure fonts once in dex.config.ts to inject preconnect links, CSS variables, utility classes, and Tailwind v4 @theme definitions.

SSG Prerendering & Head Metadata

Pre-render static routes to build/__ssg/ with RouterContext.Provider, Open Graph/Twitter tags, and Google Fonts baked into HTML.

@dex/pie YAML OpenAPI & Retry Safety

Generate typed route trees from JSON or YAML OpenAPI specs and retry idempotent methods safely with exponential backoff and jitter.