Add 3rd Party Service
Workflow
- Add YAML entry to
src/includes/yaml/thirdpartyservices.yml - Add logo image (160×160) to
public/images/third_party_logos/ - Run
make buildto regeneratepublic/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.