Open-source cookie consent manager and GDPR cookie banner for React, Next.js, Vue, Svelte, Astro and plain HTML, with Google Consent Mode v2 and IAB TCF support.
- Stars
- 2,046
- Forks
- 440
- Open issues
- 48
- Last commit
- 10 days ago
What is it?
Comp AI is a compliance platform aimed at helping companies get through frameworks such as SOC 2, ISO 27001, HIPAA and GDPR. It covers evidence collection, policy management and control implementation, with AI assisting the workflow.
The project is built as a TypeScript monorepo using Next.js, Prisma with PostgreSQL, Tailwind CSS and Turborepo. It includes a main app, a customer-facing portal and an API, and publishes shared packages such as the database layer, email templates, a Redis-based key-value helper and a UI component library to npm.
Local setup requires Node.js, Bun and PostgreSQL, plus several third-party services: Google OAuth for sign-in, Upstash Redis, Trigger.dev for background jobs and Resend for email. The core is licensed under AGPLv3, while the enterprise directory (/ee) uses a commercial license.
Key features
- 01Automates evidence collection for compliance audits
- 02Manages policies and implements controls for SOC 2, ISO 27001, HIPAA and GDPR
- 03Includes a customer-facing portal alongside the main app
- 04Built on Next.js, Prisma, PostgreSQL and Turborepo
- 05Publishes reusable packages such as @trycompai/ui to npm
Use cases
- Startups preparing for a SOC 2 or ISO 27001 audit
- Teams that want to self-host their compliance tooling and keep data in their own infrastructure
- Developers looking for a reference TypeScript monorepo built with the T3-style stack
Quick start
- 1
Clone the repo
git clone https://github.com/trycompai/comp.git - 2
Navigate to the project directory
cd comp - 3
Install dependencies using Bun
bun install - 4
Start the database, run migrations, then run all apps
cd packages/db && bun run docker:up && bun run db:migrate
Things to know
- Requires Node.js, Bun, Postgres, and several cloud services (Trigger.dev, Google OAuth, Upstash Redis, Resend) to run fully.
- Licensed under AGPLv3, and parts of the code (the /ee directory) are under a commercial license.
- Self-hosted deployment docs for Docker and Vercel are marked as coming soon.
Topics
FAQ
- What is comp?
- Open-source compliance platform that automates evidence collection, policies and controls for SOC 2, ISO 27001, HIPAA and GDPR. Comp AI is a compliance platform aimed at helping companies get through frameworks such as SOC 2, ISO 27001, HIPAA and GDPR. It covers evidence collection, policy management and control implementation, with AI assisting the workflow.
- Is comp free to use? What license does it have?
- comp is open source under the AGPL-3.0 license. Check the license terms before using it in commercial products.
- Is comp still maintained?
- Actively maintained. The last commit to comp was on Oct 9, 2026.
- What can I use comp for?
- Startups preparing for a SOC 2 or ISO 27001 audit Teams that want to self-host their compliance tooling and keep data in their own infrastructure Developers looking for a reference TypeScript monorepo built with the T3-style stack
- How do I install comp?
- Clone the repo: git clone https://github.com/trycompai/comp.git Navigate to the project directory: cd comp Install dependencies using Bun: bun install Start the database, run migrations, then run all apps: cd packages/db && bun run docker:up && bun run db:migrate
- Where can I get comp?
- The source code and installation instructions are on GitHub: https://github.com/trycompai/comp
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
Web toolkit for analyzing any domain, combining DNS lookups, IP geolocation, WHOIS and SSL certificate history in one interface.
Open-source, self-hosted scheduling platform (MIT-licensed community fork of Cal.com) for booking meetings and managing calendars.
Open-source link attribution platform for short links, conversion tracking, and affiliate programs, built with Next.js and TypeScript.
An open-source SEO analysis plugin for Claude Code that runs parallel audits covering technical SEO, E-E-A-T, Schema.org, and AI search optimization.
An open source CRM built around AI agents that research contacts, record evidence and run on their own schedule.