yocaml fork to add a flake and nix packages for the components.
  • OCaml 90.5%
  • Standard ML 6.6%
  • Perl 1.3%
  • Nix 0.7%
  • Dune 0.5%
  • Other 0.3%
Find a file
reym 54c4677b62
Some checks failed
YOCaml Deploy Documentation / opam build & run tests (push) Has been cancelled
Test / build-and-test (5, macos-latest) (push) Has been cancelled
Test / build-and-test (5, ubuntu-latest) (push) Has been cancelled
Test / lint-fmt (ocaml-base-compiler.5.3.0, ubuntu-latest) (push) Has been cancelled
Add nix flake and packages.
2026-10-12 23:23:07 +02:00
.github/workflows Remove lint-doc (that always fail) 2026-08-21 17:16:40 +02:00
doc Add Yocaml.Data.Validation.sub_record 2025-12-10 14:13:00 +01:00
examples Add String validators and negate function 2025-10-09 15:10:27 +01:00
lib Ignore queries on the path from the HTTP server 2026-07-02 12:41:33 +02:00
plugins Use the upstream version of httpcats 2026-05-07 10:31:31 +02:00
test Remove tree usage 2026-04-11 15:50:33 +02:00
.gitignore chore 2025-10-30 11:52:17 +01:00
.ocamlformat Upgrade OCamlformat to 0.28.1 2026-01-08 05:06:56 +01:00
.ocamlformat-ignore Some mdx tweaking 2024-10-04 04:25:27 +02:00
CHANGES.md Prepare for 3.0.1 2026-08-21 17:19:21 +02:00
dune-project Use the upstream version of httpcats 2026-05-07 10:31:31 +02:00
flake.lock Add nix flake and packages. 2026-10-12 23:23:07 +02:00
flake.nix Add nix flake and packages. 2026-10-12 23:23:07 +02:00
LICENSE Initialize the OCaml's project boilerplate 2024-10-04 04:25:27 +02:00
package.nix Add nix flake and packages. 2026-10-12 23:23:07 +02:00
README.md README: add fantazio.eu 2026-06-22 16:23:52 +02:00
yocaml.opam Fix qcheck version 2025-12-31 13:01:36 +01:00
yocaml_cmarkit.opam Add x-maintenance-intent 2025-09-19 17:35:09 +02:00
yocaml_eio.opam Fix OPAM version 2025-09-27 16:13:10 +02:00
yocaml_git.opam Add x-maintenance-intent 2025-09-19 17:35:09 +02:00
yocaml_jingoo.opam Add x-maintenance-intent 2025-09-19 17:35:09 +02:00
yocaml_liquid.opam Fix Liquid_ml version boundaries 2025-11-20 12:01:57 +01:00
yocaml_markdown.nix Add nix flake and packages. 2026-10-12 23:23:07 +02:00
yocaml_markdown.opam Add x-maintenance-intent 2025-09-19 17:35:09 +02:00
yocaml_mustache.opam Fix OPAM version 2025-09-27 16:13:10 +02:00
yocaml_omd.opam Add x-maintenance-intent 2025-09-19 17:35:09 +02:00
yocaml_otoml.opam Add x-maintenance-intent 2025-09-19 17:35:09 +02:00
yocaml_runtime.nix Add nix flake and packages. 2026-10-12 23:23:07 +02:00
yocaml_runtime.opam Fix OPAM version 2025-09-27 16:13:10 +02:00
yocaml_syndication.opam Fix qcheck version 2025-12-31 13:01:36 +01:00
yocaml_unix.nix Add nix flake and packages. 2026-10-12 23:23:07 +02:00
yocaml_unix.opam Use the upstream version of httpcats 2026-05-07 10:31:31 +02:00
yocaml_yaml.nix Add nix flake and packages. 2026-10-12 23:23:07 +02:00
yocaml_yaml.opam Add x-maintenance-intent 2025-09-19 17:35:09 +02:00

YOCaml

YOCaml is framework for building static site generator, written in OCaml.

You will find a comprehensive tutorial on how to use YOCaml on the official website.

Dev setup

We suggest creating a local switch to create a sandboxed development environment.

opam update
opam switch create . --deps-only --with-doc --with-test --with-dev-setup -y
eval $(opam env)

When the environment is prepared, dune build should build the project.

Useful commands

  • dune fmt Format the entire code base according to the profile described in the .ocamlformat file.
  • dune test Run the tests (for expectation tests, following the command with dune promote will regenerate the tests that produce outputs)

Ensure that you have run dune fmt and dune test before waiting for your branch to be merged.

Website using YOCaml

Here is a list of websites that use YOCaml, along with their repositories. In addition, you will find some basic examples in the example directory.

Website Source
YOCaml Tutorial Repository
Ring.muhokama Repository
Gr-im Repository
Xvw Repository
Condor du plateau Repository
Maiste Repository
UnrealDev Repository
zeenat.dev Repository
paws-planets-plates Repository
Dev-JoyA Repository
clementd Repository
Linda-Njau Repository
bthuillier Repository
fantazio Repository

Please feel free to add your website to this list!