sxo

SXO is a multi-runtime server-side JSX tool for Node.js, Bun, Deno, and Cloudflare Workers. It includes SXOUI, a framework-agnostic UI library inspired by shadcn/ui

23 articles 49 View on GitHub ↗
23 articles
How to Optimize Production Builds with Custom esbuild Configuration in SXO

Optimize SXO production builds using custom esbuild configuration. Inject any esbuild option via the BUILD environment variable to override defaults and enhance client-side bundling for better performance.

performance
Mar 2, 2026
How to Add SXOUI Components Using the sxo add Command

Learn to add SXOUI components to your project using the sxo add command. Effortlessly integrate UI elements from the basecoat library into your local src components directory.

how-to-guide
Mar 2, 2026
SXO ETag and Caching: How Hashed vs Non-Hashed Assets Are Handled

Learn how SXO manages ETag and caching for hashed vs non-hashed assets. Discover immutable year-long caches for hashed files and five-minute caches for others, optimizing performance.

performance
Mar 2, 2026
How Middleware Execution Order Works in SXO's Middleware Chain

Understand SXO middleware execution order in the middleware chain. Learn how SXO runs middleware sequentially and short-circuits the chain for efficient request processing. Optimize your SXO setup.

internals
Mar 2, 2026
How the Readiness Probe Determines When the Dev Server Is Ready in SXO

Discover how the SXO readiness probe uses waitForHttp to poll the dev server's endpoint and determine readiness by checking status codes 200-499. Learn about backoff and jitter.

internals
Mar 2, 2026
How to Deploy SXO to Cloudflare Workers with Wrangler Configuration

Deploy SXO to Cloudflare Workers using Wrangler. Configure ASSETS binding and map virtual imports in wrangler.jsonc for seamless static file serving and module management.

how-to-guide
Mar 2, 2026
Node-Style vs Web Standard Middleware Signatures in SXO

Understand Node-style and Web Standard middleware signatures in SXO. Learn how SXO supports both Nodejs and serverless environments for flexible application development.

deep-dive
Mar 2, 2026
How SXO Handles Static Asset Precompression (.br/.gz) Negotiation

Discover how SXO handles static asset precompression negotiation for .br/.gz files. SXO intelligently chooses between Brotli and Gzip based on client support and availability, optimizing load times.

internals
Mar 2, 2026
What Runtime Helpers Does the Rust/WASM JSX Transformer Generate?

Discover the three runtime helpers __jsxComponent __jsxSpread and __jsxList generated by the Rust WASM JSX transformer enabling efficient component rendering attribute serialization and list flattening.

internals
Mar 2, 2026
How Route Parameter Validation Works with SLUG_REGEX in SXO

Learn how SXO validates dynamic route parameters using SLUG_REGEX. Discover the compile-time and runtime checks that ensure correct URL patterns and prevent errors.

how-to-guide
Mar 2, 2026
How SXO Detects Which JavaScript Runtime (Node, Bun, or Deno) Is Being Used

Discover how SXO identifies JavaScript runtimes like Node Bun or Deno by checking global objects Learn the simple detection method used in the gc Victor sxo repository.

internals
Mar 2, 2026
How `global.css` Gets Injected Across All Routes in SXO

Learn how SXO automatically injects your global CSS file into every route's entry points for consistent styling. Master your SXO build system.

internals
Mar 2, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →