Repository navigation
feat: curl | sh installer - #14
Merged
Merged
Conversation
Adds install.sh at the repo root so users install the CLI with one command: curl -fsSL https://raw.githubusercontent.com/profullstack/transcoder/master/install.sh | sh It installs @profullstack/transcoder under ~/.local (no root), fetches a checksum-verified official Node into ~/.local/share/transcoder when the machine has none new enough, writes a shim per bin, and an uninstall.sh. Generated from the W3BS npm CLI installer template so the tool can be listed at https://w3bs.org/packages. The README's install section now leads with the curl line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ThreatCrush Security Scan2 finding(s) MEDIUM: 2
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
install.shso the CLI installs with:curl -fsSL https://raw.githubusercontent.com/profullstack/transcoder/master/install.sh | shInstalls @profullstack/transcoder under ~/.local without root, fetching a checksum-verified official Node when none new enough is present; writes ~/.local/share/transcoder/uninstall.sh. Generated from the W3BS npm CLI installer template, for listing at https://w3bs.org/packages. README install section now leads with the curl line.
One change from the template:
install-ffmpegandinstall-imagemagickare bash scripts, so their shims exec the script by its own shebang instead of passing it to Node (which would fail). The installer never runs them and never uses root.Verified locally with
env -i PATH=/usr/bin:/bin HOME=<tmp> sh install.sh(private Node path), each bin's--help, then uninstall.sh leaving nothing behind.🤖 Generated with Claude Code