Thriving Thriving TypeScript TS
↑ 83 ?
spfn fxylabs/spfn

Take your AI-built app from prototype to production. A TypeScript full-stack framework for Next.js apps built with AI coding agents: every feature is one fixed vertical slice — entity, repository, route, router — so an agent cannot invent a different shape each time. Auth, storage, jobs and MCP ship as packages.

https://superfunction.xyz ↗
HEALTH ? 100 / Healthy
// hidden gem backenddrizzleframeworkhonorest-apitypeboxtypescriptfullstacknextjspostgresql ?

// readme

Superfunction (SPFN)

Take your AI-built app from prototype to production

📖 superfunction.xyz — docs, package guides, and a full-stack tutorial.

spfn create --mode full wires the baseline into one application — core (server, database, routes, codegen, typed client), auth (sessions, social login, authorization), i18n (translation catalogs), and ops (your own operations, run from the terminal with spfn ops, instead of an admin dashboard). Everything else is installed only when you reach for it.

What is SPFN?

SPFN (Superfunction) is a TypeScript full-stack framework for products built with AI coding agents. A Next.js app handles the frontend; an SPFN backend — built on Hono, PostgreSQL and Drizzle ORM — handles the server side, either as its own long-lived process or as serverless functions on the same origin. Requests are validated with TypeBox and reach the browser through a typed client, so a route’s input and output types are the same object on both sides.

What makes it different from a stack you assemble yourself is that the shape is fixed. Every feature is one vertical slice with the same four parts in the…