Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A library of OCaml tools for building small, green static websites, with OCurrent pipeline support.
Sesame is a library of tools in OCaml for building smaller, greener, and more accessible static websites, inspired by Low Tech Magazine and designed around the concept of Collections. The project ships two layers: Sesame, the core suite of transformations, and Current_sesame, which plugs into the OCurrent ecosystem to produce incremental site generators with hot-reloading.
Sesame is a suite of tools written in OCaml for generating lightweight static websites. It takes Markdown files that include YAML frontmatter (the Jekyll format) and outputs HTML, with built-in support for table-of-contents generation and responsive image generation. The companion library, Current_sesame, combines these tools with the rest of the OCurrent ecosystem to build incremental site generators that can hot-reload during development. The project is hosted on GitHub and currently has 72 stars.
Meta interface.--- lines above the Markdown body.ppx_deriving_yaml to generate YAML parsers from OCaml record types, as shown in the tutorial../examples directory contains basic working examples to start from.Define an OCaml type for your metadata (for example, fields like title and authors), annotate it to derive YAML parsing, write Markdown files with matching frontmatter, then use Sesame's transformations to render HTML. For incremental builds, Current_sesame wraps these tools in OCurrent pipelines that watch sources and hot-reload.
Yes, through Current_sesame, which uses the OCurrent ecosystem to create pipelines with hot-reloading.
A Collection is a group of documents that share a common metadata schema. You define the metadata interface in OCaml, and Sesame reads YAML frontmatter to match it.
It uses the Jekyll format, which puts YAML metadata between triple-dash lines above the Markdown body.
Sesame is a public GitHub project, so its source code is accessible, but the license is not stated in the provided content.
