docs: new root as prior history lost (orphan + GC); ~215 commits not recoverable

This commit is contained in:
Hernâni Marques 2026-07-13 10:12:00 +02:00
commit 96961f23f5
268 changed files with 24161 additions and 0 deletions

View file

@ -0,0 +1,21 @@
# Castopod — castopod.hacktivism.ch
| Item | Value |
|------|--------|
| Live | `/home/hernani/koopa-castopod/` |
| Compose | `compose.yml` (mirror, no secrets) |
| Port | **9020** → Caddy |
| Site | https://castopod.hacktivism.ch/ |
Secrets: `koopa-admin-secrets/…/koopa-castopod/` and host `~/koopa-castopod/{.env,users.env}`.
```bash
cd ~/koopa-castopod && set -a && source .env && set +a && podman-compose up -d
scripts/castopod/install-systemd.sh
scripts/castopod/apply-branding.sh
```
Daylogs: `2026/2026-07-09--castopod-content.md` (stack/accounts),
`2026/2026-07-13--castopod-boot-branding.md` (boot/branding).
Podcast content is **not** versioned in admin-log.

View file

@ -0,0 +1,64 @@
/*
* Optional warm-dark overlay for castopod.hacktivism.ch
* NOT an official Castopod theme Castopod only documents 6 accent colors
* (pine, crimson, lake, amber, jacaranda, onyx). See:
* https://docs.castopod.org/main/en/user-guide/instance/settings/
*
* Palette matches git.hacktivism.ch / bonfire (exchange-dark):
* body #1a1410, cream text, gold accent #e8a838, teal #3ecfbf.
* Prefer official theme "amber" first; this CSS deepens the page chrome.
*/
:root,
.theme-amber,
.theme-pine,
.theme-onyx {
--color-accent-base: 38 78% 56% !important; /* ~#e8a838 */
--color-accent-hover: 38 72% 48% !important;
--color-accent-muted: 38 60% 32% !important;
--color-accent-contrast: 28 22% 8% !important;
--color-heading-foreground: 40 80% 75% !important;
--color-heading-background: 28 22% 14% !important;
--color-background-elevated: 28 18% 14% !important;
--color-background-base: 28 22% 8% !important;
--color-background-navigation: 28 20% 10% !important;
--color-background-header: 28 22% 9% !important;
--color-background-highlight: 28 18% 16% !important;
--color-background-backdrop: 0 0% 0% !important;
--color-border-subtle: 32 18% 28% !important;
--color-border-contrast: 40 50% 70% !important;
--color-border-navigation: 32 18% 28% !important;
--color-text-base: 36 80% 95% !important; /* ~#fff6e8 */
--color-text-muted: 32 20% 72% !important;
}
body {
background-color: #1a1410 !important;
background-image:
radial-gradient(ellipse 90% 55% at 50% 108%, rgba(26, 107, 110, 0.35) 0%, transparent 55%),
radial-gradient(circle 420px at 12% 18%, rgba(232, 168, 56, 0.22) 0%, transparent 62%),
linear-gradient(165deg, #2c1e14 0%, #1a1410 38%, #12181a 72%, #0e1c1e 100%) !important;
background-attachment: fixed !important;
color: #fff6e8 !important;
}
a {
color: #f0c86a;
}
a:hover {
color: #5eead4;
}
/* Primary-ish buttons / chips that use solid white on accent */
.bg-white {
background-color: rgba(42, 32, 24, 0.92) !important;
color: #fff6e8 !important;
border: 1px solid rgba(232, 168, 56, 0.28);
}
/* Footer */
footer,
.page-footer {
border-top: 1px solid rgba(232, 168, 56, 0.22);
color: #c9b8a0 !important;
}

View file

@ -0,0 +1,90 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" width="128" height="128" role="img" aria-label="Wizard flying on magic wand, blue robe">
<!-- Original Kamek-inspired mark; not Nintendo art. No filters/transforms for clean raster. -->
<!-- motion streaks -->
<line x1="4" y1="64" x2="22" y2="64" stroke="#5eead4" stroke-width="2.5" stroke-linecap="round" opacity="0.55"/>
<line x1="6" y1="74" x2="20" y2="74" stroke="#38bdf8" stroke-width="2" stroke-linecap="round" opacity="0.45"/>
<line x1="8" y1="54" x2="20" y2="54" stroke="#fde68a" stroke-width="2" stroke-linecap="round" opacity="0.45"/>
<!-- ground shadow -->
<ellipse cx="64" cy="118" rx="30" ry="5" fill="#000" opacity="0.2"/>
<!-- ===== MAGIC WAND (mount) — diagonal, thick gold shaft ===== -->
<!-- sits under the rider from lower-left to upper-right -->
<line x1="6" y1="100" x2="108" y2="72" stroke="#92400e" stroke-width="11" stroke-linecap="round"/>
<line x1="6" y1="100" x2="108" y2="72" stroke="#e8a838" stroke-width="7" stroke-linecap="round"/>
<line x1="6" y1="100" x2="108" y2="72" stroke="#fde68a" stroke-width="2" stroke-linecap="round" opacity="0.75"/>
<!-- wand jewel (front tip) -->
<circle cx="112" cy="70" r="13" fill="#f59e0b" stroke="#fff7ed" stroke-width="3"/>
<circle cx="108" cy="66" r="4.5" fill="#fef9c3"/>
<!-- sparkles at tip -->
<polygon points="120,54 121.6,58.5 126,60 121.6,61.5 120,66 118.4,61.5 114,60 118.4,58.5" fill="#fef08a"/>
<polygon points="102,56 103,59 106,60 103,61 102,64 101,61 98,60 101,59" fill="#5eead4"/>
<circle cx="118" cy="78" r="2" fill="#bae6fd"/>
<!-- ===== RIDER on top of wand ===== -->
<!-- blue cape fluttering left -->
<path d="M38 78 C18 82, 10 98, 8 110 C22 98, 34 96, 40 92 Z" fill="#1e3a8a"/>
<path d="M40 80 C22 88, 14 104, 12 112 C28 100, 36 98, 42 94 Z" fill="#1d4ed8"/>
<!-- BLUE ROBE (body sitting ON shaft) -->
<ellipse cx="54" cy="86" rx="28" ry="22" fill="#1d4ed8"/>
<ellipse cx="54" cy="84" rx="24" ry="18" fill="#2563eb"/>
<!-- white trim -->
<path d="M32 74 Q54 94 76 74" fill="none" stroke="#f8fafc" stroke-width="4" stroke-linecap="round"/>
<path d="M36 82 Q54 98 72 82" fill="none" stroke="#e2e8f0" stroke-width="2.5" stroke-linecap="round"/>
<!-- green shell -->
<ellipse cx="66" cy="92" rx="13" ry="11" fill="#16a34a"/>
<ellipse cx="66" cy="92" rx="6" ry="5" fill="#86efac" opacity="0.75"/>
<!-- legs over the wand -->
<ellipse cx="42" cy="100" rx="10" ry="7" fill="#1e40af"/>
<ellipse cx="60" cy="102" rx="10" ry="7" fill="#1e40af"/>
<!-- yellow feet hanging past shaft -->
<ellipse cx="38" cy="106" rx="7" ry="4.5" fill="#fbbf24"/>
<ellipse cx="64" cy="108" rx="7" ry="4.5" fill="#fbbf24"/>
<!-- left arm forward -->
<ellipse cx="30" cy="82" rx="9" ry="7" fill="#1d4ed8"/>
<circle cx="24" cy="78" r="5.5" fill="#fbbf24"/>
<!-- right arm up -->
<ellipse cx="74" cy="74" rx="9" ry="7" fill="#1d4ed8"/>
<circle cx="80" cy="68" r="5.5" fill="#fbbf24"/>
<circle cx="82" cy="60" r="5" fill="#38bdf8"/>
<circle cx="81" cy="58" r="1.8" fill="#e0f2fe"/>
<!-- ===== HEAD ===== -->
<ellipse cx="54" cy="50" rx="26" ry="24" fill="#fbbf24"/>
<ellipse cx="54" cy="53" rx="21" ry="17" fill="#fcd34d"/>
<ellipse cx="34" cy="54" rx="6" ry="4" fill="#fb923c" opacity="0.4"/>
<ellipse cx="74" cy="54" rx="6" ry="4" fill="#fb923c" opacity="0.4"/>
<!-- glasses -->
<circle cx="42" cy="50" r="10" fill="#bae6fd" fill-opacity="0.4" stroke="#0f172a" stroke-width="3"/>
<circle cx="66" cy="50" r="10" fill="#bae6fd" fill-opacity="0.4" stroke="#0f172a" stroke-width="3"/>
<line x1="52" y1="50" x2="56" y2="50" stroke="#0f172a" stroke-width="3"/>
<line x1="32" y1="47" x2="24" y2="42" stroke="#0f172a" stroke-width="2.5" stroke-linecap="round"/>
<line x1="76" y1="47" x2="84" y2="42" stroke="#0f172a" stroke-width="2.5" stroke-linecap="round"/>
<circle cx="44" cy="50" r="3" fill="#0f172a"/>
<circle cx="68" cy="50" r="3" fill="#0f172a"/>
<circle cx="45.2" cy="48.8" r="1.1" fill="#fff"/>
<circle cx="69.2" cy="48.8" r="1.1" fill="#fff"/>
<!-- snout + mustache -->
<ellipse cx="54" cy="62" rx="8" ry="5" fill="#f59e0b"/>
<path d="M36 64 Q46 74 54 70 Q62 74 72 64 Q64 72 54 74 Q44 72 36 64 Z" fill="#f8fafc"/>
<path d="M44 66 Q54 74 64 66" fill="none" stroke="#92400e" stroke-width="2.2" stroke-linecap="round"/>
<!-- BLUE pointed hat -->
<path d="M28 44 L54 2 L80 44 Z" fill="#1d4ed8"/>
<path d="M36 44 L54 10 L72 44 Z" fill="#3b82f6" opacity="0.5"/>
<ellipse cx="54" cy="44" rx="30" ry="8" fill="#1e40af"/>
<ellipse cx="54" cy="42.5" rx="26" ry="5" fill="#2563eb"/>
<ellipse cx="54" cy="44" rx="30" ry="8" fill="none" stroke="#f8fafc" stroke-width="2.2"/>
<polygon points="54,12 55.6,16.8 60.5,18.4 55.6,20 54,24.8 52.4,20 47.5,18.4 52.4,16.8" fill="#f8fafc"/>
<polygon points="42,22 43.1,25.2 46.2,26.4 43.1,27.6 42,30.8 40.9,27.6 37.8,26.4 40.9,25.2" fill="#fef08a"/>
<circle cx="54" cy="4" r="6" fill="#f8fafc"/>
</svg>

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

View file

@ -0,0 +1,90 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" width="128" height="128" role="img" aria-label="Wizard flying on magic wand, blue robe">
<!-- Original Kamek-inspired mark; not Nintendo art. No filters/transforms for clean raster. -->
<!-- motion streaks -->
<line x1="4" y1="64" x2="22" y2="64" stroke="#5eead4" stroke-width="2.5" stroke-linecap="round" opacity="0.55"/>
<line x1="6" y1="74" x2="20" y2="74" stroke="#38bdf8" stroke-width="2" stroke-linecap="round" opacity="0.45"/>
<line x1="8" y1="54" x2="20" y2="54" stroke="#fde68a" stroke-width="2" stroke-linecap="round" opacity="0.45"/>
<!-- ground shadow -->
<ellipse cx="64" cy="118" rx="30" ry="5" fill="#000" opacity="0.2"/>
<!-- ===== MAGIC WAND (mount) — diagonal, thick gold shaft ===== -->
<!-- sits under the rider from lower-left to upper-right -->
<line x1="6" y1="100" x2="108" y2="72" stroke="#92400e" stroke-width="11" stroke-linecap="round"/>
<line x1="6" y1="100" x2="108" y2="72" stroke="#e8a838" stroke-width="7" stroke-linecap="round"/>
<line x1="6" y1="100" x2="108" y2="72" stroke="#fde68a" stroke-width="2" stroke-linecap="round" opacity="0.75"/>
<!-- wand jewel (front tip) -->
<circle cx="112" cy="70" r="13" fill="#f59e0b" stroke="#fff7ed" stroke-width="3"/>
<circle cx="108" cy="66" r="4.5" fill="#fef9c3"/>
<!-- sparkles at tip -->
<polygon points="120,54 121.6,58.5 126,60 121.6,61.5 120,66 118.4,61.5 114,60 118.4,58.5" fill="#fef08a"/>
<polygon points="102,56 103,59 106,60 103,61 102,64 101,61 98,60 101,59" fill="#5eead4"/>
<circle cx="118" cy="78" r="2" fill="#bae6fd"/>
<!-- ===== RIDER on top of wand ===== -->
<!-- blue cape fluttering left -->
<path d="M38 78 C18 82, 10 98, 8 110 C22 98, 34 96, 40 92 Z" fill="#1e3a8a"/>
<path d="M40 80 C22 88, 14 104, 12 112 C28 100, 36 98, 42 94 Z" fill="#1d4ed8"/>
<!-- BLUE ROBE (body sitting ON shaft) -->
<ellipse cx="54" cy="86" rx="28" ry="22" fill="#1d4ed8"/>
<ellipse cx="54" cy="84" rx="24" ry="18" fill="#2563eb"/>
<!-- white trim -->
<path d="M32 74 Q54 94 76 74" fill="none" stroke="#f8fafc" stroke-width="4" stroke-linecap="round"/>
<path d="M36 82 Q54 98 72 82" fill="none" stroke="#e2e8f0" stroke-width="2.5" stroke-linecap="round"/>
<!-- green shell -->
<ellipse cx="66" cy="92" rx="13" ry="11" fill="#16a34a"/>
<ellipse cx="66" cy="92" rx="6" ry="5" fill="#86efac" opacity="0.75"/>
<!-- legs over the wand -->
<ellipse cx="42" cy="100" rx="10" ry="7" fill="#1e40af"/>
<ellipse cx="60" cy="102" rx="10" ry="7" fill="#1e40af"/>
<!-- yellow feet hanging past shaft -->
<ellipse cx="38" cy="106" rx="7" ry="4.5" fill="#fbbf24"/>
<ellipse cx="64" cy="108" rx="7" ry="4.5" fill="#fbbf24"/>
<!-- left arm forward -->
<ellipse cx="30" cy="82" rx="9" ry="7" fill="#1d4ed8"/>
<circle cx="24" cy="78" r="5.5" fill="#fbbf24"/>
<!-- right arm up -->
<ellipse cx="74" cy="74" rx="9" ry="7" fill="#1d4ed8"/>
<circle cx="80" cy="68" r="5.5" fill="#fbbf24"/>
<circle cx="82" cy="60" r="5" fill="#38bdf8"/>
<circle cx="81" cy="58" r="1.8" fill="#e0f2fe"/>
<!-- ===== HEAD ===== -->
<ellipse cx="54" cy="50" rx="26" ry="24" fill="#fbbf24"/>
<ellipse cx="54" cy="53" rx="21" ry="17" fill="#fcd34d"/>
<ellipse cx="34" cy="54" rx="6" ry="4" fill="#fb923c" opacity="0.4"/>
<ellipse cx="74" cy="54" rx="6" ry="4" fill="#fb923c" opacity="0.4"/>
<!-- glasses -->
<circle cx="42" cy="50" r="10" fill="#bae6fd" fill-opacity="0.4" stroke="#0f172a" stroke-width="3"/>
<circle cx="66" cy="50" r="10" fill="#bae6fd" fill-opacity="0.4" stroke="#0f172a" stroke-width="3"/>
<line x1="52" y1="50" x2="56" y2="50" stroke="#0f172a" stroke-width="3"/>
<line x1="32" y1="47" x2="24" y2="42" stroke="#0f172a" stroke-width="2.5" stroke-linecap="round"/>
<line x1="76" y1="47" x2="84" y2="42" stroke="#0f172a" stroke-width="2.5" stroke-linecap="round"/>
<circle cx="44" cy="50" r="3" fill="#0f172a"/>
<circle cx="68" cy="50" r="3" fill="#0f172a"/>
<circle cx="45.2" cy="48.8" r="1.1" fill="#fff"/>
<circle cx="69.2" cy="48.8" r="1.1" fill="#fff"/>
<!-- snout + mustache -->
<ellipse cx="54" cy="62" rx="8" ry="5" fill="#f59e0b"/>
<path d="M36 64 Q46 74 54 70 Q62 74 72 64 Q64 72 54 74 Q44 72 36 64 Z" fill="#f8fafc"/>
<path d="M44 66 Q54 74 64 66" fill="none" stroke="#92400e" stroke-width="2.2" stroke-linecap="round"/>
<!-- BLUE pointed hat -->
<path d="M28 44 L54 2 L80 44 Z" fill="#1d4ed8"/>
<path d="M36 44 L54 10 L72 44 Z" fill="#3b82f6" opacity="0.5"/>
<ellipse cx="54" cy="44" rx="30" ry="8" fill="#1e40af"/>
<ellipse cx="54" cy="42.5" rx="26" ry="5" fill="#2563eb"/>
<ellipse cx="54" cy="44" rx="30" ry="8" fill="none" stroke="#f8fafc" stroke-width="2.2"/>
<polygon points="54,12 55.6,16.8 60.5,18.4 55.6,20 54,24.8 52.4,20 47.5,18.4 52.4,16.8" fill="#f8fafc"/>
<polygon points="42,22 43.1,25.2 46.2,26.4 43.1,27.6 42,30.8 40.9,27.6 37.8,26.4 40.9,25.2" fill="#fef08a"/>
<circle cx="54" cy="4" r="6" fill="#f8fafc"/>
</svg>

After

Width:  |  Height:  |  Size: 4.9 KiB

View file

@ -0,0 +1,81 @@
# koopa-castopod — Castopod behind host Caddy on :9020
# Docs: https://docs.castopod.org/main/en/getting-started/docker/
services:
castopod:
image: docker.io/castopod/castopod:1
container_name: koopa-castopod
volumes:
- castopod-media:/app/public/media
# optional branding host dir (logo + CSS overlay); safe if empty
- ./branding:/branding:ro
environment:
MYSQL_DATABASE: castopod
MYSQL_USER: castopod
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
CP_BASEURL: ${CP_BASEURL}
CP_ANALYTICS_SALT: ${CP_ANALYTICS_SALT}
CP_CACHE_HANDLER: redis
CP_REDIS_HOST: redis
CP_REDIS_PASSWORD: ${MYSQL_PASSWORD}
networks:
- castopod-app
- castopod-db
ports:
- "9020:8080"
labels:
org.hacktivism.service: castopod
org.hacktivism.host_port: "9020"
org.hacktivism.site: castopod.hacktivism.ch
org.hacktivism.managed_by: koopa-admin
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
interval: 30s
timeout: 10s
retries: 5
start_period: 60s
depends_on:
mariadb:
condition: service_healthy
redis:
condition: service_started
mariadb:
image: docker.io/library/mariadb:11
container_name: koopa-castopod-mariadb
networks:
- castopod-db
volumes:
- castopod-db:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
MYSQL_DATABASE: castopod
MYSQL_USER: castopod
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
restart: unless-stopped
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
start_period: 20s
interval: 10s
timeout: 5s
retries: 5
redis:
image: docker.io/library/redis:7-alpine
container_name: koopa-castopod-redis
command: --requirepass ${MYSQL_PASSWORD}
volumes:
- castopod-cache:/data
networks:
- castopod-app
restart: unless-stopped
volumes:
castopod-media:
castopod-db:
castopod-cache:
networks:
castopod-app:
castopod-db:
internal: true

View file

@ -0,0 +1,21 @@
# user systemd — MariaDB for Castopod
[Unit]
Description=Castopod MariaDB (koopa-castopod-mariadb)
Wants=network-online.target
After=network-online.target
RequiresMountsFor=%t/containers
[Service]
Environment=PODMAN_SYSTEMD_UNIT=%n
Restart=on-failure
RestartSec=15
TimeoutStartSec=300
TimeoutStopSec=70
WorkingDirectory=/home/hernani/koopa-castopod
ExecStart=/usr/bin/podman-compose up -d mariadb
ExecStop=/usr/bin/podman stop -t 30 koopa-castopod-mariadb
Type=oneshot
RemainAfterExit=yes
[Install]
WantedBy=default.target

View file

@ -0,0 +1,21 @@
# user systemd — Redis for Castopod
[Unit]
Description=Castopod Redis (koopa-castopod-redis)
Wants=network-online.target
After=network-online.target
RequiresMountsFor=%t/containers
[Service]
Environment=PODMAN_SYSTEMD_UNIT=%n
Restart=on-failure
RestartSec=15
TimeoutStartSec=180
TimeoutStopSec=40
WorkingDirectory=/home/hernani/koopa-castopod
ExecStart=/usr/bin/podman-compose up -d redis
ExecStop=/usr/bin/podman stop -t 15 koopa-castopod-redis
Type=oneshot
RemainAfterExit=yes
[Install]
WantedBy=default.target

View file

@ -0,0 +1,21 @@
# user systemd — Castopod web (depends on MariaDB + Redis)
[Unit]
Description=Castopod web (koopa-castopod)
Wants=network-online.target container-koopa-castopod-mariadb.service container-koopa-castopod-redis.service
After=network-online.target container-koopa-castopod-mariadb.service container-koopa-castopod-redis.service
RequiresMountsFor=%t/containers
[Service]
Environment=PODMAN_SYSTEMD_UNIT=%n
Restart=on-failure
RestartSec=20
TimeoutStartSec=300
TimeoutStopSec=120
WorkingDirectory=/home/hernani/koopa-castopod
ExecStart=/usr/bin/podman-compose up -d castopod
ExecStop=/usr/bin/podman stop -t 30 koopa-castopod
Type=oneshot
RemainAfterExit=yes
[Install]
WantedBy=default.target