/** * How Stacks compares to the frameworks people actually weigh it against. * * Same arrangement as features.ts and use-cases.ts: one list, read by the * Compare mega menu, the /compare overview, and the /compare/:slug pages. * * Two rules for the copy in here, because a comparison page that breaks them * is worth less than no comparison page at all: * * 1. Every entry states where the other framework is the better choice, in * its own section, before it states where Stacks is. `verdict.pickThem` * is not optional and is not a hedge. * 2. Claims are about what ships in the box, which is checkable, rather * than about speed or quality, which is not. * * `matrix` is the shape of the table on /compare: for each capability, is it * in the box (`built-in`), there but needing assembly or a paid or community * add-on (`partial`), or yours to choose and wire (`byo`). It describes the * default path a team takes, not the theoretical ceiling: almost anything can * be added to almost anything given enough time. */ export type MatrixLevel = 'built-in' | 'partial' | 'byo' | 'hosted' export interface ComparisonMatrix { auth: MatrixLevel orm: MatrixLevel jobs: MatrixLevel mail: MatrixLevel admin: MatrixLevel realtime: MatrixLevel deploy: MatrixLevel updates: MatrixLevel mailbox: MatrixLevel } export interface ComparisonPoint { title: string text: string } export interface ComparisonRow { dimension: string stacks: string other: string } export interface ComparisonSource { /** What the link backs up, in a few words. */ label: string url: string } /** * What the claims about the other side were checked against, and when * (stacksjs/stacks#2932). * * "X cannot do Y" ages badly, and a reader who already suspects a comparison * written by one side has every reason to check. So each page names the * release it describes, the day it was checked, and the other project's own * pages the claims rest on, and shows all three. */ export interface ComparisonCheck { /** The release the page describes, spelled the way the other project does. */ version: string /** The day the claims were last checked against the sources, YYYY-MM-DD. */ on: string sources: ComparisonSource[] } export interface Comparison { slug: string /** The other framework, spelled the way its own docs spell it. */ name: string /** One line for the menu and the overview card. */ blurb: string /** Short category label, shown under the name. */ kind: string language: string icon: string group: 'fullstack' | 'backends' | 'ecosystems' matrix: ComparisonMatrix checked: ComparisonCheck page: { headline: string lede: string /** A fair description of the other framework, in its own terms. */ summary: string /** Where the other one is the better answer. Never empty. */ theirStrengths: ComparisonPoint[] ourStrengths: ComparisonPoint[] rows: ComparisonRow[] migration: ComparisonPoint[] verdict: { pickThem: string, pickStacks: string } /** Slugs of other comparisons. */ related: string[] } } export const comparisonGroups = [ { id: 'fullstack', title: 'Full-stack JS', text: 'Frameworks that render pages and own a routing layer.' }, { id: 'backends', title: 'TypeScript backends', text: 'Server frameworks you would build an API or a service on.' }, { id: 'ecosystems', title: 'Other ecosystems', text: 'The mature stacks outside TypeScript, and the hosted platforms.' }, ] as const /** The capability rows of the /compare table, in order. */ export const matrixDimensions = [ { id: 'auth', title: 'Auth and roles' }, { id: 'orm', title: 'ORM and migrations' }, { id: 'jobs', title: 'Queues and jobs' }, { id: 'mail', title: 'Transactional mail' }, { id: 'admin', title: 'Admin dashboard' }, { id: 'realtime', title: 'Realtime' }, { id: 'deploy', title: 'Deploy and infrastructure' }, { id: 'updates', title: 'Automated updates' }, { id: 'mailbox', title: 'Own mail server' }, ] as const /** What each level means, spelled out under the table rather than in a legend nobody reads. */ export const matrixLegend = [ { level: 'built-in', label: 'In the box', text: 'Ships with the framework and is documented as the way to do it.' }, { level: 'partial', label: 'Partly', text: 'Available, but through an official add-on, a paid product, or a well-known community package.' }, { level: 'byo', label: 'Bring your own', text: 'Not provided by the framework. You choose a library and wire it up.' }, { level: 'hosted', label: 'Hosted service', text: 'Provided, but as a managed service you consume rather than code you run.' }, ] as const /** Stacks own row, shown first in the table. */ export const stacksMatrix: ComparisonMatrix = { auth: 'built-in', orm: 'built-in', jobs: 'built-in', mail: 'built-in', admin: 'built-in', realtime: 'built-in', deploy: 'built-in', updates: 'built-in', mailbox: 'built-in', } /* * The mail server is the one capability no framework on these pages ships: * an SMTP and IMAP server with real mailboxes on your own domain, provisioned * by `buddy mail:provision` with its MX, SPF, DKIM and DMARC records, on the * same box as the app. Everyone else sends through a provider and reads mail * in a hosted inbox billed per seat. Rails' Action Mailbox is the nearest * thing and it is not one: it processes inbound mail a provider relays. * * So it is a matrix column, a row on every page, and a strength on every page * but Laravel's, which carries its own longer version of the same point. */ const mailServerStrength: ComparisonPoint = { title: 'Your own mail server', text: 'Stacks ships an SMTP and IMAP server, so hello@ and support@ on your domain are real mailboxes on your own box, readable in Mail.app or any client. buddy mail:provision creates them and their MX, SPF, DKIM, and DMARC records. None of the frameworks compared here ships one.', } function mailServerRow(other: string): ComparisonRow { return { dimension: 'Mail server', stacks: 'Built in: SMTP, IMAP, real mailboxes', other } } /* * Staying current is the other job every framework leaves to you. Some ship * an upgrade command or codemods for their own majors (Next.js, Nuxt, * SvelteKit, Astro, Nest, Rails), Laravel's is Shift, a paid third-party * service, and the dependency bot is always a separate thing to set up. * A new Stacks app has both on day one: buddy-bot's workflow and config are * scaffolded into it, and buddy upgrade moves the framework itself. * * Dependabot and Renovate are free and good, so the claim is that it is * configured and included, not that nobody else can have it. Laravel's page * and the T3 page carry their own versions of the point. */ const updatesStrength: ComparisonPoint = { title: 'Automated updates, included', text: 'Every new Stacks app ships with buddy-bot configured: dependency pull requests every two hours, a Dependency Dashboard issue that tracks them, and stale ones closed once their bump lands. buddy upgrade moves the framework itself, with its dependencies, migrations, and CI, to the next release after a dry run. Nothing to buy and nothing to wire up.', } function updatesRow(other: string): ComparisonRow { return { dimension: 'Automated updates', stacks: 'Built in: buddy-bot pull requests, buddy upgrade', other } } export const comparisons: Comparison[] = [ { slug: 'nextjs', name: 'Next.js', blurb: 'The React meta-framework. Stacks answers the backend questions Next.js deliberately leaves open.', kind: 'React meta-framework', language: 'TypeScript', icon: 'i-hugeicons-layers-01', group: 'fullstack', matrix: { auth: 'byo', orm: 'byo', jobs: 'byo', mail: 'byo', admin: 'byo', realtime: 'byo', deploy: 'partial', updates: 'partial', mailbox: 'byo' }, checked: { version: 'Next.js 16.4', on: '2026-10-29', sources: [ { label: 'Next.js 16.4 release notes', url: 'https://nextjs.org/blog/next-16-4' }, { label: 'Next.js 16: Cache Components', url: 'https://nextjs.org/blog/next-16' }, { label: 'The Adapter API, stable since 16.2', url: 'https://nextjs.org/docs/app/api-reference/config/next-config-js/adapterPath' }, { label: 'Upgrading with @next/codemod', url: 'https://nextjs.org/docs/app/guides/upgrading/codemods' }, { label: 'next/font', url: 'https://nextjs.org/docs/app/api-reference/components/font' }, ], }, page: { headline: 'Next.js decides how your pages render. Stacks decides the rest too.', lede: 'Next.js is a rendering framework with route handlers attached. Everything behind the request, the database layer, the auth, the queue, the mail, the admin, is a decision you make and maintain. Stacks makes those decisions and ships them typed against each other.', summary: 'Next.js is the default way to build a React application in 2026. App Router, server components, streaming, and the image and font pipelines are excellent, the ecosystem is the largest in the space, and Vercel makes deploying a React app close to effortless. It is a front end framework that grew server capabilities, and it is honest about stopping where your data layer starts.', theirStrengths: [ { title: 'The React ecosystem', text: 'React\'s ecosystem is the largest there is, and a Next.js app leans on it: one library for auth, another for the database, another for email, another for jobs. Stacks ships all of those in the box, so the ecosystem you need is the one you already installed.' }, { title: 'Server components and streaming', text: 'React Server Components have the longest production record for partial rendering. STX has server components, streaming, and islands too, with the data layer already underneath instead of left for you to choose.' }, { title: 'Vercel', text: 'Vercel makes hosting a front end effortless, then meters it per seat, request, and function. Stacks deploys the whole product, front end, API, workers, and database, to a Hetzner box, AWS, or any Linux server you own, with one command.' }, { title: 'Asset pipelines', text: 'next/font and next/image are polished and heavily used. STX has an Image component with srcset and WebP/AVIF output and fonts declared in config, next to the rest of what a product needs.' }, ], ourStrengths: [ { title: 'The backend is not an exercise', text: 'Models, migrations, auth, roles, queues, mail, storage, search, realtime, and an admin dashboard are in the install, not in a list of packages to evaluate.' }, { title: 'One type graph', text: 'A model attribute, the action that writes it, the route that exposes it, and the view that renders it are typed against each other, so a rename is a compile error rather than a runtime surprise.' }, { title: 'Infrastructure in the repository', text: 'config/cloud.ts describes the servers, DNS, certificates, and mail records, and buddy deploy applies them to infrastructure you own. Nothing about production is configured in a console, there is no platform fee, and one small box can run several apps.' }, { title: 'No build config to own', text: 'STX compiles single-file components on the server without a bundler configuration surface, and buddy dev runs every surface at once.' }, mailServerStrength, updatesStrength, ], rows: [ { dimension: 'Rendering model', stacks: 'SSR, SSG with ISR, SPA mode, streaming, islands, server components', other: 'React server and client components, streaming, Cache Components (PPR)' }, { dimension: 'Data layer', stacks: 'First-party ORM, models drive migrations', other: 'Choose Prisma, Drizzle, Kysely, or raw SQL' }, { dimension: 'Auth', stacks: 'Sessions, tokens, passkeys, 2FA, RBAC, gates included', other: 'Better Auth, Auth.js, Clerk, or a service' }, { dimension: 'Background work', stacks: 'Queues, jobs, batches, schedules, workers included', other: 'Inngest, Trigger.dev, QStash, or your own worker' }, { dimension: 'Admin surface', stacks: 'Dashboard generated from your models', other: 'Build it, or buy Retool or similar' }, { dimension: 'Runtime', stacks: 'Bun today, more runtimes planned', other: 'Node.js, with edge and Bun support varying by feature' }, { dimension: 'Hosting', stacks: 'Driver-based: Hetzner, AWS, or any Linux box over SSH', other: 'Vercel first, with a stable adapter API for other hosts' }, { dimension: 'Language surface', stacks: 'TypeScript everywhere, including infrastructure', other: 'TypeScript, plus whatever your backend services use' }, mailServerRow('None; inboxes come from a hosted provider'), updatesRow('@next/codemod upgrade for releases; a dependency bot is yours to set up'), ], migration: [ { title: 'Keep Next.js on the front, put Stacks behind it', text: 'A Stacks API with generated OpenAPI and a typed client is a normal thing for a Next.js app to consume. This is the lowest-risk way to try it.' }, { title: 'Views are the real port', text: 'Route handlers and data access map over cleanly. STX has its own JSX runtime, so presentational JSX can come across, but anything built on React hooks or React libraries is a rewrite.' }, { title: 'Start with the workloads', text: 'Moving queues, mail, and cron out of a Next.js app into Stacks is usually the first thing that pays for itself.' }, ], verdict: { pickThem: 'Your team is all in on React, and you are happy to assemble the backend yourself: auth, a database, queues, mail, and hosting, each from a different vendor. Next.js is a strong front end to build that stack around.', pickStacks: 'You are tired of assembling and maintaining the backend half yourself, and you would rather have one typed application with the queue, the mail, the admin, and the deploy already in it, running on servers you own.', }, related: ['t3-stack', 'remix', 'nuxt'], }, }, { slug: 'nuxt', name: 'Nuxt', blurb: 'Vue meta-framework with a strong module ecosystem. Stacks brings the application layer under it.', kind: 'Vue meta-framework', language: 'TypeScript', icon: 'i-hugeicons-layers-02', group: 'fullstack', matrix: { auth: 'partial', orm: 'partial', jobs: 'byo', mail: 'partial', admin: 'byo', realtime: 'partial', deploy: 'partial', updates: 'partial', mailbox: 'byo' }, checked: { version: 'Nuxt 4.6', on: '2026-10-29', sources: [ { label: 'Nuxt 4.6, which adds sessions', url: 'https://nuxt.com/blog/v4-6' }, { label: 'NuxtHub Database, on Drizzle', url: 'https://hub.nuxt.com/docs/database' }, { label: 'Nitro scheduled tasks, marked experimental', url: 'https://nitro.build/guide/tasks' }, { label: 'The nuxt upgrade command', url: 'https://nuxt.com/docs/4.x/api/commands/upgrade' }, { label: 'The Nuxt 4 upgrade guide and its codemods', url: 'https://nuxt.com/docs/4.x/getting-started/upgrade' }, ], }, page: { headline: 'Nuxt has the best module ecosystem in the space. Stacks has the application in the box.', lede: 'Nuxt covers more of the stack than most meta-frameworks: Nitro gives it a real server, and there is a module for nearly everything. The difference is that a Nuxt application is assembled out of modules you selected, and a Stacks application is one thing that already fits together.', summary: 'Nuxt is the Vue answer to the meta-framework question, and it is a good one. File-based routing, auto-imports, layers, and a huge module registry cover auth, content, images, SEO, and testing. Nitro deploys the same application to Node, Deno, Bun, Cloudflare, and Lambda from one build, which is a genuinely useful property that Stacks does not match.', theirStrengths: [ { title: 'Deployment portability', text: 'Nitro presets target a dozen hosting platforms. Stacks takes the other road: one command deploys the whole product, app, API, workers, and mail, to Hetzner, AWS, or any server you can reach over SSH.' }, { title: 'The module registry', text: 'Nuxt has hundreds of community modules, and a production app needs a lot of them. In Stacks, auth, the CMS, queues, mail, search, and the dashboard are first-party and built in, so there is far less to install and keep in step.' }, { title: 'Vue', text: 'If your team writes Vue, single-file components and the composition API are a real productivity story. STX reads Vue-style template syntax and adds signals, server rendering, and a backend in the same project.' }, { title: 'Content and SEO tooling', text: 'Nuxt Content and the SEO modules are mature for documentation and marketing sites. Stacks ships a CMS, a blog, docs, sitemaps, and structured data without adding a module.' }, ], ourStrengths: [ { title: 'One decision instead of twenty', text: 'Auth, ORM, jobs, mail, storage, and admin arrive together and are maintained together, rather than as modules that version independently.' }, { title: 'A real data layer', text: 'defineModel() drives schema, validation, factories, relationships, and generated migrations. Nuxt leaves the schema and migrations to a module such as NuxtHub, or to you.' }, { title: 'Background work and mail', text: 'Queues, batches, schedules, and transactional mail are framework features, not a service you add.' }, { title: 'Infrastructure as reviewed code', text: 'DNS, TLS, CDN, and mail records live in config/cloud.ts and ship with buddy deploy.' }, mailServerStrength, updatesStrength, ], rows: [ { dimension: 'View layer', stacks: 'STX single-file components: SSR, SSG, islands, signals', other: 'Vue single-file components' }, { dimension: 'Server', stacks: 'Bun server, routes, actions, middleware', other: 'Nitro server routes' }, { dimension: 'Data layer', stacks: 'First-party ORM and model-driven migrations', other: 'Drizzle via NuxtHub, or Prisma and others' }, { dimension: 'Auth', stacks: 'Included, with RBAC, passkeys and 2FA', other: 'Built-in sessions (4.6), plus nuxt-auth-utils or a service' }, { dimension: 'Background work', stacks: 'Queues, jobs, schedules, workers included', other: 'Scheduled tasks in Nitro (experimental), otherwise your own' }, { dimension: 'Admin surface', stacks: 'Generated from your models', other: 'Build it yourself' }, { dimension: 'Deploy targets', stacks: 'Driver-based: Hetzner, AWS, or any SSH box', other: 'Many platforms through Nitro presets' }, { dimension: 'Auto-imports', stacks: 'Models and jobs on the server, composables in views', other: 'Components, composables, and utilities' }, mailServerRow('None; inboxes come from a hosted provider'), updatesRow('nuxt upgrade, and codemods for the move to 4; a dependency bot is yours to set up'), ], migration: [ { title: 'Nuxt on the front, Stacks behind', text: 'Point a Nuxt app at a Stacks API, its typed client, or its OpenAPI spec. Nothing about the front end has to change.' }, { title: 'Templates and composables translate, libraries do not', text: 'STX understands Vue template syntax (v-if, v-for, v-model) and its signals and composables cover much of the same ground, so markup ports well. Code that leans on Vue-specific libraries is the rewrite.' }, { title: 'Move the server routes first', text: 'Nitro route handlers with real database work are the pieces that gain the most from moving into actions and models.' }, ], verdict: { pickThem: 'You are a Vue team that wants a front end first, and you are comfortable choosing modules for auth, data, jobs, and mail and keeping them in step. Nuxt is a capable meta-framework for exactly that.', pickStacks: 'The parts you keep adding modules for, auth, database, jobs, mail, admin, are the parts you would rather have as one maintained thing.', }, related: ['nextjs', 'sveltekit', 'adonisjs'], }, }, { slug: 'sveltekit', name: 'SvelteKit', blurb: 'Small bundles and a lovely reactivity model. Stacks adds everything behind the load function.', kind: 'Svelte meta-framework', language: 'TypeScript', icon: 'i-hugeicons-flash', group: 'fullstack', matrix: { auth: 'partial', orm: 'partial', jobs: 'byo', mail: 'byo', admin: 'byo', realtime: 'byo', deploy: 'partial', updates: 'partial', mailbox: 'byo' }, checked: { version: 'SvelteKit 3.1', on: '2026-10-29', sources: [ { label: 'Official adapters, Bun included', url: 'https://svelte.dev/docs/kit/adapters' }, { label: 'sv add, with drizzle and better-auth', url: 'https://svelte.dev/docs/cli/sv-add' }, { label: 'Remote functions, marked experimental', url: 'https://svelte.dev/docs/kit/remote-functions' }, { label: 'sv migrate, including SvelteKit 3', url: 'https://svelte.dev/docs/cli/sv-migrate' }, ], }, page: { headline: 'SvelteKit ships the least JavaScript. Stacks ships the most application.', lede: 'SvelteKit is the most elegant front end story in this comparison and the most deliberately minimal backend one. Load functions, form actions, and adapters are the whole server surface; the database, the auth, the queue, and the admin are yours to select.', summary: 'Svelte compiles components away, so the runtime a browser downloads is small, and runes made the reactivity model clearer still. SvelteKit adds file routing, load functions, form actions with progressive enhancement, and adapters for many hosts. Teams that value bundle size and template ergonomics rate it highest of the meta-frameworks, and that judgement is well founded.', theirStrengths: [ { title: 'Bundle size and runtime cost', text: 'Compiled components with no virtual DOM keep bundles small on constrained devices. STX sends no client runtime to a page that does not need one, and server renders the rest.' }, { title: 'Progressive enhancement', text: 'Form actions that work without JavaScript are first-class in SvelteKit. Stacks forms post to real server actions too, with validation and redirects handled for you.' }, { title: 'Ergonomics', text: 'Runes and Svelte\'s template syntax are pleasant to write every day. STX has the same feel with signals and directives, and sits on a backend you do not have to build.' }, { title: 'Adapters', text: 'One adapter change moves SvelteKit between Cloudflare, Vercel, Netlify, and Node. Stacks deploys the full product, database and workers included, to your own servers with one command.' }, ], ourStrengths: [ { title: 'The half SvelteKit leaves out', text: 'Models, migrations, auth, roles, queues, mail, storage, search, and an admin dashboard are already there and already typed together.' }, { title: 'Server-first rendering with signals', text: 'STX renders on the server, streams with suspense, and hydrates only the islands you mark (@client:load, idle, visible) with signals, so most application interfaces ship little client JavaScript.' }, { title: 'Operations included', text: 'Failed jobs, captured mail, deployment status, and logs are dashboard pages rather than terminal sessions.' }, { title: 'One deploy command', text: 'buddy deploy builds every surface and publishes the infrastructure that serves it.' }, mailServerStrength, updatesStrength, ], rows: [ { dimension: 'View layer', stacks: 'STX components: SSR, SSG, islands, signals', other: 'Svelte components, compiled, client hydration' }, { dimension: 'Server surface', stacks: 'Routes, actions, middleware, jobs, events', other: 'Load functions, form actions, hooks, remote functions (experimental)' }, { dimension: 'Data layer', stacks: 'First-party ORM and generated migrations', other: 'Drizzle via sv add, or your own' }, { dimension: 'Auth', stacks: 'Included', other: 'Better Auth via sv add, or a service' }, { dimension: 'Background work', stacks: 'Included', other: 'Bring your own worker' }, { dimension: 'Admin surface', stacks: 'Generated from models', other: 'Build it yourself' }, { dimension: 'Hosting', stacks: 'Driver-based: Hetzner, AWS, or any Linux box over SSH', other: 'Adapter per platform' }, { dimension: 'Bundle weight', stacks: 'Small, but not compiled away', other: 'Smallest of the meta-frameworks' }, mailServerRow('None; inboxes come from a hosted provider'), updatesRow('sv migrate for majors; a dependency bot is yours to set up'), ], migration: [ { title: 'Keep the front end', text: 'A SvelteKit app in front of a Stacks API loses nothing and gains a typed backend immediately.' }, { title: 'Load functions become actions', text: 'The data-fetch-per-route shape maps closely onto Stacks actions.' }, { title: 'Expect to rewrite templates', text: 'Svelte components do not port to STX. Plan a page at a time rather than a big-bang rewrite.' }, ], verdict: { pickThem: 'The interface is the product, bundle size is the metric that matters most, and you are happy to choose and wire every backend piece yourself. SvelteKit is excellent at that front end job.', pickStacks: 'The backend decisions are the ones eating your time, and you want them made, maintained, and typed against your views.', }, related: ['nextjs', 'nuxt', 'astro'], }, }, { slug: 'remix', name: 'React Router (Remix)', blurb: 'Remix v2 lives on as React Router framework mode. Stacks shares its web-standards philosophy and ships more of the stack.', kind: 'React meta-framework', language: 'TypeScript', icon: 'i-hugeicons-structure-03', group: 'fullstack', matrix: { auth: 'byo', orm: 'byo', jobs: 'byo', mail: 'byo', admin: 'byo', realtime: 'byo', deploy: 'partial', updates: 'partial', mailbox: 'byo' }, checked: { version: 'React Router 8.5', on: '2026-10-29', sources: [ { label: 'React Router v8, and what breaks', url: 'https://remix.run/blog/react-router-v8' }, { label: 'React Router 8.5.1 on npm', url: 'https://www.npmjs.com/package/react-router' }, { label: 'Remix 3.1 on npm, with its own component, auth, session, and data packages', url: 'https://www.npmjs.com/package/remix' }, { label: 'The Remix blog: React Router 8 and the Remix 3 releases', url: 'https://remix.run/blog' }, ], }, page: { headline: 'Remix bet on the platform. Stacks makes the same bet and keeps going past the request.', lede: 'Loaders, actions, forms, and nested routes are a genuinely good model, and Stacks shares most of the philosophy: server first, HTML first, no state library needed to show a list of rows. The difference is what happens after the response, where Remix stops and Stacks has a queue, a mailer, a scheduler, and an admin.', summary: 'Remix v2 became the framework mode of React Router 7, and React Router 8 (June 2026) continues it, with breaking changes small enough to make in v7 first. The Remix name now belongs to Remix 3, a separate full-stack framework with its own auth, sessions, and database integrations, built on its own component model rather than React and stable since October 2026; this page compares the React Router path. It is built around web standards: Request and Response, forms that post, nested routes that own their data and their errors. It runs anywhere a fetch handler runs, and the mental model is smaller than most of its peers. Teams that adopted it rarely wanted to go back to client-side data fetching, and that is a strong signal.', theirStrengths: [ { title: 'Nested routing and error boundaries', text: 'Data, pending state, and errors scoped per route segment is a strong model. Stacks gives you layouts, @errorBoundary blocks, and typed actions, with the data layer already underneath.' }, { title: 'Standards all the way down', text: 'Request, Response, FormData, and fetch all the way down. Stacks runs on the same web standards on Bun, so that knowledge carries straight over.' }, { title: 'React and its ecosystem', text: 'The component libraries, the tooling, and the hiring pool. With Stacks you need fewer of them: the backend pieces a React Router app pulls in from npm are already built in.' }, { title: 'Runs almost anywhere', text: 'Any platform with a fetch handler will host it, including workers and edge runtimes. Stacks deploys to servers you own, with the database, queues, and mail beside the app.' }, ], ourStrengths: [ { title: 'A data layer, not a loader', text: 'Remix tells you where to fetch data. Stacks gives you the models, the migrations, the validation, and the factories that produce it.' }, { title: 'Work after the response', text: 'Queues, schedules, events, mail, and notifications are first-party, so the slow half of the application has somewhere to live.' }, { title: 'Auth and roles included', text: 'Sessions, tokens, passkeys, two-factor, RBAC, and policies rather than a per-project auth assembly.' }, { title: 'Deploy from config', text: 'The infrastructure that runs it is described in the repository and applied by one command.' }, mailServerStrength, updatesStrength, ], rows: [ { dimension: 'Routing', stacks: 'File and code routes, groups, model binding', other: 'Nested file routes with per-segment data' }, { dimension: 'Mutations', stacks: 'Actions with model-declared validation', other: 'Route actions with FormData' }, { dimension: 'Data layer', stacks: 'First-party ORM', other: 'Choose your own' }, { dimension: 'Auth', stacks: 'Included', other: 'remix-auth or a service' }, { dimension: 'Background work', stacks: 'Included', other: 'Bring your own' }, { dimension: 'Views', stacks: 'STX: SSR, streaming, islands, signals', other: 'React, server-rendered and hydrated' }, { dimension: 'Admin surface', stacks: 'Generated from models', other: 'Build it yourself' }, { dimension: 'Deploy', stacks: 'buddy deploy to Hetzner, AWS, or an SSH box', other: 'Any fetch-handler host' }, mailServerRow('None; inboxes come from a hosted provider'), updatesRow('Codemods and future flags for majors; a dependency bot is yours to set up'), ], migration: [ { title: 'The shapes line up', text: 'Loaders become read actions, route actions become write actions, and the validation moves onto the model.' }, { title: 'Sessions and auth transfer conceptually', text: 'Cookie sessions and redirect-on-unauthenticated work the same way; the implementation is provided rather than assembled.' }, { title: 'Components are the cost', text: 'React components are the part that does not port. Consider keeping React Router on the front while the backend moves.' }, ], verdict: { pickThem: 'You want React with a standards-based server model, nested routing with per-segment data is worth building around, and you will bring your own database, auth, queues, and mail.', pickStacks: 'You like that philosophy but want the database, the queue, the mail, and the admin to come with it.', }, related: ['nextjs', 'sveltekit', 't3-stack'], }, }, { slug: 'astro', name: 'Astro', blurb: 'The best content site framework there is. Stacks is for when the site becomes an application.', kind: 'Content-first framework', language: 'TypeScript', icon: 'i-hugeicons-note-edit', group: 'fullstack', matrix: { auth: 'byo', orm: 'byo', jobs: 'byo', mail: 'byo', admin: 'byo', realtime: 'byo', deploy: 'partial', updates: 'partial', mailbox: 'byo' }, checked: { version: 'Astro 7.4', on: '2026-10-29', sources: [ { label: 'Astro DB, removed in Astro 7.0', url: 'https://docs.astro.build/en/guides/astro-db/' }, { label: 'Sessions, built in since 5.7', url: 'https://docs.astro.build/en/guides/sessions/' }, { label: 'Cloudflare acquires Astro, January 2026', url: 'https://www.businesswire.com/news/home/20260116386991/en' }, { label: '@astrojs/upgrade', url: 'https://www.npmjs.com/package/@astrojs/upgrade' }, ], }, page: { headline: 'Astro is right about content sites. Stacks is for the day it stops being one.', lede: 'For a marketing site, a blog, or documentation, Astro is hard to beat: almost no client JavaScript, content collections with type-checked frontmatter, and islands only where you need interactivity. Stacks is not trying to win that comparison. It is the answer when the site grows accounts, a dashboard, and a queue.', summary: 'Astro ships zero JavaScript by default, lets you drop React, Vue, or Svelte components in as islands, and has the most pleasant content pipeline in the ecosystem. Content collections, image optimisation, and the integrations catalogue make a docs or marketing site fast to build and fast to load. Actions, sessions, and on-demand rendering have extended it toward applications, but content remains its centre of gravity. Since January 2026 the Astro team has been part of Cloudflare, with the framework kept open source and multi-platform.', theirStrengths: [ { title: 'Content sites, decisively', text: 'Content collections, MDX, and a light image pipeline make Astro excellent for a pure content site. Stacks covers content too, with a CMS, a blog, and docs, and keeps going when the site needs accounts or payments.' }, { title: 'Bring any component library', text: 'React, Vue, Svelte, and Solid islands in one project is a useful escape hatch. STX has islands of its own, and the server side to go with them.' }, { title: 'Static output', text: 'A fully static build on a CDN is operationally simple. Stacks serves its pages from the same deploy as the API, the jobs, and the database, so a dynamic feature is never a second project.' }, { title: 'Integrations catalogue', text: 'Sitemaps, RSS, analytics, and search are usually one integration away in Astro. In Stacks they are already in the box.' }, ], ourStrengths: [ { title: 'It is an application framework', text: 'Accounts, roles, billing, background work, and an admin dashboard are the things Astro is not trying to be.' }, { title: 'A CMS you own', text: 'Posts, authors, categories, and comments are models with an editing surface, rather than markdown a developer commits.' }, { title: 'Dynamic and static together', text: 'Marketing pages, a docs site, a blog, and an authenticated product live in one project and one deploy.' }, { title: 'Infrastructure and mail', text: 'DNS, certificates, CDN, and transactional mail come from the same config the app reads.' }, mailServerStrength, updatesStrength, ], rows: [ { dimension: 'Primary use', stacks: 'Applications that also have content', other: 'Content sites that sometimes have an island' }, { dimension: 'Default output', stacks: 'SSR, SSG with ISR, or SPA mode', other: 'Static HTML with optional server output' }, { dimension: 'Content authoring', stacks: 'CMS models plus markdown', other: 'Content collections in the repository' }, { dimension: 'Client JavaScript', stacks: 'Islands (@client:load, idle, visible) with signals', other: 'None unless you add an island' }, { dimension: 'Data layer', stacks: 'First-party ORM', other: 'Choose your own' }, { dimension: 'Auth', stacks: 'Included', other: 'Bring your own or a service' }, { dimension: 'Background work', stacks: 'Included', other: 'Not applicable' }, { dimension: 'Admin surface', stacks: 'Generated from models', other: 'A git-based or hosted CMS' }, mailServerRow('None; inboxes come from a hosted provider'), updatesRow('@astrojs/upgrade; a dependency bot is yours to set up'), ], migration: [ { title: 'Content moves cleanly', text: 'Markdown in content/ works much the same way, and frontmatter maps onto model attributes when you want an editing surface.' }, { title: 'Astro pages become STX views', text: 'The template shapes are similar enough that pages port faster than React or Vue components do.' }, { title: 'Consider keeping both', text: 'An Astro marketing site in front of a Stacks application is a sensible arrangement, and the shared palette is the only coupling.' }, ], verdict: { pickThem: 'The project is purely content, it is measured in page speed and publishing convenience, and you are confident it will never need accounts, payments, or background work.', pickStacks: 'There is a product behind the marketing site, or there will be, and you would rather not run two stacks to serve one brand.', }, related: ['nextjs', 'redwoodjs', 'sveltekit'], }, }, { slug: 'redwoodjs', name: 'RedwoodJS', blurb: 'Full-stack React and GraphQL, now split into Redwood GraphQL, RedwoodSDK, and the CedarJS fork. Different bets, same goal.', kind: 'Full-stack React', language: 'TypeScript', icon: 'i-hugeicons-structure-01', group: 'fullstack', matrix: { auth: 'built-in', orm: 'built-in', jobs: 'built-in', mail: 'built-in', admin: 'partial', realtime: 'partial', deploy: 'partial', updates: 'partial', mailbox: 'byo' }, checked: { version: 'Redwood GraphQL 8.9 and RedwoodSDK 1.7', on: '2026-10-29', sources: [ { label: 'From RedwoodJS to RedwoodSDK: the original stays supported', url: 'https://rwsdk.com/blog/redwoodjs-to-redwoodsdk' }, { label: 'The Redwood GraphQL repository', url: 'https://github.com/redwoodjs/graphql' }, { label: 'RedwoodSDK, a React framework for Cloudflare', url: 'https://docs.rwsdk.com/' }, { label: 'CedarJS and its upgrade path from Redwood', url: 'https://cedarjs.com/' }, { label: 'Uploads and storage, marked experimental', url: 'https://docs.redwoodjs.com/docs/uploads/' }, ], }, page: { headline: 'Same ambition, different bets.', lede: 'Redwood set out to be the full-stack framework JavaScript never had, and much of it landed: generators, cells, Prisma-backed services, auth providers, and background jobs. Stacks wants the same thing and made different choices about the runtime, the transport, and how much of the infrastructure belongs in the repository.', summary: 'RedwoodJS paired a React front end with a GraphQL services layer, Prisma for data, several auth providers, a mailer, background jobs, and generators that scaffold both halves of a feature. In 2025 the core team renamed it Redwood GraphQL and moved its focus to RedwoodSDK, a separate React Server Components framework built for Cloudflare, saying the original stays fully supported; its most recent release, 8.9, came in March 2026. The community continues the GraphQL framework as CedarJS. Its opinionated, batteries-included stance is still the closest philosophical neighbour Stacks has in JavaScript.', theirStrengths: [ { title: 'React and GraphQL maturity', text: 'If you want React on the front and a schema-first GraphQL API in the middle, Redwood has walked that path for years. Stacks is REST-first with typed routes, with no schema layer between you and your models.' }, { title: 'Prisma', text: 'Prisma is a widely known ORM with strong tooling, and Redwood is built around it. The Stacks ORM goes further: describe a model once and its migrations are generated for you.' }, { title: 'Established community', text: 'Redwood has shipped since 2020, and CedarJS continues the GraphQL framework with a documented upgrade path. Stacks answers with first-party breadth: a CMS, commerce, queues, mail, and deploys in the same install.' }, { title: 'Cells', text: 'The cell pattern for loading, empty, failure, and success states is a good idea for data-driven interfaces. Stacks views render on the server and arrive with their data.' }, ], ourStrengths: [ { title: 'One runtime', text: 'Bun for the server, the tests, the CLI, and the build today, with more runtimes planned and no separate bundler configuration to reconcile.' }, { title: 'More in the box', text: 'Notifications, SMS, push, search indexing, commerce, CMS, and an admin dashboard are first-party, and storage is a stable feature rather than an experimental one.' }, { title: 'Infrastructure included', text: 'DNS, TLS, CDN, and mail records are declared in config and applied by buddy deploy to servers you own, without a separate infrastructure tool. RedwoodSDK, by contrast, is built for Cloudflare.' }, { title: 'Model-driven migrations', text: 'Schema comes from the model definitions and is diffed into SQL, rather than being maintained in a separate schema file.' }, mailServerStrength, updatesStrength, ], rows: [ { dimension: 'Front end', stacks: 'STX components', other: 'React, with RSC in RedwoodSDK' }, { dimension: 'API transport', stacks: 'REST with generated OpenAPI', other: 'GraphQL (Redwood GraphQL, CedarJS), server functions in RedwoodSDK' }, { dimension: 'Data layer', stacks: 'First-party ORM, models drive migrations', other: 'Prisma schema drives migrations' }, { dimension: 'Auth', stacks: 'First-party sessions, tokens, passkeys, RBAC', other: 'dbAuth or a third-party provider' }, { dimension: 'Background jobs', stacks: 'Queues, batches, schedules, workers', other: 'Background jobs with a database queue' }, { dimension: 'Runtime', stacks: 'Bun today, more runtimes planned', other: 'Node.js, or Cloudflare Workers for RedwoodSDK' }, { dimension: 'Admin surface', stacks: 'Dashboard generated from models', other: 'Scaffold generators produce CRUD pages' }, { dimension: 'Infrastructure', stacks: 'Declared in config/cloud.ts', other: 'Deploy targets and your own IaC, Cloudflare for RedwoodSDK' }, mailServerRow('None; inboxes come from a hosted provider'), updatesRow('rw upgrade and codemods; a dependency bot is yours to set up'), ], migration: [ { title: 'Services become actions', text: 'A Redwood service function is close to a Stacks action: one job, typed input, typed result.' }, { title: 'Prisma schema becomes models', text: 'Each Prisma model maps to a defineModel() with attributes and relationships, after which migrations are generated for you.' }, { title: 'GraphQL consumers need a plan', text: 'Stacks is REST-first. A client depending on GraphQL needs either a gateway or a client rewrite.' }, ], verdict: { pickThem: 'You want React and GraphQL with an opinionated full-stack structure and Prisma underneath, which CedarJS now carries forward, or you want React Server Components on Cloudflare, which is what RedwoodSDK is for.', pickStacks: 'You want the same completeness but on Bun, over REST, with notifications, search, storage, an admin dashboard, and a deploy to servers you own included.', }, related: ['nextjs', 't3-stack', 'adonisjs'], }, }, { slug: 't3-stack', name: 'The T3 Stack', blurb: 'Best-in-class parts, assembled by you. Stacks is the same territory, maintained as one thing.', kind: 'Assembled stack', language: 'TypeScript', icon: 'i-hugeicons-puzzle', group: 'fullstack', matrix: { auth: 'partial', orm: 'partial', jobs: 'byo', mail: 'byo', admin: 'byo', realtime: 'byo', deploy: 'partial', updates: 'byo', mailbox: 'byo' }, checked: { version: 'create-t3-app 7.40 and tRPC 11', on: '2026-10-29', sources: [ { label: 'What create-t3-app scaffolds', url: 'https://create.t3.gg/en/introduction' }, { label: 'create-t3-app 7.40, with Better Auth templates', url: 'https://www.npmjs.com/package/create-t3-app' }, { label: 'tRPC 11: batching, subscriptions, TanStack Query', url: 'https://trpc.io/docs' }, ], }, page: { headline: 'A stack you assemble, or a framework that arrives assembled.', lede: 'T3 is Next.js, tRPC, Prisma or Drizzle, Tailwind, and NextAuth.js or Better Auth, chosen because each is the strongest in its category and typed end to end. It works. The cost is that you own the seams: five upgrade cadences, five sets of release notes, and every integration point is yours to keep working.', summary: 'The T3 Stack is less a framework than a well-argued set of defaults, delivered by create-t3-app. Its central insight, that types should flow from the database to the component without hand-written contracts, is correct and influential. tRPC in particular made typed calls without a code generation step feel normal.', theirStrengths: [ { title: 'Every part is best in class', text: 'Prisma, tRPC, and Tailwind are each excellent, and each is another dependency to choose, configure, and keep in step. Stacks ships the equivalents as one framework, tested together.' }, { title: 'tRPC end-to-end types', text: 'tRPC infers every procedure and adds batching, subscriptions, and TanStack Query. Stacks gives you typed routes and a typed client with no generation step, beside the ORM, auth, and queues tRPC leaves to you.' }, { title: 'Swap any piece', text: 'Nothing is welded together, so any layer can be swapped out. In Stacks the layers are designed together, which is why there is so little glue to write in the first place.' }, { title: 'Enormous shared knowledge', text: 'Every problem you hit has been hit publicly by thousands of others, usually at the seams between the tools. Stacks has far fewer seams to hit.' }, ], ourStrengths: [ { title: 'One upgrade, not five', text: 'The pieces version together, and buddy upgrade moves the whole application forward. buddy-bot comes configured in every new app, opening dependency pull requests every two hours with a dashboard issue to track them, so staying current is not a sixth thing to set up.' }, { title: 'The parts T3 does not cover', text: 'Queues, mail, storage, search, realtime, notifications, admin, and deploy are the ones you would otherwise choose next.' }, { title: 'One set of conventions', text: 'Where files go and how a feature is built is answered by the framework, so every project reads the same.' }, { title: 'Deploy and infrastructure', text: 'T3 ends at the application, and most teams then pick a hosting platform. Stacks provisions Hetzner or AWS, or adopts any Linux box over SSH, so the app and its data run on servers you control with no platform fee.' }, mailServerStrength, ], rows: [ { dimension: 'What it is', stacks: 'A framework', other: 'A curated set of libraries and a scaffolder' }, { dimension: 'API contract', stacks: 'REST, a typed client with no generation step, and OpenAPI', other: 'tRPC procedures typed directly' }, { dimension: 'Data layer', stacks: 'One model: schema, validation, factory, migrations', other: 'Prisma or Drizzle schema, migrations from their CLIs' }, { dimension: 'Auth', stacks: 'Included: passkeys, 2FA, social sign-in, RBAC', other: 'NextAuth.js or Better Auth, configured per project' }, { dimension: 'Background work', stacks: 'Included', other: 'Choose a service' }, { dimension: 'Mail and notifications', stacks: 'Included', other: 'Choose a provider and a library' }, { dimension: 'Upgrades', stacks: 'One framework version', other: 'Independent versions per library' }, { dimension: 'Ceiling on choice', stacks: 'Framework conventions, overridable per file', other: 'Anything you want, and anything you maintain' }, mailServerRow('None; inboxes come from a hosted provider'), updatesRow('Five packages, upgraded one by one, by hand or by a bot you set up'), ], migration: [ { title: 'Procedures become actions', text: 'A tRPC procedure and a Stacks action are the same unit of work with a different transport.' }, { title: 'Schema first', text: 'Port the Prisma or Drizzle schema into models, generate migrations, and check the diff against the existing database before running anything.' }, { title: 'Clients change transport', text: 'Existing tRPC clients move to the Stacks typed client, which keeps inferred types but changes the call shape, and is the largest single piece of the port.' }, ], verdict: { pickThem: 'You want maximum control over each layer, tRPC is the contract you want, and maintaining the seams is a price your team is happy to pay.', pickStacks: 'You would rather spend that maintenance budget on the product, and you want the layers T3 does not cover.', }, related: ['nextjs', 'redwoodjs', 'nestjs'], }, }, { slug: 'nestjs', name: 'NestJS', blurb: 'Structured TypeScript backends with dependency injection. Stacks trades DI for conventions.', kind: 'Backend framework', language: 'TypeScript', icon: 'i-hugeicons-server-stack-01', group: 'backends', matrix: { auth: 'partial', orm: 'partial', jobs: 'partial', mail: 'partial', admin: 'byo', realtime: 'partial', deploy: 'partial', updates: 'partial', mailbox: 'byo' }, checked: { version: 'NestJS 12.3', on: '2026-10-29', sources: [ { label: 'First steps, and the Node.js 20.19 requirement', url: 'https://docs.nestjs.com/first-steps' }, { label: 'Validation, with class-validator and Standard Schema', url: 'https://docs.nestjs.com/techniques/validation' }, { label: 'Deployment, and Mau on AWS', url: 'https://docs.nestjs.com/deployment' }, { label: '@nestjs/cli 12, including nest upgrade', url: 'https://www.npmjs.com/package/@nestjs/cli' }, ], }, page: { headline: 'Modules and injection, or models and conventions.', lede: 'NestJS brought Angular-style architecture to the Node backend and gave large teams something to standardise on. Stacks aims at the same problem from the Laravel direction: fewer abstractions to configure, more of the application already written, and no front end left as an exercise.', summary: 'Nest is the most widely adopted structured backend framework in TypeScript. Modules, providers, decorators, and dependency injection give large codebases a shape, and the official packages cover configuration, validation, queues via BullMQ, WebSockets, GraphQL, and microservice transports. It is deliberately unopinionated about the database and about the front end.', theirStrengths: [ { title: 'Dependency injection', text: 'For very large teams, constructor injection and testable providers are an architectural benefit. Stacks stays flatter: actions, models, and jobs you call and test directly.' }, { title: 'Microservice transports', text: 'gRPC, Kafka, NATS, RabbitMQ, and MQTT are first-class in Nest, which matters when the system is many services. Stacks is built for the other case: one application that already has everything it needs.' }, { title: 'Adoption and hiring', text: 'Nest is the familiar enterprise answer in Node. Stacks reads like the Laravel many engineers already know, in TypeScript, so a new hire is productive on day one.' }, { title: 'GraphQL', text: 'Code-first and schema-first GraphQL are properly supported, where Stacks is REST-first.' }, ], ourStrengths: [ { title: 'The database layer is answered', text: 'Nest leaves you to pick TypeORM, Drizzle, Prisma, MikroORM, or Sequelize. Stacks has one ORM, with migrations generated from the models.' }, { title: 'The front end is included', text: 'STX views, layouts, and assets are part of the same project rather than a separate application.' }, { title: 'Less ceremony per feature', text: 'A feature is a model, an action, and a route. There is no module, provider, and DTO scaffolding to write first.' }, { title: 'Operations and deploy', text: 'Admin dashboard, mail, storage, and search come with it, and buddy deploy provisions servers you own. The deploy path from the Nest team, Mau, is a managed platform on AWS.' }, mailServerStrength, updatesStrength, ], rows: [ { dimension: 'Architecture', stacks: 'Convention-based files, no container', other: 'Modules and dependency injection' }, { dimension: 'Data layer', stacks: 'First-party ORM, migrations from models', other: 'TypeORM, Drizzle, Prisma, MikroORM, or Sequelize' }, { dimension: 'Validation', stacks: 'Declared on model attributes', other: 'class-validator DTOs or Standard Schema' }, { dimension: 'Queues', stacks: 'Included, with drivers', other: '@nestjs/bullmq with Redis' }, { dimension: 'Front end', stacks: 'STX views in the same project', other: 'Separate application' }, { dimension: 'Admin surface', stacks: 'Generated from models', other: 'Build it yourself' }, { dimension: 'Runtime', stacks: 'Bun today, more runtimes planned', other: 'Node.js 20.19+' }, { dimension: 'Deploy', stacks: 'buddy deploy to Hetzner, AWS, or any SSH box', other: 'Mau (managed, on AWS) or your own containers' }, mailServerRow('None; inboxes come from a hosted provider'), updatesRow('nest upgrade for majors; a dependency bot is yours to set up'), ], migration: [ { title: 'Controllers become routes and actions', text: 'A controller method maps to a route pointing at an action; the decorators become route definitions.' }, { title: 'DTOs become model validation', text: 'class-validator rules move onto attribute validation, where the factory and the generated API also read them.' }, { title: 'Injection has no direct analogue', text: 'Services become plain modules or actions. Code leaning heavily on the container needs rethinking rather than translating.' }, ], verdict: { pickThem: 'You are building a large service estate, you need gRPC or message brokers, or your organisation already standardised on Nest and hires for it.', pickStacks: 'You are building one application rather than twelve services, and you want the data layer, the front end, and the operations tooling to come with the framework.', }, related: ['adonisjs', 'express', 't3-stack'], }, }, { slug: 'adonisjs', name: 'AdonisJS', blurb: 'The other Laravel-inspired TypeScript framework. The closest comparison on this page.', kind: 'Backend framework', language: 'TypeScript', icon: 'i-hugeicons-server-stack-02', group: 'backends', matrix: { auth: 'built-in', orm: 'built-in', jobs: 'partial', mail: 'built-in', admin: 'byo', realtime: 'partial', deploy: 'byo', updates: 'partial', mailbox: 'byo' }, checked: { version: 'AdonisJS 7', on: '2026-10-29', sources: [ { label: 'AdonisJS 7: Lucid schema generation and typed Inertia', url: 'https://adonisjs.com/blog/v7' }, { label: 'Installation, and the Node.js 24 requirement', url: 'https://docs.adonisjs.com/guides/getting-started/installation' }, { label: 'Authentication guards and Bouncer', url: 'https://docs.adonisjs.com/guides/auth/introduction' }, { label: 'Queues, marked experimental', url: 'https://docs.adonisjs.com/guides/digging-deeper/queues' }, { label: 'Transmit, server-sent events', url: 'https://docs.adonisjs.com/guides/digging-deeper/transmit' }, { label: 'Drive, file storage', url: 'https://docs.adonisjs.com/guides/digging-deeper/drive' }, ], }, page: { headline: 'The nearest neighbour, and the most honest comparison here.', lede: 'Adonis has been doing batteries-included TypeScript on the server for years, with a real ORM, auth, validation, mail, and templating. If you want that today with a track record behind it, Adonis is a serious answer. Stacks differs in runtime, in how migrations are produced, and in how far past the application it reaches.', summary: 'AdonisJS is a mature, well-documented, Laravel-inspired framework for Node. Lucid is a capable Active Record ORM with migrations and factories, the auth package covers sessions and tokens, VineJS handles validation, Edge handles templates, and the CLI scaffolds the lot. Its ecosystem is smaller than Nest but its coherence is much higher.', theirStrengths: [ { title: 'Maturity', text: 'Years of production use, stable releases, and thorough documentation. Stacks is younger and covers more ground: a CMS, commerce, an admin dashboard, desktop builds, and cloud deploys in the same install.' }, { title: 'Lucid', text: 'A well-designed ORM with hand-written migrations, which some teams prefer precisely because they are explicit, and since v7 the model columns are generated from the database.' }, { title: 'Node ecosystem', text: 'Runs on Node with the whole npm tooling story behind it. Stacks runs on Bun, which installs, starts, and tests faster, and still reads the npm registry.' }, { title: 'Front end of your choice', text: 'Edge templates, Inertia with React or Vue and end-to-end types since v7, or API only, which suits a team keeping a front end it already has.' }, ], ourStrengths: [ { title: 'Migrations from models', text: 'Schema is declared once on the model and diffed into SQL, rather than maintained as a parallel set of migration files.' }, { title: 'One rendering layer, built in', text: 'STX does server rendering, static generation with revalidation, islands, and SPA navigation in one engine, without adding Inertia and a separate React or Vue app.' }, { title: 'Beyond the request', text: 'Search indexing, WebSocket broadcasting, notifications, SMS, push, commerce, and CMS ship first-party, where Adonis covers storage with Drive and server-sent events with Transmit.' }, { title: 'Deploy and infrastructure', text: 'config/cloud.ts plus buddy deploy provisions Hetzner or AWS, or adopts any Linux box over SSH, which Adonis leaves to you.' }, { title: 'An admin dashboard', text: 'Model-driven admin screens, which Adonis does not provide.' }, mailServerStrength, updatesStrength, ], rows: [ { dimension: 'Runtime', stacks: 'Bun today, more runtimes planned', other: 'Node.js 24+' }, { dimension: 'ORM', stacks: 'First-party, models generate migrations', other: 'Lucid, with hand-written migrations' }, { dimension: 'Templating', stacks: 'STX: SSR, static, islands, signals', other: 'Edge, or Inertia with React or Vue' }, { dimension: 'Validation', stacks: 'On model attributes', other: 'VineJS schemas' }, { dimension: 'Auth', stacks: 'Sessions, tokens, passkeys, 2FA, social, RBAC', other: 'Session, token, basic guards; Ally; Bouncer' }, { dimension: 'Queues', stacks: 'First-party with drivers', other: 'Official @adonisjs/queue, still experimental' }, { dimension: 'Admin surface', stacks: 'Generated from models', other: 'Build it yourself' }, { dimension: 'Infrastructure', stacks: 'Declared in config and deployed by the CLI', other: 'Your own' }, mailServerRow('None; inboxes come from a hosted provider'), updatesRow('An upgrade guide for each major, such as v6 to v7; otherwise by hand'), ], migration: [ { title: 'The vocabulary matches', text: 'Controllers, middleware, validators, and models all have direct counterparts, so the port is mostly mechanical.' }, { title: 'Lucid models become defineModel()', text: 'Columns, relationships, and hooks translate; the migrations then come out of the model rather than moving across.' }, { title: 'Edge templates become STX', text: 'The directive syntax is close enough that most templates convert with light editing.' }, ], verdict: { pickThem: 'You want a proven, stable TypeScript framework on Node today, with Edge or Inertia for views, and you already have a deploy story you are happy with.', pickStacks: 'You want the same shape of framework but with the views, the admin, the search, the realtime, and the deploy in the same install, on Bun.', }, related: ['laravel', 'nestjs', 'redwoodjs'], }, }, { slug: 'express', name: 'Express and Fastify', blurb: 'Minimal HTTP layers. Everything above the router is a decision you make and maintain.', kind: 'HTTP frameworks', language: 'JavaScript and TypeScript', icon: 'i-hugeicons-share-08', group: 'backends', matrix: { auth: 'byo', orm: 'byo', jobs: 'byo', mail: 'byo', admin: 'byo', realtime: 'byo', deploy: 'byo', updates: 'byo', mailbox: 'byo' }, checked: { version: 'Express 5.3 and Fastify 5.12', on: '2026-10-29', sources: [ { label: 'Express 5.3, first published in 2010', url: 'https://www.npmjs.com/package/express' }, { label: 'Fastify 5.12', url: 'https://www.npmjs.com/package/fastify' }, { label: 'Fastify validation and serialisation with JSON Schema', url: 'https://fastify.dev/docs/latest/Reference/Validation-and-Serialization/' }, ], }, page: { headline: 'A router is not a framework, and sometimes a router is all you want.', lede: 'Express and Fastify do one job well: take a request, run some middleware, return a response. That minimalism is why they are everywhere and why every Express codebase is different. Stacks is the opposite trade: conventions and batteries, at the cost of doing things its way.', summary: 'Express is the most deployed HTTP framework in JavaScript and the reference implementation of the middleware pattern. Fastify is the modern take: faster, schema-driven, with a well-designed plugin system and first-class TypeScript. Neither has an opinion about data, auth, jobs, or views, and both are excellent when that is what you want.', theirStrengths: [ { title: 'Ubiquity', text: 'Every engineer knows Express and every integration documents it. It is a starting point, though: everything past routing is yours to choose and wire.' }, { title: 'Nothing in the way', text: 'For a proxy, a webhook receiver, or a small service, a framework with opinions is overhead you do not need.' }, { title: 'Fastify performance and schemas', text: 'JSON schema validation and serialisation make Fastify both fast and strict, which is a good combination for high-volume APIs.' }, { title: 'Plugin ecosystems', text: 'More than fifteen years of Express middleware and the Fastify plugin set, for anything you might bolt on. Stacks starts with those pieces already bolted on.' }, ], ourStrengths: [ { title: 'The application above the router', text: 'Models, migrations, validation, auth, queues, mail, storage, search, and admin, rather than a directory structure you invent.' }, { title: 'Consistency across projects', text: 'Two Stacks applications look alike. Two Express applications rarely do, and that cost is paid at every handover.' }, { title: 'Typed end to end', text: 'The route, the action, the model, and the client share types by construction.' }, { title: 'Deploy included', text: 'Infrastructure in config, applied by the CLI, instead of a bespoke pipeline per service.' }, mailServerStrength, updatesStrength, ], rows: [ { dimension: 'Scope', stacks: 'Full application framework', other: 'HTTP routing and middleware' }, { dimension: 'Structure', stacks: 'Prescribed by the framework', other: 'Whatever the team decides' }, { dimension: 'Data layer', stacks: 'Included', other: 'Choose your own' }, { dimension: 'Validation', stacks: 'On the model, reused everywhere', other: 'Zod, JSON schema, or your own' }, { dimension: 'Background work', stacks: 'Included', other: 'Choose your own' }, { dimension: 'Views', stacks: 'STX: SSR, static, islands, same project', other: 'Add a template engine or a separate front end' }, { dimension: 'Best fit', stacks: 'Products and platforms', other: 'Small services and glue' }, { dimension: 'Runtime', stacks: 'Bun today, more runtimes planned', other: 'Node.js, Bun compatible' }, mailServerRow('None; inboxes come from a hosted provider'), updatesRow('By hand, or a dependency bot you set up'), ], migration: [ { title: 'Handlers become actions', text: 'Each route handler becomes an action, and shared middleware moves into app/Middleware/.' }, { title: 'Adopt the ORM last', text: 'A Stacks application can keep talking to your existing database and query builder while routes move over.' }, { title: 'Move one route group at a time', text: 'Run both, put Stacks behind the new endpoints, and retire the old service when the last route has moved.' }, ], verdict: { pickThem: 'The service is small, its job is narrow, or you have strong reasons to control every layer yourself.', pickStacks: 'It is a product rather than a service, and the structure you would otherwise invent is structure you would rather inherit.', }, related: ['hono', 'elysia', 'nestjs'], }, }, { slug: 'hono', name: 'Hono', blurb: 'A tiny, fast, edge-first router. Stacks is the application you would build on top of one.', kind: 'Edge HTTP framework', language: 'TypeScript', icon: 'i-hugeicons-globe', group: 'backends', matrix: { auth: 'partial', orm: 'byo', jobs: 'byo', mail: 'byo', admin: 'byo', realtime: 'partial', deploy: 'byo', updates: 'byo', mailbox: 'byo' }, checked: { version: 'Hono 4.13', on: '2026-10-29', sources: [ { label: 'Supported runtimes and built-in helpers', url: 'https://hono.dev/docs/' }, { label: 'RPC mode and what the client needs', url: 'https://hono.dev/docs/guides/rpc' }, { label: 'Hono 4.13 on npm', url: 'https://www.npmjs.com/package/hono' }, ], }, page: { headline: 'Hono runs anywhere. Stacks runs an application.', lede: 'Hono is a few kilobytes of extremely well-made routing that works on Cloudflare Workers, Deno, Bun, Node, and Lambda, with typed middleware and an RPC mode. It is the right tool for edge services. It is not trying to be the place your models, jobs, mail, and admin live.', summary: 'Hono has become the default choice for edge and worker runtimes, and deservedly so: a small API, excellent TypeScript inference, a useful set of built-in middleware, and portability across every JavaScript runtime that matters. Its RPC mode gives typed clients without code generation, which is a genuinely nice property.', theirStrengths: [ { title: 'Runtime portability', text: 'One codebase on Workers, Fastly, Deno, Bun, Node, Lambda, Vercel, and Netlify. Stacks runs on Bun today, with more runtimes planned, and does not deploy to edge platforms.' }, { title: 'Cold starts and size', text: 'For workers measured in kilobytes and milliseconds, Hono is built for exactly that. Stacks is built for the whole application around it.' }, { title: 'Type inference', text: 'Export the app type, chain the routes, and the hc client infers every request and response from them, with no generation step. Stacks infers only from routes registered through its typed router.' }, { title: 'Simplicity', text: 'The whole framework can be read in an afternoon, which is worth a lot for a service you will maintain for years.' }, ], ourStrengths: [ { title: 'Everything past the handler', text: 'Data, auth, roles, jobs, mail, storage, search, realtime, and admin, rather than middleware you select.' }, { title: 'A view layer', text: 'STX pages, layouts, and components in the same project, with SSR, static generation, islands, and SPA navigation.' }, { title: 'Long-running work', text: 'Queues, schedules, and workers are a poor fit for edge runtimes and a first-class fit here.' }, { title: 'Deploy and infrastructure', text: 'Provisioned from config rather than assembled per service.' }, mailServerStrength, updatesStrength, ], rows: [ { dimension: 'Scope', stacks: 'Full application framework', other: 'Routing and middleware' }, { dimension: 'Runtimes', stacks: 'Bun today, more planned', other: 'Workers, Fastly, Deno, Bun, Node, Lambda, more' }, { dimension: 'Client types', stacks: 'Typed client, no generation step; OpenAPI too', other: 'Inferred RPC client' }, { dimension: 'Data layer', stacks: 'Included', other: 'Choose your own' }, { dimension: 'Background work', stacks: 'Included', other: 'Queues provided by the platform' }, { dimension: 'Views', stacks: 'STX: SSR, static, islands', other: 'Built-in JSX renderer or none' }, { dimension: 'Best fit', stacks: 'Products, platforms, long-running work', other: 'Edge services, APIs, proxies' }, { dimension: 'Admin surface', stacks: 'Generated from models', other: 'Not applicable' }, mailServerRow('None; inboxes come from a hosted provider'), updatesRow('By hand, or a dependency bot you set up'), ], migration: [ { title: 'They coexist well', text: 'Keep Hono at the edge for caching, geo routing, or webhooks, and put the application behind it.' }, { title: 'Handlers become actions', text: 'Route handlers translate directly; the RPC client is replaced by the Stacks typed client.' }, { title: 'Watch the runtime assumptions', text: 'Code written for Workers may assume no filesystem and no long-running work, which changes once it lands in a server process.' }, ], verdict: { pickThem: 'The workload belongs at the edge, must run on multiple runtimes, or is small enough that a framework would be overhead.', pickStacks: 'The workload is an application, with a database, background work, and people who need an admin screen.', }, related: ['elysia', 'express', 'nestjs'], }, }, { slug: 'elysia', name: 'Elysia', blurb: 'A high-performance Bun-first framework with end-to-end types. Stacks is the framework around one.', kind: 'Bun HTTP framework', language: 'TypeScript', icon: 'i-hugeicons-rocket-01', group: 'backends', matrix: { auth: 'partial', orm: 'byo', jobs: 'byo', mail: 'byo', admin: 'byo', realtime: 'partial', deploy: 'byo', updates: 'byo', mailbox: 'byo' }, checked: { version: 'Elysia 1.4', on: '2026-10-29', sources: [ { label: 'Elysia at a glance: runtimes, Standard Schema, code generation', url: 'https://elysiajs.com/at-glance.html' }, { label: 'Eden, and the app type it reads', url: 'https://elysiajs.com/eden/overview.html' }, { label: 'Elysia 1.4 on npm', url: 'https://www.npmjs.com/package/elysia' }, ], }, page: { headline: 'Both are Bun-first. One is a router, one is an application framework.', lede: 'Elysia is the strongest argument for Bun on the server: schema-validated routes, inferred types, an Eden client with no code generation, and throughput near the top of public benchmarks. Stacks shares the runtime bet and answers a different question, which is everything you need once the router is chosen.', summary: 'Elysia is built for Bun first, with adapters for Node, Deno, and Workers, and uses Bun to do things portable frameworks cannot, including a JIT compiler that builds optimised handlers per route. TypeBox or any Standard Schema library such as Zod validates requests and produces types, plugins compose cleanly, and Eden gives a fully typed client. For a high-performance Bun API it is an excellent choice.', theirStrengths: [ { title: 'Raw performance', text: 'Elysia is faster at the routing layer than a full framework will be, and if requests per second per core is your metric, it wins.' }, { title: 'Eden', text: 'Export the app type and Eden infers every route from it, with no generation step. Stacks has a typed client with no generation step too, but only for routes registered through its typed router.' }, { title: 'Small surface', text: 'Fewer concepts to learn, and nothing you do not use.' }, { title: 'Plugin composition', text: 'The plugin model is clean and makes sharing behaviour between services straightforward.' }, ], ourStrengths: [ { title: 'Batteries, not building blocks', text: 'ORM, migrations, auth, RBAC, queues, mail, storage, search, realtime, CMS, commerce, and an admin dashboard.' }, { title: 'Views and assets', text: 'A front end in the same project: SSR, static generation, islands, and SPA navigation, with a component model and ts-css styling.' }, { title: 'Structure that survives growth', text: 'Conventions for where things live, so the tenth feature looks like the first.' }, { title: 'Deploy and operations', text: 'Infrastructure from config, a dashboard for jobs and mail, and CI that ships on push.' }, mailServerStrength, updatesStrength, ], rows: [ { dimension: 'Scope', stacks: 'Full application framework', other: 'HTTP framework' }, { dimension: 'Runtime', stacks: 'Bun today, more runtimes planned', other: 'Bun first; Node, Deno, Workers adapters' }, { dimension: 'Validation', stacks: 'On model attributes', other: 'TypeBox or Standard Schema per route' }, { dimension: 'Client types', stacks: 'Typed client, no generation step; OpenAPI too', other: 'Eden, inferred' }, { dimension: 'Data layer', stacks: 'Included', other: 'Choose your own' }, { dimension: 'Background work', stacks: 'Included', other: 'Choose your own' }, { dimension: 'Views', stacks: 'STX: SSR, static, islands', other: 'HTML/JSX plugin or a template engine' }, { dimension: 'Raw throughput', stacks: 'Good, with a framework in the path', other: 'Best in class' }, mailServerRow('None; inboxes come from a hosted provider'), updatesRow('By hand, or a dependency bot you set up'), ], migration: [ { title: 'Same runtime, so no rewrite of the primitives', text: 'Bun APIs, native SQLite, and package resolution behave the same on both sides.' }, { title: 'Schemas become model validation', text: 'Route schemas, TypeBox or Standard Schema, move onto attributes, where the factory and the generated API also use them.' }, { title: 'Eden consumers switch clients', text: 'Clients move from Eden to the Stacks typed client, which keeps inferred types but changes the call shape, and is the main piece of work.' }, ], verdict: { pickThem: 'The service is an API, throughput is the requirement, and you want the thinnest possible layer over Bun.', pickStacks: 'You want the same runtime with the rest of the application already written and typed together.', }, related: ['hono', 'express', 'nestjs'], }, }, { slug: 'encore', name: 'Encore.ts', blurb: 'Infrastructure from code, for distributed backends. Stacks does it for one application.', kind: 'Infrastructure framework', language: 'TypeScript', icon: 'i-hugeicons-cloud-server', group: 'backends', matrix: { auth: 'partial', orm: 'partial', jobs: 'built-in', mail: 'byo', admin: 'byo', realtime: 'partial', deploy: 'partial', updates: 'byo', mailbox: 'byo' }, checked: { version: 'Encore.ts 1.58', on: '2026-10-29', sources: [ { label: 'Encore Cloud pricing and preview environments', url: 'https://encore.dev/pricing' }, { label: 'The Rust runtime behind Encore.ts', url: 'https://encore.dev/blog/rust-runtime' }, { label: 'CLI reference, including encore version update', url: 'https://encore.dev/docs/ts/cli/cli-reference' }, ], }, page: { headline: 'Two frameworks that think infrastructure belongs in the code.', lede: 'Encore reads your source, works out which databases, queues, and cron jobs it implies, and provisions them. Stacks reaches the same conclusion from the other end: the infrastructure is declared in config in the repository, and one command applies it. The difference is that Encore is built for many services and Stacks is built for one application.', summary: 'Encore.ts declares infrastructure as typed objects in application code, generates the provisioning for local, preview, and production environments, and provides a Rust-based request runtime for performance. Its distributed-systems tooling, including service catalogues, tracing, and preview environments per pull request, is more advanced than anything here.', theirStrengths: [ { title: 'Distributed systems', text: 'Service-to-service calls, tracing, and a service catalogue are built for estates of services. Stacks optimises for one complete application that does not need to be split up.' }, { title: 'Preview environments', text: 'An ephemeral environment per pull request, provisioned automatically on the Encore Cloud Pro plan, is a strong workflow.' }, { title: 'Observability', text: 'Tracing and metrics are wired in from the start rather than added.' }, { title: 'Cloud-agnostic provisioning', text: 'AWS and GCP from the same declarations, where Stacks targets Hetzner, AWS, and plain SSH boxes, and not GCP.' }, ], ourStrengths: [ { title: 'The application, not just the backend', text: 'Views, CMS, commerce, admin, and mail are part of the framework rather than services you would write.' }, { title: 'A data layer with opinions', text: 'Models generate migrations and validation; Encore gives you a database and leaves the ORM to you.' }, { title: 'No platform in the middle, no platform fee', text: 'Encore Cloud provisions your AWS or GCP account for $49 per member a month plus per-environment and per-resource fees, and self-hosting Encore means wiring the infrastructure yourself. Stacks provisions Hetzner or AWS, or adopts any Linux box over SSH, directly.' }, { title: 'Single-application simplicity', text: 'One deployable, one database, one repository, which is the right shape for most products.' }, mailServerStrength, updatesStrength, ], rows: [ { dimension: 'Target shape', stacks: 'One application', other: 'Many services' }, { dimension: 'Infrastructure', stacks: 'Declared in config/cloud.ts', other: 'Inferred from code declarations' }, { dimension: 'Data layer', stacks: 'First-party ORM', other: 'Provisioned Postgres, ORM of your choice' }, { dimension: 'Front end', stacks: 'Included', other: 'Separate application' }, { dimension: 'Background work', stacks: 'Queues, jobs, schedules', other: 'Pub/sub and cron primitives' }, { dimension: 'Observability', stacks: 'Logs, error tracking, query and job history', other: 'Distributed tracing and metrics' }, { dimension: 'Cloud targets', stacks: 'Hetzner, AWS, any SSH box', other: 'AWS and GCP' }, { dimension: 'Admin surface', stacks: 'Generated from models', other: 'Developer dashboard, not an app admin' }, mailServerRow('None; inboxes come from a hosted provider'), updatesRow('encore version update for the CLI; app packages by hand'), ], migration: [ { title: 'Endpoints become actions', text: 'Encore API endpoints and Stacks actions are the same unit with different decoration.' }, { title: 'Fold services into one application', text: 'Most Encore services in a small system become modules of one Stacks application, which removes the calls between them.' }, { title: 'Infrastructure moves to config', text: 'Databases, queues, and cron declarations become config plus app/Scheduler.ts entries.' }, ], verdict: { pickThem: 'You are building a distributed backend, you want per-pull-request environments and tracing, and the front end is a separate concern.', pickStacks: 'You are building one product, and you want the front end, the admin, and the content layer in the same place as the API, on servers you own without a per-member platform fee.', }, related: ['nestjs', 'elysia', 'adonisjs'], }, }, { slug: 'laravel', name: 'Laravel', blurb: 'The framework Stacks is modelled on, rebuilt in TypeScript on Bun.', kind: 'Full-stack framework', language: 'PHP', icon: 'i-hugeicons-gem', group: 'ecosystems', matrix: { auth: 'built-in', orm: 'built-in', jobs: 'built-in', mail: 'built-in', admin: 'partial', realtime: 'built-in', deploy: 'partial', updates: 'partial', mailbox: 'byo' }, checked: { version: 'Laravel 13', on: '2026-10-29', sources: [ { label: 'Laravel 13 release notes, including the AI SDK', url: 'https://laravel.com/docs/releases' }, { label: 'Forge plans and Laravel VPS', url: 'https://laravel.com/forge/pricing' }, { label: 'Laravel Cloud plans, autoscaling, and scale to zero', url: 'https://laravel.com/cloud/pricing' }, { label: 'Nova licenses', url: 'https://nova.laravel.com/' }, { label: 'Laravel Shift prices per upgrade', url: 'https://laravelshift.com/shifts' }, { label: 'Shifty Plans', url: 'https://laravelshift.com/' }, { label: 'Wayfinder, and what it types', url: 'https://github.com/laravel/wayfinder' }, { label: 'Filament, MIT licensed', url: 'https://github.com/filamentphp/filament' }, ], }, page: { headline: 'Everything you like about Laravel, in the language your front end already speaks.', lede: 'Stacks does not pretend to be an independent invention. Models, migrations, queues, mail, events, gates, and an expressive CLI are Laravel ideas, and they are good ones. What changes is the language: one TypeScript type graph from the database row to the rendered view, with no boundary in between.', summary: 'Laravel set the standard for web frameworks, and fifteen years in it shows: Eloquent, queues, Horizon, Reverb, Livewire, Inertia, Filament, Nova, Forge, Laravel Cloud, and a first-party AI SDK since Laravel 13. Much of that list is separate packages and products to install, configure, and in places pay for. Stacks covers the same ground as one framework, in TypeScript.', theirStrengths: [ { title: 'A large ecosystem', text: 'Fifteen years of packages, hosting products, books, and courses, and a Laravel app leans on them: Cashier, Horizon, Nova, Forge, and more. Stacks puts the equivalents in the framework itself, so there is far less to go and find.' }, { title: 'Managed hosting', text: 'Forge, Laravel Cloud, and every PHP host run Laravel, with managed autoscaling if you want it. Stacks takes a different road: buddy deploy puts the app, API, workers, and mail server on a box you own, with one command and no platform bill.' }, { title: 'Filament and Nova', text: 'Laravel\'s admin panels are add-ons you install, configure, and in Nova\'s case pay for. Stacks ships the admin dashboard in the framework, generated from your models, with nothing extra to buy.' }, { title: 'Hiring', text: 'The pool of experienced Laravel developers is large, and every one of them already knows the shape of Stacks: the same ideas, in TypeScript.' }, ], ourStrengths: [ { title: 'One language, one type graph', text: 'The model, the action, the route, the view, and the API client are all TypeScript and all typed against each other. Laravel Wayfinder (in beta) can generate typed route functions for a TypeScript front end, but the data that crosses them still starts life as a PHP array.' }, { title: 'Migrations from models', text: 'Schema is declared on the model and diffed into SQL, rather than being maintained twice.' }, { title: 'Front end in the box', text: 'STX is part of the framework: server rendering, static generation with incremental regeneration, island hydration, streaming, and fine-grained signals. There is no Livewire or Inertia decision to make, and no choice between React, Vue, and Svelte after that.' }, { title: 'Infrastructure in the repository', text: 'DNS records, TLS certificates, mail records, and a CDN (Cloudflare, or CloudFront on AWS) are declared in config and applied by buddy deploy, with DNS through Route53, Cloudflare, Porkbun, or GoDaddy, without a paid platform.' }, { title: 'One runtime for everything', text: 'The server, the CLI, the tests, and the build all run on Bun, so there is no separate Node toolchain beside the PHP one. Bun is the runtime today, with more runtimes planned.' }, { title: 'Automated updates, free in the box', text: 'Laravel Shift is a third-party service that charges per upgrade, $19 for 12 to 13 and $29 for 11 to 12, and opens a pull request once you pay; its yearly Shifty Plans, billed per repository, add pull requests that keep an app current between majors. Stacks includes the whole job. buddy upgrade previews every change, refuses to overwrite uncommitted edits, then moves the framework, dependencies, migrations, and CI to the next release, and buddy-bot, configured in every new app, opens dependency pull requests every two hours with a dashboard issue to track them.' }, { title: 'The machine sets itself up', text: 'Herd and Sail give Laravel a polished local environment. Pantry installs exactly the tools config/deps.ts declares into the project, starts the database, and migrates and seeds it, and CI installs from the same lockfile.' }, { title: 'No deploy platform subscription', text: 'Forge runs $12 to $39 a month on top of the servers it manages, and Laravel Cloud starts at $5 a month plus usage, on AWS, where its managed databases run too (you can bring your own). buddy deploy ships in the framework itself, so the only recurring cost is the server: a Hetzner box, an AWS account, or any Linux machine you already pay for. One small box can host several apps, and the data stays on hardware you control.' }, { title: 'A mail server, not just a mail sender', text: 'Laravel pairs with SES, Postmark, or Resend for sending and Google Workspace or Fastmail for real mailboxes. Stacks can run its own self-hostable SMTP and IMAP server, so a custom mailbox on your domain is infrastructure you already have rather than another subscription.' }, { title: 'Real products, not a demo', text: 'BugHQ (bughq.org), StatusHQ (statushq.org), AnalyticsHQ (analyticshq.org), LogHQ (loghq.org), and CommsHQ (commshq.org) are Stacks applications running in production today. Each one is MIT licensed and free to self-host on your own servers, with an optional hosted plan for teams who would rather not run it.' }, ], rows: [ { dimension: 'Language', stacks: 'TypeScript end to end, on Bun', other: 'PHP on the server, TypeScript or JavaScript on the client' }, { dimension: 'ORM', stacks: 'defineModel(), migrations generated', other: 'Eloquent, migrations hand-written' }, { dimension: 'Views', stacks: 'STX: SSR, SSG, islands, signals', other: 'Blade with Livewire, or Inertia with React, Vue, or Svelte' }, { dimension: 'Queues', stacks: 'Included, with retries, dead-letter queue, and a dashboard', other: 'Included, Horizon for Redis queues' }, { dimension: 'Realtime', stacks: 'WebSocket channels and broadcasting, included', other: 'Reverb (first-party) or Pusher, via Echo' }, { dimension: 'Admin', stacks: 'Dashboard generated from models', other: 'Filament (free) or Nova ($99, then $79 a year)' }, { dimension: 'Local setup', stacks: 'Pantry, per project, from config/deps.ts', other: 'Herd, Sail (Docker), or Valet' }, { dimension: 'Automated updates', stacks: 'buddy upgrade and buddy-bot, free and built in', other: 'Laravel Shift, $19-29 per upgrade or a yearly Shifty Plan, or by hand' }, { dimension: 'Deploy', stacks: 'buddy deploy to Hetzner, AWS, or any Linux box over SSH, no platform fee', other: 'Forge $12-39/mo plus servers, or Cloud from $5/mo plus usage' }, { dimension: 'Mail server', stacks: 'Built in: SMTP, IMAP, real mailboxes', other: 'None; a hosted inbox provider, billed per seat' }, { dimension: 'Ecosystem age', stacks: 'Young', other: 'Mature' }, ], migration: [ { title: 'Start with migrate:project', text: 'buddy migrate:project --from laravel translates Eloquent models and migrations into defineModel() files and SQL, and writes a report of the routes, controllers, and views left to port by hand.' }, { title: 'The concepts carry over unchanged', text: 'Models, migrations, jobs, events, listeners, mail, middleware, and gates all exist here with the same names and much the same shape.' }, { title: 'Eloquent models become defineModel()', text: 'Fillable, casts, relationships, and observers map onto attributes, traits, and the observe flag. Migrations are then generated rather than ported.' }, { title: 'Blade becomes STX', text: 'The directives are deliberately familiar, so templates convert more easily than any other framework on this page.' }, { title: 'Do it service by service', text: 'A Stacks API beside an existing Laravel application, sharing a database, is a workable intermediate step.' }, ], verdict: { pickThem: 'Your team writes PHP and wants to keep writing it, and you are happy assembling Laravel\'s first-party and community packages into the stack you need. Laravel is a fine framework for that.', pickStacks: 'Your team already writes TypeScript for the front end and you would rather not maintain two languages, two toolchains, and a serialisation boundary between them, or pay a deploy platform on top of the servers that hold your data, and a service per upgrade to keep it current.', }, related: ['adonisjs', 'rails', 'django'], }, }, { slug: 'rails', name: 'Ruby on Rails', blurb: 'Convention over configuration in Ruby. Same convictions, different runtime and type story.', kind: 'Full-stack framework', language: 'Ruby', icon: 'i-hugeicons-train-01', group: 'ecosystems', matrix: { auth: 'partial', orm: 'built-in', jobs: 'built-in', mail: 'built-in', admin: 'partial', realtime: 'built-in', deploy: 'built-in', updates: 'partial', mailbox: 'byo' }, checked: { version: 'Rails 8.1', on: '2026-10-29', sources: [ { label: 'Rails 8.1.4, the current release', url: 'https://rubyonrails.org/' }, { label: 'Rails 8.0 release notes: Kamal 2, the authentication generator, the Solid adapters', url: 'https://guides.rubyonrails.org/8_0_release_notes.html' }, { label: 'Rails 8: no PaaS required', url: 'https://rubyonrails.org/2024/11/7/rails-8-no-paas-required' }, { label: 'Rails 7.2 release notes: Dependabot and CI in new apps', url: 'https://guides.rubyonrails.org/7_2_release_notes.html' }, ], }, page: { headline: 'The conventions Rails is known for, statically typed end to end.', lede: 'Rails and Stacks hold the same convictions: convention over configuration, generators, migrations, an ORM with opinions, and one person building a whole product. They differ on the two things Rails cannot change, the language and the runtime.', summary: 'Rails 8 ships Hotwire for interactivity from server-rendered HTML, Solid Queue and Solid Cable for jobs and pub/sub without Redis, and Kamal for deploying containers to your own servers.', // The maintainer's call, confirmed in #3059 (October 2026): the Rails // page names one reason, not the usual list, and gives Rails no credit // for its age. The facts stay fair (summary, rows); the praise does not. // tests/unit/marketing-comparisons exempts this slug from the // three-point minimum on purpose. theirStrengths: [ { title: 'If you align with DHH', text: 'We don’t want you here.' }, ], ourStrengths: [ { title: 'Static types across the boundary', text: 'Ruby is dynamically typed and Sorbet or RBS is optional. In Stacks the compiler checks the model, the action, the view, and the client together.' }, { title: 'One language with the front end', text: 'No context switch between Ruby on the server and TypeScript in the browser, and no duplicated types.' }, { title: 'Schema from models', text: 'The model is the source of truth and migrations are diffed from it, instead of schema.rb being derived from migration history.' }, { title: 'Provisioning, DNS, and mail too', text: 'Kamal deploys to servers you already have. buddy deploy can also create them on Hetzner or AWS, adopt any Linux box over SSH, and manage DNS and mail records, and Stacks can run its own SMTP and IMAP server on the same box.' }, mailServerStrength, updatesStrength, ], rows: [ { dimension: 'Language', stacks: 'TypeScript, statically checked', other: 'Ruby, dynamically typed' }, { dimension: 'ORM', stacks: 'defineModel(), migrations generated', other: 'Active Record, migrations hand-written' }, { dimension: 'Views', stacks: 'STX: SSR, SSG, islands, signals', other: 'ERB with Hotwire' }, { dimension: 'Background work', stacks: 'Queues on database, Redis, or sync drivers', other: 'Active Job with Solid Queue' }, { dimension: 'Realtime', stacks: 'Channels and model broadcasts', other: 'Action Cable and Turbo Streams' }, { dimension: 'Auth', stacks: 'Passkeys, 2FA, social login, RBAC, built in', other: 'Generator plus Devise or Pundit' }, { dimension: 'Deploy', stacks: 'buddy deploy to Hetzner, AWS, or any SSH box', other: 'Kamal to any servers' }, { dimension: 'Admin', stacks: 'Generated dashboard', other: 'ActiveAdmin or Avo' }, mailServerRow('Action Mailbox routes inbound mail; inboxes are a provider'), updatesRow('bin/rails app:update, interactive; new apps come with Dependabot configured'), ], migration: [ { title: 'Active Record models become defineModel()', text: 'Associations, validations, callbacks, and scopes have direct counterparts as relationships, attribute rules, and traits.' }, { title: 'Controllers become actions', text: 'A controller action is a Stacks action; strong parameters become model-declared validation.' }, { title: 'Jobs move nearly unchanged', text: 'Active Job classes and Stacks jobs have the same shape, including retries and queues.' }, ], verdict: { pickThem: 'Your team writes Ruby and wants to keep writing it, with Hotwire for interactivity and Kamal deploying to your own servers.', pickStacks: 'You want those conventions with static types across the whole stack, and one language shared with the browser.', }, related: ['laravel', 'django', 'adonisjs'], }, }, { slug: 'django', name: 'Django', blurb: 'Batteries included, and the best free admin in the business. Stacks brings that idea to TypeScript.', kind: 'Full-stack framework', language: 'Python', icon: 'i-hugeicons-dashboard-square-01', group: 'ecosystems', matrix: { auth: 'built-in', orm: 'built-in', jobs: 'partial', mail: 'built-in', admin: 'built-in', realtime: 'partial', deploy: 'byo', updates: 'partial', mailbox: 'byo' }, checked: { version: 'Django 6.1', on: '2026-10-29', sources: [ { label: 'Django 6.1.2 and the 5.2 LTS', url: 'https://www.djangoproject.com/download/' }, { label: 'The Tasks framework, and why it needs an outside worker', url: 'https://docs.djangoproject.com/en/stable/topics/tasks/' }, { label: 'Channels, an official Django project', url: 'https://github.com/django/channels' }, { label: 'django-upgrade, a community tool', url: 'https://github.com/adamchainz/django-upgrade' }, ], }, page: { headline: 'Django got there first on the admin. Stacks generates one too, in your language.', lede: 'Django has been the batteries-included argument for twenty years, and its admin is still the single best reason to choose it. Stacks makes the same argument for TypeScript teams, and adds the parts Django leaves out, which are the background workers, the interactive front end, and the deploy.', summary: 'Django gives you an ORM with sound migrations, an auth and permissions system, forms, and an admin site generated from your models that is genuinely production-usable. Django REST Framework and Ninja cover APIs, Channels covers WebSockets, and the whole thing sits in the Python ecosystem, which is where the data and machine learning tooling lives.', theirStrengths: [ { title: 'The admin', text: 'Django admin is capable out of the box, with twenty years of extension points. Stacks ships an admin dashboard too, generated from your models, alongside a CMS and commerce.' }, { title: 'The Python ecosystem', text: 'If the product depends on data science, notebooks, or machine learning libraries, Python matters. For AI features, Stacks has providers, embeddings, and retrieval built in.' }, { title: 'Migrations', text: 'Django migrations are dependable and widely understood. Stacks generates migrations from your models, so there is one description of the schema instead of two.' }, { title: 'Stability', text: 'Long-term support releases and a strong deprecation policy, which large institutions rely on.' }, ], ourStrengths: [ { title: 'Background work included', text: 'Django 6 added a tasks API but no worker to run it, so production still means Celery or a community backend plus a broker. Stacks ships queues, batches, schedules, retries, and the workers that run them.' }, { title: 'One language with the browser', text: 'No Python on one side and TypeScript on the other, and no hand-written types across the API.' }, { title: 'Front end in the framework', text: 'STX views and components rather than Django templates plus a separate JavaScript build.' }, { title: 'Deploy from config', text: 'Servers on Hetzner or AWS, or any Linux box over SSH, plus DNS and certificates, all declared in the repository and applied by buddy deploy.' }, mailServerStrength, updatesStrength, ], rows: [ { dimension: 'Language', stacks: 'TypeScript', other: 'Python' }, { dimension: 'ORM', stacks: 'defineModel(), migrations generated', other: 'Django ORM, migrations generated' }, { dimension: 'Admin', stacks: 'Dashboard generated from models', other: 'Django admin, extended with packages' }, { dimension: 'API layer', stacks: 'Generated REST plus OpenAPI', other: 'DRF or Django Ninja' }, { dimension: 'Background work', stacks: 'Queues, workers, and schedules, included', other: 'Tasks API, plus Celery or a community worker' }, { dimension: 'Realtime', stacks: 'WebSocket channels, included', other: 'Channels' }, { dimension: 'Front end', stacks: 'STX: SSR, SSG, islands, signals', other: 'Templates or a separate SPA' }, { dimension: 'Deploy', stacks: 'buddy deploy to Hetzner, AWS, or any SSH box', other: 'Your own containers and IaC' }, mailServerRow('None; inboxes come from a hosted provider'), updatesRow('django-upgrade (community) and deprecation warnings; a bot is yours to set up'), ], migration: [ { title: 'Models translate directly', text: 'Django model fields and Stacks attributes line up almost one to one, including validation and defaults.' }, { title: 'Views become actions', text: 'Function and class-based views become actions; DRF serializers become model validation and API resources.' }, { title: 'Celery becomes jobs', text: 'Tasks become job classes with retries and queues declared on them, and the broker choice becomes a config line.' }, ], verdict: { pickThem: 'You are a Python team, or the product needs the scientific and machine learning ecosystem that only Python has.', pickStacks: 'You want the same completeness, plus queues and a front end, without maintaining Python and TypeScript in one product.', }, related: ['laravel', 'rails', 'nestjs'], }, }, { slug: 'supabase', name: 'Supabase', blurb: 'A hosted Postgres platform, not a framework. The two are often used together.', kind: 'Backend as a service', language: 'Any client language', icon: 'i-hugeicons-database', group: 'ecosystems', matrix: { auth: 'hosted', orm: 'hosted', jobs: 'partial', mail: 'byo', admin: 'hosted', realtime: 'hosted', deploy: 'hosted', updates: 'hosted', mailbox: 'byo' }, checked: { version: 'Supabase, October 2026', on: '2026-10-29', sources: [ { label: 'Pricing: Pro, and compute per project', url: 'https://supabase.com/pricing' }, { label: 'Queues, built on pgmq', url: 'https://supabase.com/docs/guides/queues' }, { label: 'Cron, built on pg_cron', url: 'https://supabase.com/docs/guides/cron' }, { label: 'Auth: social providers, magic links, MFA', url: 'https://supabase.com/docs/guides/auth' }, ], }, page: { headline: 'Supabase gives you a backend. Stacks gives you somewhere to put your logic.', lede: 'This is the least like-for-like comparison on the page, and worth making because teams genuinely choose between them. Supabase is a hosted Postgres with auth, storage, realtime, and edge functions in front of it. Stacks is a framework you run. Plenty of applications use both.', summary: 'Supabase is an excellent product: real Postgres you can take with you, row level security, generated APIs, auth with many providers, storage, realtime subscriptions, vector search, and a good dashboard. For a client-heavy application it removes an entire tier of work, and the open-source core means the exit path is a database dump rather than a rewrite.', theirStrengths: [ { title: 'No backend to run at all', text: 'For a mobile or single-page application, talking straight to Supabase from the client is genuinely less work than any framework.' }, { title: 'Postgres, properly', text: 'Extensions, row level security, and full SQL, hosted competently, with a real migration path off it.' }, { title: 'Auth breadth', text: 'Social providers, magic links, and multi-factor, configured in a dashboard. Stacks has passkeys, two-factor, magic links, and social sign-in as code you own, with no per-user pricing.' }, { title: 'Speed to first version', text: 'A working prototype in an afternoon is a real advantage when validating an idea.' }, ], ourStrengths: [ { title: 'Business logic has a home', text: 'Anything beyond CRUD ends up in database functions, triggers, or edge functions in a BaaS. Here it is actions, jobs, and events in one typed codebase.' }, { title: 'Auth and authorisation you can read', text: 'Social login, magic links, and two-factor come from the same auth package as password login, just as code rather than a dashboard toggle. Row level security policies are powerful and easy to get subtly wrong; gates and policies are ordinary reviewable TypeScript instead.' }, { title: 'Background work and mail', text: 'Queues, schedules, retries, transactional mail, and notifications, rather than cron extensions and a mail provider.' }, { title: 'You own the deployment', text: 'Supabase Pro is $25 a month plus compute for every project after the first. A Stacks app, its Postgres, its file storage, and even its mail server can share one small Hetzner box, or any Linux server you already pay for, with no platform between you and your data.' }, mailServerStrength, updatesStrength, ], rows: [ { dimension: 'What it is', stacks: 'A framework you run', other: 'A hosted platform you consume' }, { dimension: 'Database', stacks: 'SQLite, MySQL, or Postgres, yours', other: 'Hosted Postgres' }, { dimension: 'Logic layer', stacks: 'Actions, jobs, events, middleware', other: 'Edge functions and database functions' }, { dimension: 'Authorisation', stacks: 'Gates and policies in TypeScript', other: 'Row level security in SQL' }, { dimension: 'Background work', stacks: 'First-class queues and schedules', other: 'Supabase Cron and Queues (pg_cron, pgmq)' }, { dimension: 'Front end', stacks: 'Included', other: 'Bring your own' }, { dimension: 'Admin', stacks: 'Generated from your models', other: 'Platform dashboard over tables' }, { dimension: 'Operating model', stacks: 'You deploy and run it', other: 'Managed, with self-hosting possible' }, mailServerRow('Auth emails only; inboxes are a separate provider'), updatesRow('The platform is upgraded for you; client SDKs are yours to bump'), ], migration: [ { title: 'They work well together', text: 'Point a Stacks application at a Supabase Postgres instance and keep Supabase Storage, which speaks the S3 protocol that Stacks storage drivers support, while logic moves into the framework.' }, { title: 'Tables become models', text: 'Describe each existing table as a model (buddy make:model scaffolds one), and migrations are diffed from the models from then on.' }, { title: 'Policies become gates', text: 'Each row level security policy becomes a gate or a query scope, which is usually where the subtle bugs get found.' }, ], verdict: { pickThem: 'The application is mostly a client talking to a database, you want no servers to operate, and the logic fits in the database and a few functions.', pickStacks: 'The interesting part is the logic between the request and the row, and you want it in one typed, testable, reviewable codebase.', }, related: ['firebase', 'nextjs', 'laravel'], }, }, { slug: 'firebase', name: 'Firebase', blurb: 'Client-first sync and mobile SDKs. Stacks is the server-first alternative you own.', kind: 'Backend as a service', language: 'Any client language', icon: 'i-hugeicons-satellite-02', group: 'ecosystems', matrix: { auth: 'hosted', orm: 'hosted', jobs: 'partial', mail: 'partial', admin: 'hosted', realtime: 'hosted', deploy: 'hosted', updates: 'hosted', mailbox: 'byo' }, checked: { version: 'Firebase, October 2026', on: '2026-10-29', sources: [ { label: 'Pricing: Firestore operations and SQL Connect', url: 'https://firebase.google.com/pricing' }, { label: 'From Data Connect to SQL Connect', url: 'https://firebase.blog/posts/2026/04/whats-new-sql-connect' }, { label: 'SQL Connect, on Cloud SQL for PostgreSQL', url: 'https://firebase.google.com/docs/sql-connect' }, ], }, page: { headline: 'Firebase syncs data to clients. Stacks runs the application in the middle.', lede: 'Firebase is built on the idea that the client is the application and the backend is a synchronised document store. That is a genuinely good fit for chat, presence, and offline-first mobile apps. Firestore is a poor fit for reporting, invoicing, or complex authorisation. Firebase now offers Postgres through SQL Connect, but it is still reached through Firebase, on Google Cloud, and billed per operation. Relational work on a server you own is where Stacks is aimed.', summary: 'Firebase gives you realtime document sync, offline persistence, authentication, cloud functions, hosting, crash reporting, analytics, and SQL Connect (formerly Data Connect) for Postgres on Cloud SQL, with the best mobile SDKs in the category. For a small team shipping a mobile product it removes an enormous amount of work, and the free tier carries a project a long way.', theirStrengths: [ { title: 'Offline and sync', text: 'Local persistence and conflict handling on mobile is hard, and Firestore does it well.' }, { title: 'Mobile SDK quality', text: 'iOS and Android SDKs, push, crash reporting, and analytics from one vendor with one integration.' }, { title: 'Zero operations', text: 'No servers, no scaling decisions, and no on-call rota.' }, { title: 'Time to first release', text: 'For a prototype or a small consumer app, nothing here is faster to ship.' }, ], ourStrengths: [ { title: 'Queries that are not a compromise', text: 'Joins, aggregates, transactions, and reporting are ordinary SQL against your own database, rather than denormalised Firestore documents and fan-out writes.' }, { title: 'Security rules become code', text: 'Authorisation lives in gates and policies you can unit test, instead of a rules language with its own failure modes.' }, { title: 'Cost predictability', text: 'Firestore bills per document read, write, and delete, and SQL Connect per operation, so a bad query is a bad invoice. A server and a database you pay for directly have a shape you can forecast.' }, { title: 'No lock-in', text: 'Your data is in your own SQL database, and the application that reads it is yours.' }, mailServerStrength, updatesStrength, ], rows: [ { dimension: 'Data model', stacks: 'Relational, with migrations', other: 'Firestore documents, or Postgres via SQL Connect' }, { dimension: 'Queries', stacks: 'Full SQL, joins, aggregates, transactions', other: 'Document queries with index constraints' }, { dimension: 'Authorisation', stacks: 'Gates and policies in TypeScript', other: 'Security rules' }, { dimension: 'Realtime', stacks: 'Channels and model broadcasts', other: 'Document subscriptions with offline sync' }, { dimension: 'Background work', stacks: 'Queues, schedules, retries', other: 'Cloud Functions and scheduled functions' }, { dimension: 'Mobile', stacks: 'Native iOS and Android from STX, against your own API', other: 'First-party SDKs with offline support' }, { dimension: 'Cost model', stacks: 'A server you pay for directly', other: 'Per operation' }, { dimension: 'Portability', stacks: 'Your database, your servers', other: 'Google Cloud only' }, mailServerRow('A send-only extension; inboxes are a separate provider'), updatesRow('The platform is upgraded for you; client SDKs are yours to bump'), ], migration: [ { title: 'Flatten the documents first', text: 'Collections become tables and models, and the denormalisation Firestore required usually disappears.' }, { title: 'Cloud Functions become jobs and actions', text: 'Triggered functions become model event listeners; scheduled functions become entries in app/Scheduler.ts.' }, { title: 'Keep the client SDKs if you want', text: 'A phased move can leave auth with Firebase while the data layer moves, and push can stay on Firebase Cloud Messaging, which Stacks sends through directly.' }, ], verdict: { pickThem: 'The product is a mobile or consumer app that needs offline sync and realtime documents, and you want no infrastructure at all.', pickStacks: 'The product has relational data, reporting, billing, or authorisation rules complex enough to want tests and code review.', }, related: ['supabase', 'nextjs', 'adonisjs'], }, }, ] export function comparisonBySlug(slug: string): Comparison | undefined { return comparisons.find(comparison => comparison.slug === slug) } export function comparisonsInGroup(group: string): Comparison[] { return comparisons.filter(comparison => comparison.group === group) }