ConsentOS — a privacy-first cookie consent management platform. Self-hosted, source-available alternative to OneTrust, Cookiebot, and CookieYes. Full standards coverage (IAB TCF v2.2, GPP v1, Google Consent Mode v2, GPC, Shopify Customer Privacy API), multi-tenant architecture with role-based access, configuration cascade (system → org → group → site → region), dark-pattern detection in the scanner, and a tamper-evident consent record audit trail. This is the initial public release. Prior development history is retained internally. See README.md for the feature list, architecture overview, and quick-start instructions. Licensed under the Elastic Licence 2.0 — self-host freely; do not resell as a managed service.
20 lines
652 B
Bash
Executable File
20 lines
652 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Build script for Cloudflare Pages deployment.
|
|
#
|
|
# Cloudflare Pages settings:
|
|
# Build command: bash build-pages.sh
|
|
# Build output directory: apps/admin-ui/dist
|
|
# Root directory: / (repo root)
|
|
#
|
|
# The admin-ui prebuild script also builds the banner automatically,
|
|
# so `cd apps/admin-ui && npm ci && npm run build` also works.
|
|
set -euo pipefail
|
|
|
|
echo "=== Installing and building admin UI (includes banner prebuild) ==="
|
|
cd apps/admin-ui
|
|
npm ci
|
|
npm run build
|
|
|
|
echo "=== Build complete ==="
|
|
ls -lh dist/consent-loader.js dist/consent-bundle.js 2>/dev/null || echo "WARNING: Banner scripts not found in dist/"
|