AI compliance document generator — privacy policies, ToS, cookie policies for businesses and agencies
  • TypeScript 95.9%
  • Shell 2.8%
  • CSS 1.1%
  • JavaScript 0.2%
Find a file
pookNast f1e9ed5ed9
Some checks failed
CI / Secrets Scan (push) Failing after -1s
Deploy / Build & Push Image (push) Has been skipped
CI / Lint & Typecheck (push) Has been skipped
CI / Test (push) Has been skipped
CI / Docker Build (push) Has been skipped
Deploy / Deploy to Production (push) Failing after -2s
feat: add GDPR + CCPA templates and dev docker-compose
All 5 template types now present: Privacy Policy, ToS, Cookie Policy,
GDPR Notice (6 clauses), CCPA Notice (5 clauses). Dev compose adds
postgres 16 + redis 7 + hot-reload API.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-02 07:39:35 -04:00
.forgejo/workflows ci: add deploy.yml + update ci.yml + standardize .gitignore 2026-04-26 21:12:36 -04:00
deploy chore: add deploy script + production env template 2026-04-23 18:59:58 -04:00
docs docs: strategic niche plan — HR compliance + MagicDocs SMS delivery moat 2026-04-23 20:35:08 -04:00
marketing feat: complete MVP — 19/19 issues, full SaaS scaffold 2026-04-06 18:15:56 -04:00
packages feat: add GDPR + CCPA templates and dev docker-compose 2026-05-02 07:39:35 -04:00
scripts feat: [Wave 3] Legal pages + health monitoring 2026-04-23 15:28:57 -04:00
swarm feat: [W3] — document type expansion + swarm infrastructure fixes 2026-04-24 08:04:57 -04:00
.dockerignore feat: complete MVP — 19/19 issues, full SaaS scaffold 2026-04-06 18:15:56 -04:00
.env.sample fix: replace console.log with structured pinoLogger in rate-limit middleware 2026-04-23 17:53:35 -04:00
.gitignore ci: add deploy.yml + update ci.yml + standardize .gitignore 2026-04-26 21:12:36 -04:00
ADVERSARIAL_AUDIT.md feat(security): M2-P1-02 RLS enforcement + adversarial audit 2026-04-23 15:08:16 -04:00
bun.lock feat: add GDPR + CCPA templates and dev docker-compose 2026-05-02 07:39:35 -04:00
CLAUDE.md fix: re-apply portfolio design system DESIGN.md (hook conflict) 2026-04-24 08:36:02 -04:00
DESIGN.md fix: re-apply portfolio design system DESIGN.md (hook conflict) 2026-04-24 08:36:02 -04:00
docker-compose.prod.yml fix(SH2): C6,C8,C9,G8,H6 — rate limiting, security headers, body limits, graceful shutdown 2026-04-22 06:46:38 -04:00
docker-compose.yml feat: add GDPR + CCPA templates and dev docker-compose 2026-05-02 07:39:35 -04:00
Dockerfile.api ops: deploy MVP to VPS — fix Dockerfiles, imports, Traefik config 2026-04-21 19:35:28 -04:00
Dockerfile.web ops: deploy MVP to VPS — fix Dockerfiles, imports, Traefik config 2026-04-21 19:35:28 -04:00
eslint.config.js fix: tsconfig rootDir TS6059 + eslint flat config + TECH-DEBT-AUDIT 2026-04-27 00:47:10 -04:00
FEASIBILITY_VERDICT.md fix: resolve TypeScript errors — auth.test.ts mock typing + exclude swarm worktrees 2026-04-24 12:18:10 -04:00
GAP-AUDIT.md docs: [D1] GAP audit — tech debt deferred items verification for ComplianceBot 2026-04-27 00:47:51 -04:00
package.json fix: tsconfig rootDir TS6059 + eslint flat config + TECH-DEBT-AUDIT 2026-04-27 00:47:10 -04:00
PAPERCLIP-PROD-AUDIT-2026-04-08.md ops: deploy MVP to VPS — fix Dockerfiles, imports, Traefik config 2026-04-21 19:35:28 -04:00
PROD-AUDIT.md Add 15-dimension prod-audit report — CONDITIONAL SHIP 92/150 2026-04-06 10:54:43 -04:00
README.md feat: complete MVP — 19/19 issues, full SaaS scaffold 2026-04-06 18:15:56 -04:00
TECH-DEBT-AUDIT.md fix: tsconfig rootDir TS6059 + eslint flat config + TECH-DEBT-AUDIT 2026-04-27 00:47:10 -04:00
tsconfig.json docs: [D1] GAP audit — tech debt deferred items verification for ComplianceBot 2026-04-27 00:47:51 -04:00

ComplianceBot — AI Compliance Document Generator

Status: MVP Complete — all 19 build issues closed Revenue: $0-199/mo SaaS (Free / Starter $29 / Pro $79 / Agency $199) Target: SMBs needing privacy policies, ToS, cookie policies Stack: Bun monorepo — Hono API (port 3100) + Next.js 15 + Drizzle ORM + PostgreSQL Audit Score: 92/150 Tier: A (#2 priority)

Architecture

packages/
  api/         Hono API — routes, services, templates, DB
  web/         Next.js 15 — questionnaire, editor, agency dashboard
  shared/      Shared types and constants

Features Built

  • Questionnaire engine — 5-step business intake wizard
  • Clause template library — 28 attorney-reviewed templates (privacy, ToS, cookie)
  • LLM document generation — OpenAI GPT-4o-mini/4o with model routing by plan
  • Privacy Policy generator — jurisdiction-aware (GDPR, CCPA, PIPEDA)
  • Terms of Service generator — business-type-aware (SaaS, e-commerce, marketplace)
  • Document editor — split-view preview + edit, version history, regenerate sections
  • Multi-format export — HTML, PDF, DOCX, embeddable snippet
  • Stripe billing — 4 tiers (Free/Starter/Pro/Agency) + checkout + portal
  • Legal disclaimer framework — auto-appended to all generated docs
  • Regulation change detection — monitor + notify + auto-flag affected docs
  • Agency white-label dashboard — manage clients, custom branding, usage analytics
  • Cookie consent banner — GDPR-compliant with category toggles
  • E2E tests — 31 integration tests with 3 business fixtures
  • Production deployment — Docker Compose with Traefik HTTPS, backup scripts

Revenue Model

Plan Price Docs/mo Key Features
Free $0 1 Basic templates, PDF export
Starter $29/mo 10 All doc types, DOCX, version history
Pro $79/mo Unlimited Priority AI, regulation auto-updates
Agency $199/mo Unlimited White-label, API, unlimited clients

Quick Start

bun install
cp .env.sample .env  # fill in DATABASE_URL, STRIPE_SECRET_KEY, OPENAI_API_KEY
bun run dev:api      # API on :3100
bun run dev:web      # Web on :3000

Deploy

docker compose -f docker-compose.prod.yml up -d
./scripts/deploy.sh init   # first time
./scripts/deploy.sh push   # updates
./scripts/backup-db.sh     # pg_dump

Competitive Landscape

  • Termly: $20-50/mo, template-based (NOT AI-generated)
  • Iubenda: similar template approach
  • GAP: AI-generated, jurisdiction-aware, auto-updating = 10x better

Source Leverage

  • MagicDocs templating engine + document pipeline
  • Existing Stripe integration patterns
  • Website template for landing page