sh0ds.dev

what
static site, served from a Raspberry Pi 5 on my desk
goal
write every tool behind this site myself
order
shell, SQL → C, ARM64 → Haskell → Pharo → Erlang
next
/next, the rebuild in progress, not up yet

hardware

host
raspberry-pizian
soc
BCM2712, 4× Cortex-A76 @ 2.4 GHz
ram
8 GB LPDDR4X
root
NVMe SSD
bak
restic 03:30, local HDD + Hetzner Storage Box
os
Raspberry Pi OS Lite, arm64
httpd
Caddy 2.11
build
3sgc, C11

live stats connecting

temp
—
load
—
mem
—
up
—
since last boot
src
/ramdisk/pistats.json, polled every 10 s, waiting for the first sample

partitions

partlabelused forflag
p01LinuxCaddy, AdGuard Home, systemd timers, resticusing
p02Bash · AWKdeploy script, timers, log parsingusing
p03SQLSQLite: visit counts, FTS5 searchusing
p04C3sgc: Markdown → HTML, templates, listingsusing
p05ARM64reading compiler output, crc32 by handlearning
p06HaskellMarkdown parser for 3sgclearning
p07Pharosite tool: build, link check, feedsnext
p08Erlanglive stats over WebSocket, guestbooknext

boot sequence

  1. pushcommit to mainOK
  2. pullsite-deploy.timer polls GitHub every 2 minOK
  3. makecc -std=c11 -Wall -Wextra → build/3sgcOK
  4. 3sgccontent/*.md → blog/, projects/OK
  5. rsyncoutput → /srv/wwwOK
  6. youHTTPSBOOT