Introduction to Qwik-Comply
Relevant source files
The following files were used as context for generating this wiki page:
Qwik-Comply (also referred to as Comply-Quick) is an automated compliance SaaS platform designed for freelancers, web agencies, and small-to-mid-sized enterprises. The system scans websites for regulatory risks—such as GDPR, CCPA, and ADA—and generates technical compliance packages mapped to a site's specific technology stack. These packages include liability waivers, privacy policy addendums, and pre-launch engineering checklists to shift or define legal responsibilities between developers and merchants.
Sources: README.md:1-2, src/app/page.tsx:84-89
Core System Architecture
The architecture revolves around a "Code Mapping Matrix" that correlates technical inputs (frameworks, pixels, and regions) to specific legal clauses. The system is divided into a frontend wizard for user interaction, a central ClauseEngine for logic evaluation, and a Command Center for project management and monitoring.
Technical Data Flow
The following diagram illustrates the data flow from user input through the generation engine to the final output.
The flow ensures that every generated document is technically grounded in the specific frameworks and tracking pixels selected by the user.
Sources: src/components/ClauseEngine.tsx:1-40, src/app/dashboard/DashboardWizard.tsx:112-136
The Clause Engine
The ClauseEngine is the core processing module. It evaluates the ComplianceInput and selects corresponding text blocks from an internal legal library.
Key Data Structures
The engine utilizes several interfaces to maintain type safety and structural consistency:
| Structure | Description |
|---|---|
ComplianceInput | Contains userType, framework, trackingPixels, and targetRegions. |
Inward Contract Shield | A set of clauses defining liability between the Developer and Merchant. |
Privacy Policy Addendum | Technical disclosures for consumers regarding specific tracking scripts. |
Pre-Launch Checklist | Engineering steps required to ensure the site is compliant before going live. |
ComplianceScore | Numeric ratings for Contract Protection, Privacy, Readiness, and Breadth. |
Sources: src/components/ClauseEngine.tsx:21-70
Supported Identifiers
The system currently maps the following technical entities to legal requirements:
- Frameworks: Shopify, Next.js, WordPress, Wix, Squarespace, GoDaddy, Webflow, WooCommerce, BigCommerce.
- Tracking Pixels: Meta, Google, TikTok, LinkedIn, Pinterest, Snapchat.
- Jurisdictions: US General, California (CCPA), EU (GDPR), Canada (PIPEDA), Brazil (LGPD), Australia.
Sources: src/components/ClauseEngine.tsx:25-35, src/app/dashboard/DashboardWizard.tsx:25-46
Command Center & Project Management
Paid tiers (Pro, Agency, Enterprise) gain access to the Command Center, which provides centralized oversight of all compliance projects.
Features of the Command Center
- Project Tracking: Manages saved projects, showing their current compliance score and status (e.g., "Current", "Outdated", or "Action Needed").
- Regulatory Alerts: Provides critical updates when laws change in specific jurisdictions, such as CCPA amendments or GDPR cookie enforcement.
- Proactive Monitoring: Higher tiers receive automated alerts if a project's compliance posture is affected by external regulatory shifts.
Programmatic Access (REST API)
Qwik-Comply provides a Developer API (v1) for automated package generation. This allows agencies to integrate compliance checks directly into their CI/CD pipelines or internal dashboards.
API Endpoints
| Method | Endpoint | Description |
|---|---|---|
POST | /api/v1/compliance | Generates a full compliance package from JSON input. |
POST | /api/v1/templates | Uploads marketplace templates (Enterprise only). |
GET | /api/v1/usage | Retrieves real-time metered usage and billing data. |
API Request Example
{
"userType": "developer",
"framework": "nextjs",
"trackingPixels": ["google", "meta"],
"targetRegions": ["eu_gdpr", "california_ccpa"],
"format": "json"
}
Sources: src/app/api/v1/compliance/route.ts:55-75, src/app/dashboard/api/ApiView.tsx:270-285
Legal Safeguards & Disclaimers
A critical component of the platform is the clear delineation between software-generated templates and formal legal advice.
- Mandatory Disclaimer: Every generated report and public interface must display: "This package is informational only. Consult a legal professional before deployment."
- Liability Cap: The platform explicitly states that it is not a law firm and that clients assume all legal risk arising from the use of generated content.
- Terms of Service: The
LIABILITY_CAPis embedded verbatim in the public Terms of Service to ensure contractual consistency.
Sources: src/lib/legal.ts:13-35, src/app/legal/terms/page.tsx:25-30
Conclusion
Introduction to Qwik-Comply demonstrates a system designed to bridge the gap between technical web development and legal regulatory requirements. By automating the mapping of tech stacks to legal clauses, it provides developers with a structured starting point for compliance, while maintaining necessary legal boundaries through extensive disclaimers and liability shifting.