{"repo":"jamiedavenport/policystack","free":true,"listed":false,"github":"https://github.com/jamiedavenport/policystack","clone":"git clone https://github.com/jamiedavenport/policystack.git","description":"AI-first primitives for adding consent and policies to your apps","language":"TypeScript","stars":159,"topics":["cli","privacy-policy","typescript","vite","astro","react"],"license":"Apache-2.0","category":"docs-static-sites","readme_excerpt":"PolicyStack Open-source, AI-first primitives for adding privacy policies and consent to your app. One typed config drives your privacy policy, your cookie policy, and the consent that gates the cookies they describe — all rendered directly into your React/Vue/Svelte/Solid/Angular app, never a third-party iframe. - Homepage - Documentation - Blog Three building blocks - Policy — your privacy and cookie policy as a typed config, rendered as components or Markdown. A Vite plugin compiles it at build time and scans for undeclared third parties. - Consent — a headless consent state machine. Sub-4kb core, adapters for React, Vue, Solid, Svelte, and Angular, and a Vite plugin that fails the build on an ungated cookie. No bundled UI — you build the banner with your own components. - Cloud — an optional hosted control plane for versioning, audit trails, and consent analytics. It sits on top of the OSS pieces; you never need it to use them. Everything except Cloud is Apache-2.0. Quick start init installs the right packages for your stack, writes a starter policystack.ts , and prints a prompt you can hand to a coding agent. See the quick start for the full walkthrough. Packages All packages publish under the @policystack/ scope and version together. Package What it is ------------------------ ---------------------------------------------------------- @policystack/sdk Public API — defineConfig() , renderLlmsTxt() @policystack/core Compilation engine + consent runtime ( ./consent subpath)","default_branch":null,"files":null,"tree":[],"storefront":"/r/jamiedavenport","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jamiedavenport/policystack/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}