# nitrojs/nitro

Next Generation Server Toolkit. Create web servers with everything you need and deploy them wherever you prefer.

Repository: https://github.com/nitrojs/nitro
Canonical: https://ross.abutalabs.com/products/nitro
Homepage: https://nitro.build
Language: TypeScript
License: NOASSERTION
License Family: other
Last push: 2026-08-26T21:47:58+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 87, longevity 100
- inputs: {"age_days": 1680, "days_push": 7, "days_rel": 84, "gap_med": 7, "n_releases_24m": 42}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 11148, forks 893 (observed 2026-08-28T04:10:46.231107+00:00)

## What it is
Nitro is a TypeScript server toolkit that extends Vite apps with a production-ready server featuring file-based routing, caching, KV storage, database access, and WebSocket support. It compiles the same codebase to run on Node.js, Bun, Deno, edge workers, and serverless platforms with zero configuration.

## Use cases
- build api servers with file-based routing in typescript
- deploy one codebase to node, bun, deno, and serverless platforms
- add backend api routes to an existing vite app
- create full-stack servers with zero configuration
- add websocket support to a portable server
- cache route responses with swr semantics
- run scheduled or one-off server tasks
- server-side rendering for vite applications

## When to choose
- you want a portable server that deploys across runtimes and edge platforms without code changes
- you prefer file-based routing with compiled, minimal output
- you are building a Nuxt/Vite full-stack app and need a production server layer
- you need built-in caching, storage abstraction, and websocket support out of the box

## When to avoid
- you need a heavyweight framework with batteries-included ORM, auth, and admin tooling
- your project is not JavaScript/TypeScript based
- you require stable, long-term-support guarantees for experimental features like the database or tasks layer
- you want a minimal express-style library without a build step

## Facets
- artifact type: framework
- maturity: active
- function: web-framework, http-server, routing, caching, websocket, ssr, middleware, database, deployment
- domain: web-development, backend, developer-tools, apis
- platform: bun, cross-platform, serverless, cloud
- tags: server-toolkit, file-based-routing, vite, zero-config, edge-deployment, unjs, h3, full-stack, api-routes, portable-servers, nodejs, deno, typescript, web-server

## Member repositories
- nitrojs/nitro (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:46.231107+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:16:45.287622+00:00, confidence not recorded.
  - readme: https://github.com/nitrojs/nitro (fetched 2026-08-28T04:10:46.231107+00:00, sha 36bad4fc38ac)
  - homepage: https://nitro.build (fetched 2026-08-29T08:15:46.698039+00:00, sha 8bf04879868d)
  - site_page: https://nitro.build/docs/quick-start (fetched 2026-08-29T08:15:46.707238+00:00, sha 97a025ed0e6b)
  - site_page: https://nitro.build/docs/routing (fetched 2026-08-29T08:15:46.709312+00:00, sha 3a7d285cab34)
  - site_page: https://nitro.build/docs/server-entry (fetched 2026-08-29T08:15:46.712390+00:00, sha 0c734a678115)
  - site_page: https://nitro.build/docs/cache (fetched 2026-08-29T08:15:46.714615+00:00, sha e491d94b78ec)
  - site_page: https://nitro.build/docs/storage (fetched 2026-08-29T08:15:46.717308+00:00, sha 6180f6940e05)
  - site_page: https://nitro.build/docs/database (fetched 2026-08-29T08:15:46.719759+00:00, sha d4e479b27a68)
  - site_page: https://nitro.build/docs/tasks (fetched 2026-08-29T08:15:46.722007+00:00, sha 48d48c66aef8)
  - site_page: https://nitro.build/docs/websocket (fetched 2026-08-29T08:15:46.724332+00:00, sha b7a3d0bc3002)
- Data as of 2026-08-30T08:39:29.467469+00:00.
