New OCaml web framework Spindle launched with built-in RFC-strict HTTP engine
A developer has released Spindle, a type-safe web framework for OCaml 5 built on the Eio multicore I/O library. It ships with its own HTTP/1.1 engine implementing RFC 9112, 9110, WebSocket (6455), multipart form (7578) and Structured Fields (9651) specifications, plus end-to-end typed JSON, auto-generated OpenAPI docs, and support for SQLite, Postgres, sessions and observability tooling.
GoKawiil's interpretation of the reporting above, not reported fact.
The project signals continued investment in OCaml's application-layer ecosystem as OCaml 5's multicore runtime matures, giving developers a native option instead of relying on bindings to other languages' web stacks. Its emphasis on spec-compliance and type-derived schemas could appeal to teams wanting stronger guarantees between backend and frontend code, though as a new, independently released tool its adoption and long-term maintenance remain unproven.
- Spindle is a new open-source web framework for OCaml 5, built natively on the Eio concurrency library.
- It implements its own HTTP/1.1, WebSocket, form, and Structured Fields handling directly against published RFCs.
- It supports typed JSON derivation, OpenAPI docs generation, and integrations with SQLite, Postgres, and frontend schema tools like Zod or Melange.
Source: github.com, 2026-11-05
Published there as: “Show HN: Spindle – a full-featured, type-safe web framework for OCaml 5”
Read the original report → The summary and analysis above are GoKawiil's own, written from reporting by the source above. Facts and quotes belong to the original publisher.