
React Framework for Cross-Platform
One codebase. Six platforms. Write React, ship everywhere.
Build fast apps that run natively everywhere, without complex tooling or endless config files.
Your project is just files.
Built on a foundation of fast, production-grade tooling
Every tool is carefully chosen and pre-configured so you can focus on building.
Why Bini?
Most starters give you a bundler and call it a day. Bini.js gives you a complete technical framework - wired together for static generation, data loading, and deployment from the first commit.
Static Generation (SSG)
Every route is pre-rendered to static HTML at build time, providing perfect Lighthouse scores and instant crawling.
Deploy Anywhere
Generate production entries for Vercel, Netlify, Cloudflare Pages and Deno Deploy, or run the Node server anywhere.
Native Tauri Builds
Desktop and mobile builds compile to real Tauri binaries - not Electron wrappers or emulators.
File-Based Routing
Create routes using the file system, including dynamic, catch-all, parallel and intercepting routes with nested layouts.
Loaders and Actions
Load data before a route renders and handle mutations with actions, then read the result anywhere in the route.
API Routes
Build API endpoints with plain function handlers or Hono, in dev, in bini-server, or on the edge.
Environment Variables
BINI_ and VITE_ prefixed variables reach the client. Everything else stays on the server.
Metadata & SEO
Set per-route metadata, Open Graph and Twitter cards, and icons without leaving your route files.
CSS Support
Style your application with Tailwind CSS or CSS Modules.
One codebase. Six platforms.
--platform picks the target - each scaffold gets exactly the dependencies, scripts, and config it needs.
Web
Vite + React with file-based routing, dev SSR, and every route pre-rendered to static HTML at build time - plus a Hono API layer.
Windows
Native desktop binary running inside WebView2, with Authenticode code signing.
macOS
Native desktop binary running inside WKWebView, with Developer ID + notarization.
Linux
Native desktop binary in WebKitGTK, distributed as a GPG-signed AppImage.
Android
Real native APK/AAB via Tauri's Android backend - not a WebView wrapper.
iOS
Real native app via Tauri's iOS backend, running inside WKWebView.
Eight packages. One framework.
Every package is purpose-built and works seamlessly together - or standalone.
Free & open source
Bini.js is MIT Licensed and will always be free and open source, made possible by our contributors and sponsors.
Become a sponsor
Ready to build with Bini.js?
Get started in seconds. Build for web, desktop, and mobile - all from one codebase.