Dream
OCaml web framework built from plain handler and middleware functions, with routing, sessions, WebSockets, GraphQL and HTTPS support.
camlworks.github.io/dream/repositorydocs
Dream is a web framework for OCaml. A project installs the dream package with opam or esy and writes its handlers as plain functions, composed with middleware and routes. The framework covers WebSockets, GraphQL, HTML templates written with embedded OCaml, sessions and HTTPS. Anton Bachin holds the copyright.
Worth knowing
The project’s examples include running Dream on a server as a systemd daemon, so a Dream application is a process that stays running rather than a set of static files.
Identity
Rendering and deploy
Releases
Adoption
Sources
- 2026-10-26: links, Categories, Runtime, Install with, Templating
camlworks.github.io/dream/ - 2026-10-26: links, Written in, License, GitHub stars
api.github.com/repos/camlworks/dream - 2026-10-26: Install with
github.com/camlworks/dream/blob/master/README.md - 2026-10-26: Runs as
github.com/camlworks/dream/blob/master/example/README.md - 2026-10-26: License model, Maintainer
github.com/camlworks/dream/blob/master/LICENSE.md - 2026-10-26: First release, Current major version, Last release
api.github.com/repos/camlworks/dream/releases - 2026-10-26: Contributors
api.github.com/repos/camlworks/dream/contributors