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!
- π Report bugs
- β¨ Request features
- π Improve docs
- π§ͺ Fix tests
- β‘ Report performance issues
GNU General Public License v3.0 - See LICENSE for details.