@adkar/cli-hook
v0.3.4
Published
AdKar — developer ad hooks for Claude Code, Codexx, and IDEs. npx adkar login to get started.
Downloads
201
Maintainers
Readme
@adkar/cli-hook
Developer ad hooks for Claude Code, Codexx, Codex, and terminal-based coding tools. Earn 75% revenue share on every ad impression and click.
Quick Start
npx adkar loginThis opens your browser for OAuth, connects your account, and auto-installs hooks into Claude Code and Codex.
What It Does
- Claude Code hook -- shows sponsored recommendations after responses, on session start, and contextually during prompts
- Codex CLI hook -- same ad surfaces, adapted for OpenAI Codex CLI format
- Terminal banner -- renders a styled ad banner before wrapped commands
- Status line -- provides sponsored text for Claude Code's status bar
All ads are non-intrusive, rate-limited (max once per 3 minutes), and fail silently if the API is unreachable.
Manual Installation
npm install -g @adkar/cli-hook
adkar-install --api-key=YOUR_API_KEYEnvironment Variables
| Variable | Description | Default |
|---|---|---|
| ADKAR_API_KEY | Your publisher API key | (none) |
| ADKAR_API_URL | API endpoint | https://api.adkar.dev |
| ADKAR_PUBLISHER_ID | Your publisher ID | (none) |
Uninstall
adkar-install --uninstallLicense
MIT
