Spindle
a full-featured, type-safe web framework for OCaml 5
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
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 and x5 faster than FastAPI on a single core.Give it a try.Documentation: https://hyphatech.github.io/spindle/
HN · launched Nov 5, 2026 · 64 upvotes (top 17%) · 0 views
Niche: software development frameworks · 154 launches, 2 in the last 7 days ▼ -89% · Explore this niche →
Category and tags
- Horizontal
- Dev tools
- Developer
- Not AI
- Hobby / open-source project
Visit website ↗ Source listing ↗
More like this: all 154 launches in software development frameworks →
Could you build this?
Partial The HTTP layer and code generation can be built iteratively with AI help, but a type-driven framework with derived codecs, OpenAPI, and Zod/Melange output depends on deep OCaml, effects, and type-system expertise that vibe coding will struggle to get right.
What it would actually take: The stack is OCaml 5 with eio for concurrency, a ppx or type-level derivation layer for codecs and validation, and generators for OpenAPI, Zod, and Melange frontend schemas. The hard parts are designing a sound type-driven API that derives all artifacts without drift and keeping the multicore/eio runtime correct under load. Building it requires experienced OCaml systems engineers who understand ppx tooling, effect handlers, and the OpenAPI and Zod specs.
Discussion
8 comments analyzed.
Concerns raised: Website has an AI-generated look, No deployed real-world example to evaluate
Feature requests: Use Eio.Path.open_subtree in static file serving to prevent symlink escapes
Competitors
Other products that read as similar to this one : 263 launches clear the similarity bar, closest 8 shown.
Attention rank: #49 of 264 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 372 days after the earliest competitor.
- Crust · hn · 2026-03-17 · 95 upvotes · similarity 0.46
- Ducklang: Achieving 100x more requests per second than NextJS · hn · 2026-01-01 · 9 upvotes · similarity 0.45
- Rapid-rs · hn · 2025-11-20 · 9 upvotes · similarity 0.44
- Titan · hn · 2025-12-11 · 49 upvotes · similarity 0.43
- Axeon · ph · 2026-10-21 · 1 upvotes · similarity 0.42
- A stateful UI runtime for reactive web apps in Go · hn · 2026-04-14 · 14 upvotes · similarity 0.42
- Penca · hn · 2026-07-31 · 14 upvotes · similarity 0.42
- MōBrowser, a TypeScript-first desktop app framework with typed IPC · hn · 2026-04-14 · 7 upvotes · similarity 0.40
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.