Repository navigation
donation
Batch Convert to Compressed File is donation-supported. The donation banner is visible until a completed donation is verified.
-
Click Donate in the banner (or Help -> Donate).
-
The browser opens:
https://www.purelogiccode.com/Donate?app=batch-convert-to-compressed-file&email=<optional> -
Complete the donation with the same email address you will enter in the app.
-
Enter that email in the banner and click Verify donation.
-
If the API confirms a completed donation, the banner is hidden permanently for the current user and
donation.jsonis written.
The banner intentionally has no close button. It goes away only after verification.
POST https://www.purelogiccode.com/api/donations/verify
X-API-KEY: <application key>
Content-Type: application/json
{
"email": "donor@example.com",
"applicationSlug": "batch-convert-to-compressed-file"
}
Successful response:
{
"donated": true,
"applicationSlug": "batch-convert-to-compressed-file",
"totalAmount": 10.0,
"lastDonationAtUtc": "2026-11-05T12:00:00Z"
}The server verifies the email against completed donations for the application. A local file is only a cache of a successful response; deleting it shows the banner again until verification is repeated.
The verification endpoint only accepts application slugs registered as donationware on the
Pure Logic Code site. The slug batch-convert-to-compressed-file is present in the website product
catalog and deployed in production.
The live API returns 200 with donated:false for an email without a completed donation:
POST https://www.purelogiccode.com/api/donations/verify
X-API-KEY: <application key>
{"email":"nobody@example.com","applicationSlug":"batch-convert-to-compressed-file"}If the slug is missing from a future deployment, the API returns 404 and the app shows:
Donation verification is not available for this application yet. Please try again later.
- Only the email address is sent to the verification API.
- The response includes the total donated amount and the last donation timestamp.
- The email is stored locally in
donation.jsonafter successful verification.
- Verification is server-side; editing
donation.jsondoes not create a donation record. - The API key identifies the application, not the user.
- No payment data is handled by the desktop application.
Batch Convert to Compressed File · GNU GPL v3 · Pure Logic Code