Skip to content

Publish hstack.sh and install from its archive - #2

Merged
cursor[bot] merged 2 commits into
mainfrom
cursor/hstack-site-fbd4
Oct 28, 2026
Merged

cursor[bot] merged 2 commits into
mainfrom
cursor/hstack-site-fbd4

Conversation

@pkyanam

@pkyanam pkyanam commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

The installer no longer fetches from GitHub. install.sh and install.ps1 download the archive from https://hstack.sh, verify the sha256, and keep every --with flag, --dry-run, and --uninstall.

The primary host is Vercel, project hstack, on Preetham's Pro plan. Cloudflare Pages is the fallback.

Install

curl -fsSL https://hstack.sh/install | sh downloads install.sh as text/plain, then dl/hstack.tar.gz and its .sha256. It checks the digest with sha256sum or shasum, refuses absolute paths, .., and links, and extracts into ~/.hermes/skills/hstack/.

The archive has one top-level directory: skills/hstack/, scripts/apply_addons.py, the bin/ helpers, and VERSION. --with browser,github,docs,search,perf,test,security,trail works from the curl form. --uninstall --with browser removes only that addon.

HSTACK_BASE_URL points the download at another host, including a *.vercel.app URL before DNS. HSTACK_VERSION=0.1.0 pins hstack-v0.1.0.tar.gz. A checkout of this repo still installs the tree beside the script. Windows uses https://hstack.sh/install.ps1 with the same flags and the same archive.

Deploy

site/vercel.json sets framework to null, buildCommand to npm run build, outputDirectory to dist, and cleanUrls. Root directory is site.

/install and /install/ are text/plain; charset=utf-8 with a 60 second cache. .tar.gz is application/gzip. .sha256 is text/plain. Any other path under /install/ rewrites to a plain-text 404. www.hstack.sh redirects to https://hstack.sh with status 308. HTTP on the apex redirects to HTTPS with status 308.

At Porkbun, leave the nameservers alone. Add an A record at @ (usually 76.76.21.21; use the address on the Vercel domain card) and a CNAME for www to the card's target. Do not add an AAAA record. site/DEPLOY.md has the steps, and the Pages fallback.

Checks

scripts/check_skills.py reports idle 204, planning 965, and bodies 3,820. scripts/check_install.sh passed, including every --with addon. Piped install passed with GNU tar and with BSD tar plus shasum, with --with browser, a version pin, and a checksum mismatch that writes nothing. check-pages.mjs and check-vercel.mjs both passed. vercel.json validates against the Vercel schema. npx vercel build needs a linked project, so the header check serves dist with the config applied.

Desktop hero
Desktop stack fanned open
Mobile hero
Mobile stack fanned open

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith with what you need.

Rebase onto the addon installer. install.sh and install.ps1 download the hstack.sh tarball, verify sha256, and keep --with, --dry-run, and --uninstall. The archive includes the skills, apply_addons.py, and the bin helpers. Host the site on Cloudflare Pages.
@cursor
cursor Bot force-pushed the cursor/hstack-site-fbd4 branch from 7357613 to 7e0c357 Compare October 28, 2026 08:41
@cursor cursor Bot changed the title Publish hstack.sh and serve the skill archive from the site Publish hstack.sh and install from its archive Oct 28, 2026
vercel.json pins the static build, serves /install as plain text, types the archives, returns a plain-text 404 under /install/, and redirects www.hstack.sh to the apex with 308.
@cursor
cursor Bot merged commit 1b090f1 into main Oct 28, 2026
0 of 2 checks passed
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