Open source consent management framework for modern web apps. Framework-agnostic, fully customizable, and performance-first with no vendor lock-in.

Overview:

c15t is an open-source, headless consent engine designed for modern development teams. It transforms privacy management from a compliance checkbox into a fully observable system by providing tooling to handle user consent across web applications. Built to be framework-agnostic, it offers lightweight core libraries along with specialized packages for React, Next.js, and Node.js backends. This allows developers to integrate customizable consent management, server-side rendering support, and internationalization into their stack.

Core Features:

  • Headless Architecture: Provides a developer-first design that works across JavaScript frameworks, allowing full customization of the consent UI without dictating the visual components.

  • Server-Side Rendering (SSR) Support: Supports SSR workflows via specific packages for Next.js (App and Pages router) and a general backend package.

  • Internationalization (i18n): Includes a dedicated translation package with type-safe interfaces and modular imports for supporting multiple languages.

  • Backend Policy Engine: The @c15t/backend package includes a consent policy engine, geo-location detection for regional rules, server-side translations, and audit logging.

  • Prebuilt Integrations: Offers prebuilt script snippets for integrating with popular analytics and marketing tools, including Google Tag Manager, Meta Pixel, PostHog, and others.

  • Developer Tooling: Includes a CLI for configuration generation and database migrations, as well as experimental dev tools for Radix UI and Tailwind CSS integration.

Use Cases:

  • Integration into a Next.js application: Developers can use the @c15t/nextjs package (supporting versions 14 and 15) to add server-side rendered consent management with framework-native compatibility.

  • Building a custom consent UI for React: Teams using React 16.8+ can leverage the headless @c15t/react components to build a fully branded consent banner without being locked into a pre-built interface.

  • Managing consent policies across multiple domains: System administrators can use the backend package's domain and policy management features alongside geo-location detection to enforce region-specific consent rules.

Why It Matters:

c15t provides a specialized, developer-centric foundation for managing user consent. It avoids being a "one-click widget" by offering separate, modular packages for frontend frameworks, backend logic, and server-side environments. This modularity, combined with a policy engine and audit logging, gives development teams a way to build observable and customizable consent workflows directly into their application bundle and backend infrastructure.

分享XLinkedInReddit

相关工具

项目数据

Stars

1,691

Forks

141

许可证

Apache-2.0

元数据

替代对象
Termly