Shared API tool

PDF Compressor

Upload a PDF and compress it through the shared platform API. Every branded site uses the same endpoint — update the compressor once, and all sites get the improvement.

API: http://localhost:8787/v1/pdf/compress

Status
Waiting for a PDF…

How this works

Your browser uploads the PDF to the shared API (apiBaseUrl from this site’s config). The API compresses the file and returns it for download. Branding stays on the static site; processing is centralized.

Static site UI → Shared API /v1/pdf/compress → Compressed PDF download

In local demo mode the API returns the file with compression metadata. Wire a real compressor (e.g. Ghostscript or pdf-lib) behind the same route without changing any site frontend.