About Spindle
The web framework for modern OCaml. Contribute to hyphatech/spindle development by creating an account on GitHub.
Spindle is a multicore-by-design, eio-native web framework for modern OCaml.Its central idea is to provide an expressive, type-driven API and derive the rest: codecs, request validation, OpenAPI spec and frontend schemas (Zod and Melange). This keeps contracts in sync between server and client without maintaining separate definitions.The framework includes an RFC-strict HTTP server, composable dependencies, WebSockets, SSE and high-level primitives for building MCP servers. It also provides production-ready essentials like distributed tracing, OT-compatible metrics, logging and other features you would expect. Speed was never the goal but the benchmarks show it running x2 faster than NestJS…
Ratings & reviews
Log in to rate and review Spindle.
Discussion (0)
Log in to join the discussion.