--- name: add-thirdparty-service description: > Add a new third-party service to the privacy policy generator. Trigger when user says: "add {name} service", "add third party service", "add 3rd party service", "add new service entry", or when a user wants to contribute a new service to the app. --- # Add 3rd Party Service ## Workflow 1. Add YAML entry to `src/includes/yaml/thirdpartyservices.yml` 2. Add logo image (160×160) to `public/images/third_party_logos/` 3. Run `make build` to regenerate `public/js/thirdpartyservices.min.js` ## YAML Entry Format ```yml - name: Service Name enabled: false logo: images/third_party_logos/name.png link: privacy: https://example.com/privacy terms: https://example.com/terms ``` ## Logo Requirements - **160×160** pixels - Place in `public/images/third_party_logos/` - PNG or SVG format - Use remove.bg to strip background if needed - Use imagetools.org/trim to trim excess space ## Logo Compression After adding the logo, run: ```sh make compress-images ``` This compresses all images in `public/images/third_party_logos/` via the compress_images.sh script. ## Validation ```sh make build # regenerates public/js/thirdpartyservices.min.js from YAML make check # runs Go vet, build, golden, and Playwright checks ``` Do NOT edit `public/js/thirdpartyservices.min.js` directly — it is auto-generated from the YAML source.