# oakserver/oak

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕

Repository: https://github.com/oakserver/oak
Canonical: https://ross.abutalabs.com/products/oak
Homepage: https://oakserver.org
Language: TypeScript
License: MIT
License Family: permissive
Topics: middleware-framework, deno, http-server, oak, router-middleware, middleware-frameworks
Last push: 2026-02-22T08:54:17+00:00

## Health v2 (maintenance only)
Score: 63/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 68, release rhythm 35, longevity 100
- inputs: {"age_days": 2821, "days_push": 192, "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 5410, forks 240 (observed 2026-08-28T04:09:17.768566+00:00)

## What it is
Oak is a middleware framework for handling HTTP requests, inspired by Koa and Express, with an included middleware router. It runs on Deno, Deno Deploy, Node.js, Bun, and Cloudflare Workers.

## Use cases
- build an http server in deno
- create a rest api with middleware
- route http requests in a typescript backend
- deploy a web server to cloudflare workers
- port an express or koa style app across runtimes
- handle websockets and http requests in bun

## When to choose
- you want a Koa-like middleware framework across Deno, Node, Bun, and Workers
- you are building HTTP APIs or web servers in TypeScript
- you need cross-runtime support with a familiar Express/Koa API

## When to avoid
- you need a full-featured batteries-included framework like NestJS
- you need native WebSocket upgrades or TLS on all supported runtimes
- you prefer minimal raw HTTP handlers without middleware

## Facets
- artifact type: framework
- maturity: active
- function: web-framework, middleware, routing, http-server
- domain: web-development, backend, apis
- platform: bun, cross-platform, serverless
- tags: koa-inspired, http, cloudflare-workers, typescript, deno, nodejs

## Member repositories
- oakserver/oak (main) score 63

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:17.768566+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:57:46.408176+00:00, confidence not recorded.
  - readme: https://github.com/oakserver/oak (fetched 2026-08-28T04:09:17.768566+00:00, sha b212b3dfa96c)
  - homepage: https://oakserver.org (fetched 2026-08-29T08:52:39.482565+00:00, sha 30ec95739bc1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
