Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

openaffiliate

CLI for the OpenAffiliate registry. Search and discover affiliate programs from your terminal.

Install

npx openaffiliate search "database"

Or install globally:

npm install -g openaffiliate

Commands

# Search programs
openaffiliate search "email"

# Filter by category and commission type
openaffiliate search --category AI --type recurring

# Get full program details
openaffiliate info stripe

# List all categories
openaffiliate categories

# Add a program to your project (.openaffiliate.json)
openaffiliate add supabase

JSON output (for agents and scripts)

Every command supports --json for machine-readable output:

openaffiliate search "ai" --json
openaffiliate info vercel --json
openaffiliate categories --json

This outputs raw JSON — 10-32x cheaper on tokens than MCP for batch operations.

Environment

Variable Default Description
OPENAFFILIATE_API https://openaffiliate.dev API base URL

Related

License

MIT