Fast fullstack React framework
npm install satset-react
src="https://raw.githubusercontent.com/IndokuDev/IndokuDev-all-Logo/refs/heads/main/favicon.png"
height="40"
alt="SatsetJS"
/>
The ultra-fast React framework + build tool for people who hate complexity.
SSR • SSG • ISR • File-based Routing • API Routes • Middleware • RSC • Esbuild
$3- ✅ Server Side Rendering (SSR) - ✅ Static Site Generation (SSG) - ✅ Incremental Static Regeneration (ISR) - ✅ File-based Routing - ✅ Built-in API Routes - ✅ Middleware Support - ✅ Automatic Code Splitting - ✅ SEO Friendly by Default - ✅ App Router (React Server Components) |
$3- 🚀 Extremely Fast Cold Server Start - ⚡ Instant Hot Module Replacement (HMR) - 🧩 Esbuild Dev Server - 🏗️ Esbuild-based Production Build - 📦 Optimized Dependency Pre-bundling - 🟦 TypeScript + JSX Support - 🪶 Lightweight & Minimalist - 🔧 Flexible Configuration - 🌍 Framework Agnostic (for now: React only) |
bash
npm i -g satsetjs
or use npx:
bash
Copy code
npx satsetjs create my-app
🚀 Quick Start
Create a project:
bash
Copy code
satsetjs create my-app
cd my-app
Run dev server:
bash
Copy code
satsetjs dev
Build for production:
bash
Copy code
satsetjs build
Start production server:
bash
Copy code
satsetjs start
`
🗂️ Project Structure
SatsetJS uses file-based routing, so your project stays simple:
`
my-app/
src/
page.tsx → /
about/
page.tsx → /about
blog/
[slug]/
page.tsx → /blog/:slug
api/
hello.ts → /api/hello
satset.config.ts
package.json
`
🧭 Routing (File-based)
Example: src/page.tsx
`
export default function Page() {
return (
Welcome to SatsetJS ⚡
Ship fast. Stay sane.
)
}
`
Dynamic routes:
src/blog/[slug]/page.tsx → /blog/:slug
🧱 API Routes
Example: src/api/route.ts
`
export async function GET() {
return new Response(JSON.stringify({ message: "Hello from SatsetJS API ⚡" }), {
headers: { "Content-Type": "application/json" },
})
}
`
Then hit:
GET /api/hello
🛡️ Middleware
Example: src/middleware.ts
`
export function middleware(req: Request) {
// example: add headers, auth, redirects, etc.
return req
}
`
🧊 SSR / SSG / ISR (Concept)
SatsetJS supports:
SSR for dynamic pages
SSG for fast static output
ISR to refresh static pages without rebuilding everything
Docs coming soon: https://satsetjs.dev/docs/rendering
⚙️ Configuration
Create: satset.config.ts
`
import { defineConfig } from 'satset-react';
export default defineConfig({
server: {
host: true,
port: 3000,
},
assets: {
favicon: '/favicon.png',
},
resolve: {
alias: {
'@': './src',
},
},
});
`
✅ Why SatsetJS?
Because you want:
Next-level speed ✅
Not a 300-file config tutorial ✅
Modern React routing + RSC support ✅
SEO-ready SSR/SSG/ISR ✅
Build tool included ✅
🧪 Scripts
Common commands:
`
satsetjs dev # start dev server
satsetjs build # build production
``
Built with ⚡ speed, 🧠 sanity, and 🧱 clean architecture.