feat(site): add a landing page and deploy it to GitHub Pages - #33
Merged
Conversation
QuickToss had nowhere to send someone who isn't already on GitHub. The README is a fine README, but "download the app" and "read the repo" are different jobs, and a .dmg behind a releases table asks a lot of a person who just wants their Downloads folder cleaned out. Adds site/index.html: the screenshot up front, the two Mac builds as the primary action, and the "QuickToss.app is damaged" workaround immediately after them rather than buried — every single user hits that dialog on first launch, and most read it as malware. The download buttons resolve the newest release's actual .dmg URLs at runtime from the GitHub API. Asset names carry the version, so there is no stable "latest" URL for them; without this the page would go stale on every release. It degrades to the releases page when the API is unreachable, so the buttons work with JS off. Deploys from main via an artifact rather than a gh-pages branch, so the page's source lives next to the code it describes and there is no branch to check out and hand-edit. Pages source must be set to "GitHub Actions" for the workflow to publish. Every claim is from the README: the previews list, the shortcuts, and the three privacy guarantees. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
QuickToss has nowhere to send someone who isn't already on GitHub. The README is a fine README, but "download the app" and "read the repo" are different jobs — a
.dmgbehind a releases table asks a lot of a person who just wants their Downloads folder cleaned out.Deploys to https://h4md1.fr/QuickToss/.
The page
xattr -crcommand.Download links stay current on their own
Asset names carry the version (
QuickToss-1.5.0-arm64.dmg), so there is no stable "latest" URL for them — a hardcoded link would break on every release. The page resolves the newest release's real.dmgURLs from the GitHub API at load:Both buttons start out pointing at the releases page, so they work with JS off, when the API is rate-limited, or offline.
Deployment
Publishes
site/frommainviaactions/deploy-pages, rather than agh-pagesbranch — the page's source lives next to the code it describes, and there's no branch to check out and hand-edit. Triggers only on changes tosite/**or the workflow itself.Pages source must be set to "GitHub Actions" before this can publish; there is no Pages site on this repo yet. I'll set it once this merges.
Verified in a browser
.dmgassets.prefers-color-scheme.Caught while checking: a stray Apple-logo glyph (U+F8FF, private-use — renders as tofu off-Apple) had been dropped in encoding, leaving a dangling arrow. Replaced with plain words.
Honesty
Every claim comes from the README — the preview formats, the shortcuts, the privacy guarantees, and the fact that it's macOS-only for now. Nothing invented.
🤖 Generated with Claude Code