blog.osau.re
October 1, 2024 ยท View on GitHub
The source code of the generator and the content of my blog, naively using YOCaml. The blog is available on:
The first website uses the GitHub pages mechanism (see the gh-pages branch),
the second is an unikernel with unipi on
my machine (plus contruno for TLS).
You can have a local version of my blog with:
$ opam pin add -y https://github.com/dinosaure/blogger
$ dune exec bin/watch.exe ---
$ wget http://localhost:8000/
The executable is able to push (like git push) the website to a Git repository
on a specific branch (like repository.git#gh-pages). By default, the tool can
use ssh (with recorded private SSH key with ssh-agent) to push into a Git
repository. It can notify an unipi unikernel with the --hook option (and
let it to resynchronize values with the new commit).
$ dune exec bin/push.exe -- -r git@localhost:blog.git --hook http://10.0.0.1/hook \
[--name "Romain Calascibetta"] \
[--email romain.calascibetta@gmail.com]
For more details, you can see my article: Again, re-update of my blog after 2 years.