Add Thirdparty Service

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.

nisrulz c82edf2 2 files · 1.5 KB Updated

File contents

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

- 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:

make compress-images

This compresses all images in public/images/third_party_logos/ via the compress_images.sh script.

Validation

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.

nisrulz/app-privacy-policy-generator/tree/main/.agents/skills/add-thirdparty-service commit c82edf229a

Frequently asked questions

npx skillmds@latest add nisrulz/add-thirdparty-service