| name | last commit | updated |
|---|---|---|
| .githooks/ | Build with orgo instead of Zola (!23) | 17 days ago |
| .github/ | Link cleberg.net/tips from FUNDING.yml | 9 days ago |
| assets/ | Replace the terminal theme with a Swiss design system | 2 months ago |
| content/ | moonrise: link the App Store listing (!34) | 2 days ago |
| static/ | Add apple-app-site-association for hellsite. sign-in | 17 days ago |
| templates/ | add meta links | 8 hours ago |
| .gitignore | initial commit | 3 months ago |
| LICENSE | relicense to 0bsd | 3 months ago |
| README.org | Build with orgo instead of Zola (!23) | 17 days ago |
| build.sh | Build with orgo instead of Zola (!23) | 17 days ago |
krz.sh
what
source for krz.sh, the krz website. built with orgo.
develop
orgo serve content -o /tmp/krz-preview
open http://127.0.0.1:3000.
build
./build.sh
output goes to public/. build.sh runs orgo build --strict, then
versions asset urls by content hash, sets the footer year and lists
directory urls in sitemap.xml.
structure
content/ pages, one directory index per url; orgo.toml is the config templates/ minijinja templates templates/data/ the services list and unreleased apps, as template literals static/ assets, main.css, favicon.svg, og.png assets/ logo sources; assets/build.sh regenerates the icons
deploy
pushing main runs .githooks/pre-push, which runs build.sh and rsyncs public/ to homelab:/var/www/krz.sh/. the sync uses –delete, so the remote mirrors public/ exactly.
git does not clone hooks. enable them once per checkout:
git config core.hooksPath .githooks
cloudflare fronts krz.sh and caches static assets for a year. build.sh cachebusts the asset urls in templates/base.html so changes propagate; anything else needs a manual purge.
Clone
SSHgit clone ssh://git@gitbay.org/krz/krz.sh.git
HTTPSgit clone https://gitbay.org/krz/krz.sh.git