This is the source code of my website. You can find the result at http://vincent.bernat.ch. I am using Hyde, an unmaintained static website generator written in Python. Likely, I would need to switch to another project, either Nikola or doit, which is used by Nikola to build a SSG.
Licensing is described in content/en/licenses.html.
This site is hosted on NixOS instances. You may find the remaining
nginx configuration on another Git repository (the other
part is in layout/nginx.j2).
nix develop
inv build
Check oudated dependencies:
uv lock --upgrade --dry-run
Update all dependencies:
uv lock --upgrade
Update only one dependency:
uv lock --upgrade-package lxml
--package-lock-only updates package.json/package-lock.json without
touching the Nix-managed node_modules symlink. Nix rebuilds it on the next
nix develop.
Check oudated dependencies:
npm outdated
Add or upgrade a dependency:
npm install --package-lock-only katex@latest
Update nixpkgs:
nix flake update nixpkgs
Easy rebase of a WIP progress + checkout:
git rebase latest article/something
I write articles in English, then translate them to French. As I am not a native English speaker, I use LLMs to edit the English content and to translate to French. Since French is my mother tongue, I proofread the French result myself.
The skills/ directory contains Agent Skills for these tasks:
translate: translate an English article to Frenchedit: proofread and lightly edit an English articleresearch: research an article's topic, verify claims, and suggest additional citations
I do not let LLMs write content outside light editing and translation.