Developer Integrations
Put privacy compliance into every tool you already use — terminal, CI/CD, AI editors, deploy pipeline, and README.
CLI
npx pageguard
Scan any project from your terminal. Detects tracking technologies from package.json and config files. Zero dependencies.
# Scan current project npx pageguard # Scan a URL npx pageguard --url https://example.com # Generate documents npx pageguard --url https://example.com --generate # Save API key npx pageguard --set-key pg_live_...
GitHub Action
pageguard/action@v1
Automatically scan every pull request for new tracking technologies. Posts compliance summaries as PR comments.
# .github/workflows/compliance.yml
name: Privacy Compliance
on: [pull_request]
jobs:
scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pageguard/action@v1
with:
api-key: ${{ secrets.PAGEGUARD_API_KEY }}
fail-on-critical: trueClaude Code Skill
AI-powered compliance
Ask Claude Code to check your project's privacy compliance. It runs PageGuard automatically and explains the results.
# Install the skill claude skill add pageguard # Then just ask Claude: > "Check this project for privacy compliance" > "Do I need a privacy policy?" > "What data does this project collect?"
Deploy Hooks
Vercel & Netlify
Get a compliance scan on every deploy. Compare scores between deploys to catch new trackers before they go live.
# Vercel Deploy Hook
POST https://pageguard.ai/api/v1/webhook/deploy?domain=example.com
# Netlify Outgoing Webhook
URL: https://pageguard.ai/api/v1/webhook/deploy
Event: Deploy succeeded
# Response includes score comparison
{
"score": 42,
"comparison": {
"previousScore": 35,
"scoreChange": +7
}
}README Badge
Show your score
Add a compliance score badge to your README. Updates automatically on each scan.
# Markdown  # HTML <img src="https://pageguard.ai/api/badge?url=example.com" /> # Static badge (no auto-update) 
IDE Rules
Cursor, Windsurf, Bolt
Rules files that prompt your AI code editor to check privacy compliance whenever you add new dependencies.
# Cursor: Add to .cursor/rules/ Download: cursor-pageguard.mdc # Windsurf: Add to .windsurfrules See: windsurfrules-snippet.md # Bolt: Add to project instructions See: bolt-snippet.md
All integrations require a PageGuard API key for document generation.
Get an API Key