Skip to content

c15t/c15t

Repository files navigation

c15t Logo

c15t

Transform privacy consent from a compliance checkbox into a fully observable system

GitHub stars CI License Discord

🎯 Overview

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.

Why c15t.com?

  • 🚫 No more slow cookie banners
  • 👁️ Complete visibility into consent choices
  • 🔄 Unified multi-vendor implementation
  • 📊 Clear privacy policy tracking
  • ⚡ Performance-first design

📦 Packages

Package Description Version
c15t Core consent and event management npm
@c15t/react Best in class React Components npm
@c15t/dev-tools Development and debugging tools npm
@c15t/cli Command-line interface for managing a c15t instance npm
@c15t/backend Selfhosted Node Instance and Database npm

⚡ Quick Start Via CLI

# 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>
  );
}

✨ Key Features

  • 🎨 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

🏗️ Development

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

🧪 Testing

We use Vitest and Playwright for testing:

# Run unit tests
pnpm test:unit

# Run E2E tests
pnpm test:e2e

# Run all tests
pnpm test

📚 Documentation

🤝 Contributing

We welcome contributions!

📜 License

GNU General Public License v3.0 - See LICENSE for details.


Built with ❤️ by the consent.io team