ZuidWest Pangram
WordPress-plugin voor het scannen van berichten met de Pangram Labs AI-tekstdetector.
by Streekomroep ZuidWest · github.com/oszuidwest/zw-pangram · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/oszuidwest/zw-pangram/archive/refs/heads/main.zipZuidWest Pangram checks existing WordPress posts with the Pangram Labs AI-text detector.
From Tools > Pangram you can:
- select and queue posts for analysis;
- review results and compare scores by author;
- filter results and export them as CSV.
Posts are sent only when you explicitly add them to the scan queue. Saving or publishing a post does not trigger a scan.
Privacy: Pangram Labs receives the full plain text of every post you queue.
Requirements
- WordPress 7.1+
- PHP 8.3+
- A Pangram API key with bulk access
- A working WP-Cron setup
Multisite is supported only when the plugin is activated per site.
Installation
- Download a release zip or build one with
scripts/build-plugin.sh. - Install and activate the plugin.
- Open Tools > Pangram > Settings and enter your API key.
- Test the connection, then use Tools > Pangram > Scan to queue posts.
For production, the API key can be defined in wp-config.php:
define('ZW_PANGRAM_API_KEY', 'your-key');
WP-Cron processes the queue in the background. On low-traffic sites, configure a system cron to run WordPress cron regularly.
Development
composer install
npm ci
composer lint
composer stan
npm run lint:js
npm run env:start
npm run test:php
Docker is required for the PHPUnit test environment.
License
GPL-2.0-or-later