Jamie Davenport

Launching Tomorrow: OpenPolicy — type-safe privacy policies & terms for TypeScript apps

by

Hey everyone! Launching OpenPolicy on Product Hunt tomorrow and would love your support.

OpenPolicy lets you define your privacy policy and terms of service as a TypeScript config — your company details, cookies, data collected, compliance targets — and compiles it to HTML or Markdown at build time via Vite, Astro, or the CLI.

I built it because I was tired of copy-pasting legal docs that were outdated the moment I shipped them. Treating policies as code means they live in your repo, get reviewed in PRs, and stay in sync with your actual app.

It's fully open source. No SaaS, no subscriptions.

Would love any feedback, follows, or support tomorrow — and happy to answer questions here in the meantime!

openpolicy.sh

24 views

Add a comment

Replies

Be the first to comment