Skip to content

muradmadi/consentguard

Repository files navigation

🛡️ ConsentGuard

Universal, Privacy-First Consent Enforcement Proxy for the Modern Web

ConsentGuard is an infrastructure-level privacy middleware that brings every third-party analytics and marketing tool into GDPR/CCPA compliance—without changing a line of existing instrumentation code.

License Version Status


✨ Why ConsentGuard?

  • Zero-SDK Modification: Works with GA4, Mixpanel, TikTok, Facebook, and 50+ others out-of-the-box.
  • Dual-Mode Enforcement: Client-side interception + Server-side transformation.
  • Privacy by Default: Data is scrubbed or blocked at the network layer before it leaves your infrastructure.
  • Audit-Ready: Detailed audit logs for every single data point sent to third parties.
  • Ultra-Low Latency: Hybrid LRU caching ensures <10ms overhead p99.

🚀 Quick Start

1. Install the CLI

npm install -g @consentguard/cli

2. Initialize your project

consentguard init

This will guide you through setting up your proxy, Redis connection, and generating production-ready Docker assets.

3. Start the Proxy

consentguard start

4. Enable Client-Side Interception

Add this to the very top of your application entry point:

import '@consentguard/client';

🛠️ Components

Package Description
@consentguard/client 5KB zero-dependency network interceptor.
@consentguard/server Hono-based proxy with hybrid storage resilience.
@consentguard/cli Developer tool for management and diagnostics.
@consentguard/admin Premium dark-themed dashboard for governance.

📖 Documentation

🤝 Contributing

We are building the definitive registry for web privacy. Want to add a new destination? Check out our Contributing Guide.


Built with ❤️ by the ConsentGuard Team. Focused on making the web safer, one request at a time.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors