FindSoftware

Dream

OCaml web framework built from plain handler and middleware functions, with routing, sessions, WebSockets, GraphQL and HTTPS support.

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

Status
Active
Maintainer
Anton Bachin5
First release
20216

Rendering and deploy

Runs as
Always on4
Install with
opam install dream13

Releases

Current major version
16
Last release
2026-10-076

Adoption

GitHub stars
1,8972
Contributors
597

Why these figures do not compare

Sources

  1. 2026-10-26: links, Categories, Runtime, Install with, Templating
    camlworks.github.io/dream/
  2. 2026-10-26: links, Written in, License, GitHub stars
    api.github.com/repos/camlworks/dream
  3. 2026-10-26: Install with
    github.com/camlworks/dream/blob/master/README.md
  4. 2026-10-26: Runs as
    github.com/camlworks/dream/blob/master/example/README.md
  5. 2026-10-26: License model, Maintainer
    github.com/camlworks/dream/blob/master/LICENSE.md
  6. 2026-10-26: First release, Current major version, Last release
    api.github.com/repos/camlworks/dream/releases
  7. 2026-10-26: Contributors
    api.github.com/repos/camlworks/dream/contributors

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON