c15t (consent management) unifies analytics, consent tracking, and privacy controls into a single performant solution. Built for modern development teams, it transforms privacy management from a compliance burden into a fully observable system.
- 🚫 No more slow cookie banners
- 👁️ Complete visibility into consent choices
- 🔄 Unified multi-vendor implementation
- 📊 Clear privacy policy tracking
- ⚡ Performance-first design
# Generates the schema + code
npx @c15t/cli generate
pnpm dlx @c15t/cli generate
bunx --bun @c15t/cli generate
# Database Migrations (If you're self hosting c15t)
npx @c15t/cli migrate
pnpm dlx @c15t/cli migrate
bunx --bun @c15t/cli migrate
After running the CLI, you can use the following code to get started:
import { ConsentManagerProvider, CookieBanner, ConsentManagerDialog } from "@c15t/react";
import { c15tConfig } from "./c15t.client";
export default function App() {
return (
<ConsentManagerProvider options={c15tConfig}>
<CookieBanner />
<ConsentManagerDialog/>
{/* Your app content */}
</ConsentManagerProvider>
);
}
- 🎨 Beautiful UI Components: Custom built for performance and design
- 📱 Server Components Ready: Full Next.js app directory support
- 🔒 Privacy by Design: GDPR, CCPA, and LGPD compliant
- 🛠️ Developer Tools: Real-time consent debugging
- 🎯 Type Safety: Full TypeScript support
Prerequisites:
- Node.js >= 22
- pnpm >= 9
# Clone repository
git clone https://github.com/c15t/c15t.git
cd c15t
# Install dependencies
pnpm install
# Start development
pnpm dev
# Run tests
pnpm test
We use Vitest and Playwright for testing:
# Run unit tests
pnpm test:unit
# Run E2E tests
pnpm test:e2e
# Run all tests
pnpm test
We welcome contributions!
GNU General Public License v3.0 - See LICENSE for details.