Show HN: Spindle – a full-featured, type-safe web framework for OCaml 5
0 comments
- Points60
- Comments8
0 comments
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…
Story details from Hacker News ↗ · linked article on github.com.
Show HN: Spindle – a full-featured, type-safe web framework for OCaml 5 was first seen on Hacker News · Front page on Nov 7, 2026. Since then it has appeared in 53 checks on 2 different days, across 2 lists (Hacker News · Front page, Hacker News · Show HN · this week). Its best position was #16 of 30, reached on Nov 7, 18:24 UTC. It dropped off the list after Nov 8, 15:50 UTC.
Position on Hacker News · Front page at every check (lower is better).
Best rank per day (UTC).
Platform metric as reported by Hacker News.
| List | Best | Days | Checks | Last seen |
|---|---|---|---|---|
| Hacker News · Front page | #16 | 1 | 29 | |
| Hacker News · Show HN · this week | #22 | 2 | 24 |
A few top-level comments from Hacker News, shortened. Read the full thread on Hacker News.
Nice work! Just looking through the Eio code, you may want to use the capability restrictions more. For example, in the static file serving code, you can use `Eio.Path.open_subtree` which will use Linux fd sandboxing to prevent accidental symlink escapes or other ways to leave that subtree:…
Will keep an eye on this project, love me some Ocaml! Do you have an example of it deployed and in use? Don’t like the “fresh off the AI block” feeling of the website but could be a bit more confident if I could see it used in the actual wild!
Cool to see some Lisp in this OCaml project: Add to your bin/dune: (executable (name main) (libraries spindle eio_main) (preprocess (pps ppx_wiretype)))**
Archived daily, weekly and monthly lists that include this entry.
Not at the moment. It was last on the list on Nov 8, 15:50 UTC, after 2 days of trending.
#16 on Hacker News · Front page, on Nov 7, 18:24 UTC. Trendoday checks this list every 15 minutes.
It was first seen on Nov 7, 2026 and has been on the list on 2 days (53 checks) since.
60 points and 8 comments; submitted by zaiev on Nov 5, 2026.