Skip to content

Show download sizes next to the installers and binaries - #49

Merged
fylorn merged 1 commit into
mainfrom
feat/lite-download-sizes
Oct 1, 2026
Merged

fylorn merged 1 commit into
mainfrom
feat/lite-download-sizes

Conversation

@fylorn

@fylorn fylorn commented Oct 1, 2026

Copy link
Copy Markdown
Contributor
  • Lite install section: each installer's size sits beside the version and checksum — the disk image (17.2 MB), both Windows installers, both AppImages.
  • Hero download button (home and Lite pages): the version line under it adds the size of the file it picked for the visitor, e.g. Version 2026.9.26 · Apple silicon · 17.2 MB.
  • Core page: each prebuilt binary's size beside its link.

Sizes come from the latest release's asset list, fetched at build time together with the download links (ProductRelease.sizes, formatSize in src/lib/github.ts), in decimal megabytes as Finder shows them. Without the release (rate limit, offline build) no size is shown.

Items in the install section's version line no longer break in the middle on a phone; the line wraps between them.

Checked with a local build: the install panels at 1440 and 375 px, the Core list at both widths, and the hero note for macOS arm, Windows x64/ARM64 and Linux x86_64/aarch64 (client hints stubbed).

🤖 Generated with Claude Code

The Lite install section lists each installer's size beside the version
and checksum (the disk image; both Windows installers; both AppImages),
the home and Lite hero download button adds the size of the file it
picked for the visitor to its version line, and the Core page lists each
binary's size beside its link.

Sizes come from the latest release's asset list, read at build time with
the download links, and are shown in decimal megabytes as Finder shows
them. Without the release (rate limit, offline build) no size is shown.

Items in the install section's version line no longer break in the
middle on a narrow screen; the line wraps between them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fylorn
fylorn merged commit 5fe2f71 into main Oct 1, 2026
1 check passed
@fylorn
fylorn deleted the feat/lite-download-sizes branch October 1, 2026 14:55
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