How ronin-co/blade works
Project type and purpose
• This is a full-stack React framework/library (“RONIN Blade”) implemented in TypeScript and distributed via Bun.
• Purpose: Provide zero-config instant web apps with built-in React hooks, file-based routing, server/client components, data fetching/mutation, and deployment as a request/response worker plus static assets.
File structure
• Top-level:
• .github/workflows/* – CI/CD for publishing and validating releases
• examples/ – two sample apps (“basic” and “advanced”) using Blade
• private/ – core implementation modules, subdivided into client/, server/, shell/, universal/
• public/ – the public API surfaces clients import (mirrors private/)
• tests/ – fixtures and unit tests
• package.json, bun.lock, biome.json, tsconfig.json, vitest.config.ts – build/test configuration
• Patterns:
• Monorepo-style separation of core implementation (private) from exported API (public)
• File-based routing (private/server/pages, examples/*/pages)
• Clear separation of concerns: client-only code, server-only code, universal utilities
• Shell orchestrator (private/shell) handles build, routing, and worker generation
Key insights from README
• Built on Bun runtime
• Exposes programmatic APIs via React hooks (server: use, client: useMutation, universal: useLocation, etc.)
• Outputs a request/response worker plus static files for deployment anywhere
• Zero-config file-based routing, automatic REST API generation, built-in Tailwind support
• Data flows synchronously on the server, async behind the scenes, no client data waterfalls