feat(site): short install command at home.uptonm.dev/install.sh#103
Merged
Conversation
Redirect /install.sh to the canonical scripts/install.sh on raw GitHub so `curl -fsSL home.uptonm.dev/install.sh | bash` works, keeping a single source of truth. Exclude .sh from the Clerk middleware matcher so the production auth gate does not intercept the installer. Update READMEs to lead with the short command. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Add a CopyCommand client component and surface the short install command (home.uptonm.dev/install.sh) as a prominent click-to-copy block in the hero, matching the pattern on the Codex/Claude Code sites. Reuse it for the three getting-started step cards and centralize the command in siteConfig. Docs getting-started now leads with the short command, raw URL as fallback. Co-Authored-By: Claude Opus 4.8 (1M context) <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.
What
Makes the Home CLI installable with a short command:
curl -fsSL https://home.uptonm.dev/install.sh | bashHow
apps/site/next.config.ts— 307 redirect/install.sh→raw.githubusercontent.com/uptonm/home/main/scripts/install.sh. Keepsscripts/install.shas the single source of truth (no copied artifact to drift).curl -fsSLfollows the redirect.apps/site/proxy.ts— addshto the Clerk middleware matcher's extension exclusion. Middleware runs beforenext.configredirects, so without this the production auth gate would intercept/install.shand return sign-in HTML instead of the script..shinstallers are inherently public, so excluding them is safe.The installer itself is unchanged.
Verify
bun run --cwd apps/site buildsucceeds.curl -sSL -o- https://home.uptonm.dev/install.sh | headreturns the shell script (not HTML);curl -sSI https://home.uptonm.dev/install.shshows 307 → raw GitHub.🤖 Generated with Claude Code