lemmy: hacktivism extra_themes + apply-branding

This commit is contained in:
Hernâni Marques 2026-08-17 15:04:19 +02:00
parent 4609035d46
commit d519fb3c80
No known key found for this signature in database
GPG key ID: CB5738652768F7E9
9 changed files with 80 additions and 6 deletions

View file

@ -16,6 +16,7 @@
| `nym/` | **koopa-nym** build/up/status (nym.com nym-node) |
| `taler-wallet-cli/` | thin wrappers; **benchmarks live in** `../benchmarks/` |
| `castopod/` | host `hernani` podman-compose `~/koopa-castopod` — see `castopod/README.md` |
| `lemmy/` | host `hernani` podman-compose `~/koopa-lemmy` — see `configs/lemmy/README.md` |
**Secrets:** never in this tree — sibling **`../koopa-admin-secrets`** (`koopa/host-root/<service>/``/root/` on host; `containers/…/secrets/` for in-container).

12
scripts/lemmy/apply-branding.sh Executable file
View file

@ -0,0 +1,12 @@
#!/usr/bin/env bash
# Build extra_themes/hacktivism.css (darkly + hacktivism overrides) and set site default.
set -euo pipefail
LIVE="${HOME}/koopa-lemmy"
ROOT="$(cd "$(dirname "$0")/../.." && pwd)"
OVERRIDES="${ROOT}/configs/lemmy/extra_themes/hacktivism-overrides.css"
OUT="${LIVE}/extra_themes/hacktivism.css"
mkdir -p "${LIVE}/extra_themes"
podman exec koopa-lemmy-ui cat /app/dist/assets/css/themes/darkly.css > "${OUT}"
cat "${OVERRIDES}" >> "${OUT}"
echo "wrote ${OUT} ($(wc -l < "${OUT}") lines)"

View file

@ -65,7 +65,7 @@ overall: OK ok=42 warn=0 fail=0
| Git SSH | TCP `:9200` |
**Critical** (→ overall FAIL): merchant, exchange, bank, forgejo, edge/critical ports.
**Optional** (→ WARN): castopod, bonfire, prime, bt, paivana, tops, tor, nym.
**Optional** (→ WARN): castopod, bonfire, lemmy, prime, bt, paivana, tops, tor, nym.
Read-only. No restarts, no secrets.