Self-hosted, multi-tenant cookie consent management.
ConsentOS is a source-available alternative to OneTrust, Cookiebot, and CookieYes -- built for teams who want full control over their consent stack without per-domain SaaS fees. One script tag on your site. Everything else runs on your own infrastructure.
| Consent banner | 2KB loader, full bundle in Shadow DOM -- style-isolated from your site |
| Auto-blocking | Intercepts scripts, cookies, and storage writes until consent is granted per category |
| IAB TCF v2.2 | Full TC string encoding and CMP API -- works with major ad networks and DSPs |
| Google Consent Mode v2 | Automatic gtag('consent', ...) signalling for GA4 and Google Ads |
| Cookie scanner | Playwright crawler with 2,200+ auto-categorisation patterns |
| Compliance engine | Rule-based checks for GDPR, CNIL, CCPA/CPRA, ePrivacy, and LGPD |
| Multi-tenant admin | Organisations, sites, RBAC, and regional config overrides |
git clone https://github.com/consentos/consentos.git
cd consentos && cp .env.example .env
make up && make seedAdmin UI at localhost:5173. Full setup guide at consentos.dev/docs.
Licensed under the Elastic Licence 2.0. Free to self-host and modify. The Open Cookie Database bundled with this project is licensed under CC BY 4.0.
Built by Slate Data