Introduction

A full-stack TypeScript framework built on Bun

Axi is a full-stack web framework built on Bun:

  • File-based routing for pages, APIs, and WebSockets
  • Type-safe APIs with auto-generated typed client
  • Real-time WebSockets with pub/sub support
  • Server-side rendering with full client hydration
  • Zero config - works out of the box

Why Axi?

Fast

Built on Bun, Axi starts your dev server in milliseconds.

Simple

No complex configuration. Create files in app/ and start building.

Type-Safe

TypeScript support with type-safe routing and API handlers. End-to-end types flow from your routes to the auto-generated client.

Complete

Everything you need is built-in: routing, SSR, API routes, and WebSockets.

Philosophy

Axi combines patterns from Next.js (file-based routing) and tRPC (end-to-end types) into a single, minimal framework, with real-time WebSockets built directly on Bun's native primitives.

  1. Convention over configuration - Sensible defaults that work
  2. Simplicity first - Easy to learn, easy to use
  3. Performance by default - Fast development and production builds

Next Steps