# w3cj/hono-open-api-starter

A starter template for building fully documented type-safe JSON APIs with Hono and Open API

Repository: https://github.com/w3cj/hono-open-api-starter
Canonical: https://ross.abutalabs.com/products/hono-open-api-starter
Homepage: https://www.youtube.com/watch?v=sNh9PoM9sUE
Language: TypeScript
License: MIT
License Family: permissive
Topics: drizzle, hono, openapi, scalar, typescript, zod
Last push: 2025-10-31T13:30:09+00:00

## Health v2 (maintenance only)
Score: 44/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 49, release rhythm 35, longevity 49
- inputs: {"age_days": 698, "days_push": 306, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1011, forks 132 (observed 2026-08-28T04:03:13.200318+00:00)

## What it is
A starter template for building fully documented, type-safe JSON APIs using Hono, Zod OpenAPI, Drizzle ORM, and Scalar API docs. It bundles structured logging, environment validation, testing, and linting into a ready-to-clone project scaffold.

## Use cases
- bootstrap a type-safe REST API with Hono
- generate OpenAPI documentation from Zod schemas
- set up a Hono project with Drizzle ORM and SQLite
- scaffold an API with interactive Scalar docs
- start a TypeScript backend with structured logging and testing preconfigured
- build documented JSON APIs with validation
- create a Cloudflare-deployable Hono API template

## When to choose
- starting a new Hono-based API from scratch
- you want OpenAPI docs generated from type-safe route definitions
- you prefer Drizzle ORM with a single source of truth for schemas
- you want batteries-included logging, env validation, and testing setup

## When to avoid
- you need a full production application rather than a starting point
- you use a different web framework like Express or Fastify
- you need a database other than SQLite without modifications
- you want a framework with runtime plugin systems rather than a copy-paste template

## Facets
- artifact type: learning-resource
- maturity: active
- function: api-framework, web-framework, orm, logging, testing, middleware, routing
- domain: web-development, backend, apis, developer-tools, documentation
- platform: cross-platform, cli
- tags: hono, openapi, zod, drizzle, scalar, starter-template, type-safe-apis, boilerplate, boilerplate, nodejs, typescript

## Member repositories
- w3cj/hono-open-api-starter (main) score 44

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:13.200318+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-30T08:33:51.449111+00:00, confidence not recorded.
  - readme: https://github.com/w3cj/hono-open-api-starter (fetched 2026-08-28T04:03:13.200318+00:00, sha 8fa0f21478ae)
- Data as of 2026-08-30T08:39:29.467469+00:00.
