@voteship/cli
v0.1.1
Published
Install and verify VoteShip feedback widgets from Claude Code, Codex, or any terminal
Maintainers
Readme
@voteship/cli
Install and verify the VoteShip feedback widget from Claude Code, Codex, or any terminal.
Install the widget
npx -y @voteship/cli init --project-key pk_your_public_keyThe CLI detects common Next.js, React, Vue, Vite, SvelteKit, Angular, and plain HTML entry files. It inserts the existing VoteShip widget before </body>, preserves the site's visual design, verifies the local edit, and is safe to run repeatedly.
Options:
--position bottom-right|bottom-left|top-right|top-left
--target path/to/layout.tsx
--dry-run
--force
--jsonUse --force only when replacing an existing VoteShip widget's project key or position.
Verify after deployment
npx -y @voteship/cli verify --url https://your-site.example --project-key pk_your_public_keyThe command fetches the deployed page and confirms the VoteShip script and optional public key are present in the returned HTML.
Connect VoteShip to an agent
Claude Code:
claude mcp add --transport http --scope user voteship https://voteship.app/mcpCodex:
codex mcp add voteship --url https://voteship.app/mcpThe remote MCP server offers public feedback tools without an API key. See the VoteShip installation guide for authenticated project administration.
License
MIT
