Skip to content

feat(site): short install command at home.uptonm.dev/install.sh#103

Merged
uptonm merged 2 commits into
mainfrom
feat/short-install-script
Jul 19, 2026
Merged

feat(site): short install command at home.uptonm.dev/install.sh#103
uptonm merged 2 commits into
mainfrom
feat/short-install-script

Conversation

@uptonm

@uptonm uptonm commented Jul 19, 2026

Copy link
Copy Markdown
Owner

What

Makes the Home CLI installable with a short command:

curl -fsSL https://home.uptonm.dev/install.sh | bash

How

  • apps/site/next.config.ts — 307 redirect /install.shraw.githubusercontent.com/uptonm/home/main/scripts/install.sh. Keeps scripts/install.sh as the single source of truth (no copied artifact to drift). curl -fsSL follows the redirect.
  • apps/site/proxy.ts — add sh to the Clerk middleware matcher's extension exclusion. Middleware runs before next.config redirects, so without this the production auth gate would intercept /install.sh and return sign-in HTML instead of the script. .sh installers are inherently public, so excluding them is safe.
  • READMEs — lead with the short command; keep the raw-URL form documented as the canonical/fallback.

The installer itself is unchanged.

Verify

  • bun run --cwd apps/site build succeeds.
  • After deploy: curl -sSL -o- https://home.uptonm.dev/install.sh | head returns the shell script (not HTML); curl -sSI https://home.uptonm.dev/install.sh shows 307 → raw GitHub.

🤖 Generated with Claude Code

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>
@vercel

vercel Bot commented Jul 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
home Ready Ready Preview, Comment Jul 19, 2026 3:42am

Request Review

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>
@uptonm
uptonm merged commit 2dea559 into main Jul 19, 2026
3 checks passed
@uptonm
uptonm deleted the feat/short-install-script branch July 19, 2026 03:45
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