<div align="center">
  <img src="https://c15t.com/logo-icon.png" alt="c15t Logo" width="64" height="64" />
  <h1>c15t</h1>
  <p>Transform privacy consent from a compliance checkbox into a fully observable system</p>

  [![GitHub stars](https://img.shields.io/github/stars/c15t/c15t?style=flat-square)](https://github.com/c15t/c15t)
  [![CI](https://img.shields.io/github/actions/workflow/status/c15t/c15t/ci.yml?style=flat-square)](https://github.com/c15t/c15t/actions/workflows/ci.yml)
  [![License](https://img.shields.io/badge/license-GPL--3.0-blue.svg?style=flat-square)](LICENSE)
  [![Discord](https://img.shields.io/discord/1312171102268690493?style=flat-square)](https://c15t.com/discord)
</div>

## Installation

```bash
npm install c15t
# or
yarn add c15t
# or
pnpm add c15t
```

## Quickstart 

```bash
# Generates the schema + code
npx @c15t/cli generate 
pnpm dlx @c15t/cli generate
yarn dlx @c15t/cli generate
bunx --bun @c15t/cli generate
```

## Documentation

For detailed documentation and examples, visit https://c15t.com/docs/javascript/quickstart.

## Features

- 📵 **Offline mode**: With c15t you can use a browser based storage without needing a database
- 🔒 **Secure consent management**: Store your user preferences in a secure backend
- 💾 **Self-hostable**: For developers who prefer to have total control over their infrastructure and data
- 🌐 **Regulation Ready**: Built to meet GDPR, CCPA, and other privacy requirements

## Framework Integrations

This is the core JavaScript SDK — framework-agnostic and lightweight by design.
If you're working with a specific stack, we also provide official packages for:

* **React**: [`@c15t/react`](https://www.npmjs.com/package/@c15t/react)
* **Next.js**: [`@c15t/nextjs`](https://www.npmjs.com/package/@c15t/nextjs)

These include ready-to-use components and tighter integration with their respective runtimes.

## Support

- 📚 [Documentation](https://c15t.com/docs/javascript)
- 💬 [Discord Community](https://c15t.com/discord)
- 🐛 [Issue Tracker](https://github.com/c15t/c15t/issues)

## License

[GNU General Public License v3.0](https://github.com/c15t/c15t/blob/main/LICENSE)