Repository navigation
feat: curl installer at crawlproof.com/install.sh - #354
Merged
Merged
Conversation
… CLI curl -fsSL https://crawlproof.com/install.sh | sh installs the scoped @profullstack/crawlproof (the unscoped `crawlproof` on npm is not ours): bun if present, else npm with Node >= 22.6, falling back to ~/.local instead of sudo, then checks the bin is on PATH. Re-running it upgrades. public/install.sh is excluded from the proxy matcher, as llms.txt is, so the crawl gateway and the session refresh never run on it. The line is in the README, the CLI README, /docs/cli and a new CLI section in llms.txt. tests/install-sh.test.ts pins the scoped package and the matcher exclusion. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ThreatCrush Security Scan48 finding(s) HIGH/CRITICAL: 2 | MEDIUM: 31 | LOW: 15
Snippets are redacted; ThreatCrush never prints matched credential material. |
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.
Adds
curl -fsSL https://crawlproof.com/install.sh | sh, per the standing rule that every product serves/install.shfor its CLI.public/install.shinstalls the scoped@profullstack/crawlproof@latestglobally. The unscopedcrawlproofon npm is not ours. It uses bun if present, otherwise npm with Node >= 22.6 (the package's engines floor). When the npm prefix is not writable it installs into~/.localinstead of sudo, then checkscrawlproofis on PATH. Re-running it upgrades.proxy.ts:install.shis added to the matcher's exclusions next tollms.txtandskill.md, so the crawl gateway and the Supabase session refresh never run on it. Next serves it frompublic/asapplication/x-sh.packages/cli/README.mdand/docs/cli, andllms.txthas a new CLI section.tests/install-sh.test.tspins the scoped package and the matcher exclusion.Tested:
sh -npasses. I ran it in throwaway HOMEs on both paths (bun, and npm-only with an unwritable prefix that falls back to ~/.local), andcrawlproof --versionprinted0.5.0on each.🤖 Generated with Claude Code