A $0, privacy-first compliance readiness workspace, Article 19 online listing auditor, Article 16 EU Responsible Person validator, and Article 9 / Article 20 technical file studio for Regulation (EU) 2023/988 (in full mandatory application across the EU since 13 December 2024).
Mandatory Legal Disclaimer: GPSRKit is an engineering and compliance-readiness tool for online sellers and manufacturers. It is NOT a certified testing laboratory, does NOT legally act as or appoint an EU Authorised Representative / Responsible Person (Article 16), and does NOT transmit live notifications to the European Commission Safety Business Gateway.
- Article 16 EU Responsible Person Validator: Validates EU-27 country code, EU establishment flag, operator role (
eu_manufacturer,eu_importer,authorised_representative,fulfilment_service_provider), postal address, and electronic contact (emailorhttps://URL), with reusable saved RP directory profiles. - Article 19 Online Storefront & Multilingual Warning Auditor:
- Audits pre-checkout disclosure requirements: manufacturer identity, EU RP contact, clear product photograph flag, type/batch/serial identifier, and localized warnings across target EU Member State languages (
EN,DE,FR,ES,IT,NL,PL). - Generates a live XSS-safe, copy-paste HTML block (
buildArticle19ListingHtmlSnippet) ready for Shopify, WooCommerce, or custom EU storefronts.
- Audits pre-checkout disclosure requirements: manufacturer identity, EU RP contact, clear product photograph flag, type/batch/serial identifier, and localized warnings across target EU Member State languages (
- Bulk Storefront Catalog CSV Auditor (
UTF-8 BOM& Formula-Safe):- Audits multi-SKU CSV catalogs 100% locally in browser or via self-hosted API.
- Exports RFC-4180 CSV reports with UTF-8 BOM and formula-injection sanitization (
=,+,-,@cells prefixed with').
- Article 9 Risk Analysis, 10-Year Technical File & SHA-256 Sealing:
- Tracks 10 EU GPSR compliance controls, >= 10-year archive commitment (
Art. 9(3)), complaint register (Art. 9(11)), and hazard mitigation register (Art. 9(2)). - Seals immutable dossier snapshots with atomic numbering (
GPSR-YYYY-0001) and cryptographicSHA-256verification. - Exports Article 9 Technical Markdown (
EN&AR), Article 20 / 35–36 Safety Business Gateway & Recall Briefs, and A4 PDF print reports.
- Tracks 10 EU GPSR compliance controls, >= 10-year archive commitment (
- Bilingual & Dual-Theme UI: Full English (
LTR) and Arabic (RTL) with Normandy Amber & Ivory (light) and Safety Slate (dark).
npm install
npm run dev # Vite frontend (:5173, proxies /api -> :4195)
npm start # Node 22 + SQLite WAL server (:4195)
npm run typecheck # Strict TypeScript check
npm test # Core + Server integration tests (Vitest)
npm run build # Production static bundle in ./dist
npm run test:e2e # Real Chrome Playwright E2E tests (:4196)All product audits, bulk CSV checks, SHA-256 sealing, HTML snippet generation, and A4 PDF printing run 100% locally in the browser using localStorage with zero backend required:
npm run build
npx wrangler login
npx wrangler deploydocker compose up -d --build
# Reverse proxy 127.0.0.1:4195 via deploy/Caddyfile (supports optional BASE_PATH=/gpsrkit)| Method & Path | Purpose |
|---|---|
GET /api/health |
Service status, version, basePath, dossier & RP counts |
GET /api/presets |
Built-in EU GPSR scenario presets |
POST /api/audit-product |
Stateless single-product & Article 19 HTML audit |
POST /api/catalog-audit |
Bulk SKU CSV validation + formula-safe UTF-8 BOM CSV export |
GET/POST/PATCH/DELETE /api/profiles |
Reusable EU Responsible Person directory CRUD |
GET/POST /api/dossiers |
List & create editable draft compliance dossiers |
GET/PATCH/DELETE /api/dossiers/:id |
Read, update draft, or delete unsealed draft (409 if locked) |
POST /api/dossiers/:id/duplicate |
Clone any draft or locked dossier into a fresh draft |
POST /api/dossiers/:id/finalize (or /lock) |
Atomically seal as GPSR-YYYY-0001 with SHA-256 digest |
GET /api/dossiers/:id/export.md |
Download Article 9 Technical Markdown (?locale=en|ar) |
GET /api/dossiers/:id/article19.html |
Download copy-paste Article 19 storefront disclosure HTML |
GET /api/dossiers/:id/recall-notice.md |
Download Article 20 / 35–36 Safety Gateway recall brief |
GET /api/dossiers/:id/export.csv |
Download formula-safe UTF-8 BOM CSV report |
GET /api/public/reports/:slugOrNumber |
Shareable read-only compliance dossier endpoint with view counter |
MIT





