Introducing NukeJS — v0.0.21

React. Weaponized.

SSR, HMR, file-based routing, and full React support — out of the box. Deploy to Vercel or Node in one command.

$ npm create nuke@latestclick to copy
GitHub
app/pages/index.tsx
app/pages/layout.tsx
server/api/time.ts
import { useHtml } from "nukejs";
export default async function Index() {
    const title = "Full-stack JS Framework"
    useHtml({
        title,
        htmlAttrs: {
            lang: "en"
        },
        meta: [{ 
            name: "description", 
            content: "React. Weaponized."
        }]
    })
    return <>
                <h1>{title}</h1>
           </>
}

Features

What NukeJS gives you

Everything you need to build and ship a React app — no configuration required.

🪶
Zero Dependencies0 deps

NukeJS ships with no runtime dependencies — not a single one. No supply-chain surprises, no bloat, no version conflicts. Just your code and Node.

🚀
Server-Side Rendering

Pages are rendered on the server on every request, or at build time. Fast first loads, great for SEO, fully configurable per route.

🛣️
File-Based Routing

Drop a file into app/pages/ and it becomes a route automatically. Dynamic segments, nested layouts, API routes — all in your file tree.

🔌
API Routes

Write backend handlers alongside your frontend. Files in server/ become serverless functions, automatically.

Hot Module Replacement

Edit a component and see it update instantly in the browser — no full refresh, no lost state. Your dev loop stays fast.

🔗
Middleware

Run logic before any route — auth checks, redirects, logging, request enrichment. Chain as many middlewares as you need, globally or per route.

⚛️
Full React Support

Every React feature works — hooks, context, suspense, concurrent mode. Bring your own component library, state manager, and styles.

📦
TypeScript, out of the box

Zero config TypeScript support. Full type inference for routes, props, and API responses. No tsconfig wrestling required.

Deployment

Deploy anywhere you run JavaScript.

NukeJS detects the environment automatically and builds the right output. Push to GitHub, connect your platform, done.

Vercel
Zero config
Cloudflare
Zero config
Node.js
Self-host anywhere