# blitz-js/blitz

⚡️ The Missing Fullstack Toolkit for Next.js

Repository: https://github.com/blitz-js/blitz
Canonical: https://ross.abutalabs.com/products/blitz
Homepage: https://Blitzjs.com
Language: TypeScript
License: MIT
License Family: permissive
Topics: react, reactjs, nextjs, prisma, prisma2, framework, javascript, typescript, fullstack, blitz, blitzjs
Last push: 2025-11-21T13:13:37+00:00

## Health v2 (maintenance only)
Score: 60/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 53, release rhythm 47, longevity 100
- inputs: {"age_days": 2389, "days_push": 285, "days_rel": 356, "gap_med": 13, "n_releases_24m": 10}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 14129, forks 806 (observed 2026-08-28T04:11:05.530596+00:00)

## What it is
Blitz.js is a fullstack toolkit built on top of Next.js that adds a typesafe RPC data layer, authentication/authorization, and code scaffolding conventions. It lets you import server code directly into React components, abstracting the API layer into a compile step.

## Use cases
- build a fullstack Next.js app with typesafe data fetching
- add authentication and session management to a Next.js app
- replace REST or GraphQL APIs with typesafe RPC calls
- scaffold a new web app with auth and database setup in minutes
- build a monolithic React app with Prisma and server mutations
- validate mutation inputs with zod and enforce authorization

## When to choose
- you want a batteries-included fullstack framework on top of Next.js
- you prefer importing server functions directly in the frontend over writing API routes
- you need built-in session-based auth with third-party provider support
- you want code scaffolding and conventions for a monolith codebase

## When to avoid
- you need a microservices-first architecture with independently deployed services
- you want a framework with a large active ecosystem - Blitz development has slowed compared to alternatives like tRPC or Next.js itself
- you only need a plain Next.js app without an opinionated fullstack layer
- you need non-JavaScript or non-React frontend support

## Facets
- artifact type: framework
- maturity: maintenance
- function: web-framework, auth, authorization, rpc, middleware, form-handling, state-management
- domain: web-development, frontend, backend, developer-tools
- platform: cross-platform
- tags: nextjs, react, prisma, fullstack-toolkit, rpc, code-scaffolding, zod-validation, monolith, nodejs, typescript, javascript, web-server

## Member repositories
- blitz-js/blitz (main) score 60

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:05.530596+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:12:48.458617+00:00, confidence not recorded.
  - readme: https://github.com/blitz-js/blitz (fetched 2026-08-28T04:11:05.530596+00:00, sha 77414d228319)
  - homepage: https://Blitzjs.com (fetched 2026-08-29T08:07:01.549717+00:00, sha e6ec07d7f3bc)
  - site_page: https://blitzjs.com/docs (fetched 2026-08-29T08:07:01.553725+00:00, sha 37abd83c2470)
  - site_page: https://blitzjs.com/docs/why-blitz (fetched 2026-08-29T08:07:01.555605+00:00, sha 92cf542186c6)
  - site_page: https://blitzjs.com/docs/code-of-conduct (fetched 2026-08-29T08:07:01.557566+00:00, sha 6473d0bdcd68)
  - site_page: https://blitzjs.com/docs/contributing (fetched 2026-08-29T08:07:01.559405+00:00, sha 1790fe0c1b92)
  - site_page: https://blitzjs.com/docs/get-started (fetched 2026-08-29T08:07:01.561768+00:00, sha 50e77ff615a5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
