Skip to content

docs: correct sizes on the banner and site; banner from a script - #23

Merged
tieuanhquoc merged 1 commit into
masterfrom
docs/banner-size
Oct 7, 2026
Merged

tieuanhquoc merged 1 commit into
masterfrom
docs/banner-size

Conversation

@tieuanhquoc

Copy link
Copy Markdown
Collaborator

What & why

The social preview banner (README header, site og:image) said ~5 MB native app · zero dependencies: the app bundle is ~8 MB (8.5 MB installed) and TLS uses swift-nio-ssl. The banner is now generated by scripts/generate-social-preview.swift (same layout, tagline as text: ~8 MB native app · real dockerd · no Electron · Apache 2.0) and written to both public/ and landing/assets/.

Same class of stale number: 3.5 MB download — the 0.2.3 DMG is 3.91 MB. Prose now says ~4 MB everywhere (README EN/VI, home and comparison pages EN/VI); structured data fileSize says 3.9MB.

Checklist

  • swift run -c release DockzApp test passes locally (no code change)
  • No new external Swift dependencies
  • New pure logic has checks in test-runner.swift (n/a — docs and a one-off generator script)
  • Verified the affected flow (looked at the generated 1280×640 PNG)

How I verified it

Ran the generator and inspected the PNG; git grep '3.5 MB' and git grep -i 'zero dependenc' find nothing left. Sizes measured: du -sh /Applications/DockZ.app = 8.5M; gh release view v0.2.3 DMG = 3,910,363 bytes.

🤖 Generated with Claude Code

- The social preview banner (README header and og:image) still said
  "~5 MB native app · zero dependencies". The app bundle is ~8 MB (8.5 MB
  installed) and TLS uses swift-nio-ssl. It is now generated by
  scripts/generate-social-preview.swift, so the tagline is edited as text.
- "3.5 MB download" was stale too: the 0.2.3 DMG is 3.91 MB. Prose now says
  ~4 MB; the structured data fileSize says 3.9MB.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown
Contributor

Deploying dockz with  Cloudflare Pages  Cloudflare Pages

Latest commit: 333111a
Status: ✅  Deploy successful!
Preview URL: https://ee0a61de.dockz.pages.dev
Branch Preview URL: https://docs-banner-size.dockz.pages.dev

View logs

@tieuanhquoc
tieuanhquoc merged commit 9517fba into master Oct 7, 2026
3 checks passed
@tieuanhquoc
tieuanhquoc deleted the docs/banner-size branch October 7, 2026 14:44
@tieuanhquoc tieuanhquoc mentioned this pull request Oct 7, 2026
4 tasks done
tieuanhquoc added a commit that referenced this pull request Oct 7, 2026
Move the Unreleased notes under 0.2.4 (the release workflow reads them
from this section), add the banner/site size correction from #23, and
bump the version shown in the site's structured data and the signing
guide's checksum example.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant