diff --git a/build.sh b/build.sh index 23c4365..4018f55 100755 --- a/build.sh +++ b/build.sh @@ -147,6 +147,15 @@ build_releases_index() { .rel-versions a { margin-right: 0.5rem; color: var(--color-text); text-decoration: none; padding: 0.1rem 0.4rem; border-radius: 4px; } .rel-versions a:hover { background: var(--color-bg-subtle); text-decoration: underline; } .rel-meta { font-size: 0.85rem; color: var(--color-text-muted); margin-top: 0.5rem; } + .rel-bin-table { width: 100%; border-collapse: collapse; margin: 0.5rem 0 1rem; font-size: 0.9rem; } + .rel-bin-table th, .rel-bin-table td { text-align: left; padding: 0.4rem 0.6rem; border-bottom: 1px solid var(--color-border); } + .rel-bin-table th { font-weight: 600; color: var(--color-text-muted); } + .rel-bin-table td.ch-stable { color: var(--color-primary); font-weight: 600; } + .rel-bin-table td.ch-beta, .rel-bin-table td.ch-alpha { color: var(--color-text-muted); } + .rel-bin-table a { color: var(--color-text); text-decoration: none; padding: 0.1rem 0.35rem; border-radius: 4px; } + .rel-bin-table a:hover { background: var(--color-bg-subtle); text-decoration: underline; } + .rel-bin-table td.empty { color: var(--color-text-muted); font-style: italic; } + .rel-pull { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.85rem; background: var(--color-bg-subtle); padding: 0.25rem 0.5rem; border-radius: 4px; display: inline-block; margin: 0.2rem 0; } @@ -201,6 +210,88 @@ HEAD fi printf ' \n' done + # zddc-server section — different artifact shape than the HTML tools. + # Two artifact families: + # 1. Downloadable binaries at website/releases/zddc-server--- + # (mutable channel pointers; release-image.sh writes them). + # 2. Container images at codeberg.org/varasys/zddc-server: and + # : (the registry; we don't proxy them through the website, + # but we list the recent tags and a `podman pull` snippet for each). + printf '
\n' + printf '

zddc-server

\n' + printf '

Go HTTP file server with ACL, .archive index, and a delegated-admin .zddc editor. Distributed as a container image (preferred) or a standalone binary.

\n' + + # Binaries table. + _platforms="linux-amd64 darwin-amd64 darwin-arm64 windows-amd64" + _have_any_bin=0 + for _ch in stable beta alpha; do + for _p in $_platforms; do + _ext=""; case "$_p" in windows-*) _ext=".exe" ;; esac + if [ -f "$RELEASES_DIR/zddc-server-${_p}-${_ch}${_ext}" ]; then + _have_any_bin=1; break 2 + fi + done + done + if [ "$_have_any_bin" = "1" ]; then + printf '

Standalone binaries

\n' + printf ' ' + for _p in $_platforms; do printf '' "$_p"; done + printf '\n' + for _ch in stable beta alpha; do + printf ' ' "$_ch" "$_ch" + for _p in $_platforms; do + _ext=""; case "$_p" in windows-*) _ext=".exe" ;; esac + _f="zddc-server-${_p}-${_ch}${_ext}" + if [ -f "$RELEASES_DIR/$_f" ]; then + printf '' "$_f" + else + printf '' + fi + done + printf '\n' + done + printf '
Channel%s
%sdownload
\n' + fi + + # Container image: pull-snippet box plus the recent git tag list. + printf '

Container image

\n' + printf '

Pull from codeberg.org/varasys/zddc-server:

\n' + printf '
\n' + printf ' :stable\n' + printf ' :beta\n' + printf ' :alpha\n' + printf '
\n' + printf ' podman pull codeberg.org/varasys/zddc-server:stable\n' + + # Recent zddc-server tags from git: clean stables first (top), then + # the most recent pre-releases. Dropping older pre-releases keeps the + # list readable since alpha/beta cuts proliferate. + _server_stables=$(git -C "$SCRIPT_DIR" tag --list 'zddc-server-v*' 2>/dev/null \ + | grep -E '^zddc-server-v[0-9]+\.[0-9]+\.[0-9]+$' \ + | sed 's|^zddc-server-v||' \ + | sort -V -r) + _server_prereleases=$(git -C "$SCRIPT_DIR" tag --list 'zddc-server-v*' 2>/dev/null \ + | grep -E '^zddc-server-v[0-9]+\.[0-9]+\.[0-9]+-' \ + | sed 's|^zddc-server-v||' \ + | sort -V -r \ + | head -10) + if [ -n "$_server_stables" ] || [ -n "$_server_prereleases" ]; then + printf '
Pin to version:\n' + printf '%s\n' "$_server_stables" | while read -r _v; do + [ -n "$_v" ] || continue + printf ' v%s\n' "$_v" "$_v" + done + if [ -n "$_server_prereleases" ]; then + printf ' recent pre-releases:\n' + printf '%s\n' "$_server_prereleases" | while read -r _v; do + [ -n "$_v" ] || continue + printf ' v%s\n' "$_v" "$_v" + done + fi + printf '
\n' + fi + printf '
\n' + cat <<'TAIL'
diff --git a/website/releases/archive_alpha.html b/website/releases/archive_alpha.html index f512401..d6fb33e 100644 --- a/website/releases/archive_alpha.html +++ b/website/releases/archive_alpha.html @@ -2095,7 +2095,7 @@ td[data-field="trackingNumber"] {
ZDDC Archive - v0.0.3-alpha · 2026-04-29 23:06:28 · 43c370a-dirty + v0.0.3-alpha · 2026-04-30 01:00:42 · 566070c-dirty
diff --git a/website/releases/classifier_alpha.html b/website/releases/classifier_alpha.html index 6c5b5d7..baec4a8 100644 --- a/website/releases/classifier_alpha.html +++ b/website/releases/classifier_alpha.html @@ -1358,7 +1358,7 @@ body.help-open .app-header {
ZDDC Classifier - v0.0.3-alpha · 2026-04-29 23:06:28 · 43c370a-dirty + v0.0.3-alpha · 2026-04-30 01:00:42 · 566070c-dirty
diff --git a/website/releases/index.html b/website/releases/index.html index 4f27636..28f39d6 100644 --- a/website/releases/index.html +++ b/website/releases/index.html @@ -22,6 +22,15 @@ .rel-versions a { margin-right: 0.5rem; color: var(--color-text); text-decoration: none; padding: 0.1rem 0.4rem; border-radius: 4px; } .rel-versions a:hover { background: var(--color-bg-subtle); text-decoration: underline; } .rel-meta { font-size: 0.85rem; color: var(--color-text-muted); margin-top: 0.5rem; } + .rel-bin-table { width: 100%; border-collapse: collapse; margin: 0.5rem 0 1rem; font-size: 0.9rem; } + .rel-bin-table th, .rel-bin-table td { text-align: left; padding: 0.4rem 0.6rem; border-bottom: 1px solid var(--color-border); } + .rel-bin-table th { font-weight: 600; color: var(--color-text-muted); } + .rel-bin-table td.ch-stable { color: var(--color-primary); font-weight: 600; } + .rel-bin-table td.ch-beta, .rel-bin-table td.ch-alpha { color: var(--color-text-muted); } + .rel-bin-table a { color: var(--color-text); text-decoration: none; padding: 0.1rem 0.35rem; border-radius: 4px; } + .rel-bin-table a:hover { background: var(--color-bg-subtle); text-decoration: underline; } + .rel-bin-table td.empty { color: var(--color-text-muted); font-style: italic; } + .rel-pull { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.85rem; background: var(--color-bg-subtle); padding: 0.25rem 0.5rem; border-radius: 4px; display: inline-block; margin: 0.2rem 0; } @@ -114,6 +123,36 @@
stable currently → landing_v0.0.2.html
+
+

zddc-server

+

Go HTTP file server with ACL, .archive index, and a delegated-admin .zddc editor. Distributed as a container image (preferred) or a standalone binary.

+

Standalone binaries

+ + + + +
Channellinux-amd64darwin-amd64darwin-arm64windows-amd64
stable
beta
alphadownloaddownloaddownloaddownload
+

Container image

+

Pull from codeberg.org/varasys/zddc-server:

+
+ :stable + :beta + :alpha +
+ podman pull codeberg.org/varasys/zddc-server:stable +
Pin to version: + v0.0.7 + v0.0.6 + v0.0.5 + v0.0.4 + v0.0.3 + v0.0.2 + v0.0.1 + recent pre-releases: + v0.0.8-alpha.2 + v0.0.8-alpha.1 +
+

Append ?v=alpha, ?v=beta, ?v=stable, or ?v=0.0.1 to any deployment URL to switch versions for a single request — see the home page.

diff --git a/website/releases/landing_alpha.html b/website/releases/landing_alpha.html index 4466fa0..3f77be4 100644 --- a/website/releases/landing_alpha.html +++ b/website/releases/landing_alpha.html @@ -884,7 +884,7 @@ body {
ZDDC Archive - v0.0.3-alpha · 2026-04-29 23:06:28 · 43c370a-dirty + v0.0.3-alpha · 2026-04-30 01:00:42 · 566070c-dirty
diff --git a/website/releases/mdedit_alpha.html b/website/releases/mdedit_alpha.html index fe08460..a3175a1 100644 --- a/website/releases/mdedit_alpha.html +++ b/website/releases/mdedit_alpha.html @@ -1650,7 +1650,7 @@ body.help-open .app-header {
ZDDC Markdown - v0.0.3-alpha · 2026-04-29 23:06:28 · 43c370a-dirty + v0.0.3-alpha · 2026-04-30 01:00:42 · 566070c-dirty
diff --git a/website/releases/transmittal_alpha.html b/website/releases/transmittal_alpha.html index 2410afe..21d4fce 100644 --- a/website/releases/transmittal_alpha.html +++ b/website/releases/transmittal_alpha.html @@ -2192,7 +2192,7 @@ dialog.modal--narrow { JavaScript not available
ZDDC Transmittal - v0.0.3-alpha · 2026-04-29 23:06:28 · 43c370a-dirty + v0.0.3-alpha · 2026-04-30 01:00:41 · 566070c-dirty