Static Publisher is a WordPress plugin + Node.js exporter workflow for deterministic static publishing.
Static Publisher is part of the WP Suite product family by Smart Cloud Solutions, Inc. WP Suite keeps WordPress as the CMS and editing layer, while optional connected features can extend selected workflows into modular AWS-backed services for identity, AI, APIs, workflows, protected routes, and static delivery. The free Static Publisher features described here do not require a WP Suite account, subscription, or WP Suite-managed AWS backend; you control any AWS credentials and target infrastructure you configure for publishing.
Project repository and extended documentation:
https://github.com/smartcloudsol/static-publisher
It is designed for setups where WordPress is the editor/origin and production is served from static hosting (for example S3 + CloudFront).
The plugin provides:
The Node.js exporter provides:
This plugin does not execute shell commands directly from PHP.
Instead, it writes queue/config runtime files that an external Node runner executes.
This shell-first design is intentional: rendered frontend pages can be exported by Playwright/Node while WordPress/PHP remains focused on queueing and configuration.
This plugin is not affiliated with or endorsed by Amazon Web Services or the WordPress Foundation. All trademarks are property of their respective owners.
SmartCloud Static Publisher does not require an external SaaS account to operate.
The plugin itself only manages configuration and queue state in WordPress.
Actual crawling and deployment are executed by your own Node runtime using this project’s exporter commands. This means:
@smart-cloud/publisher-exporter separately on the machine that processes queued jobs.SmartCloud Static Publisher is fully functional in Free mode and does not require a WP Suite account, subscription, trial period, or paid service to perform its core static publishing workflow.
In Free mode, the plugin supports the complete static publishing flow:
crawl, publish, deploy, invalidate, retry-timeouts, and single-URL jobs.Free mode includes S3 deployment and CloudFront invalidation. These are not paid-only features.
Audit Logs is also part of the main Static Publisher navigation and is not gated behind a WP Suite subscription.
The plugin package itself manages WordPress-side configuration, queue state, runtime files, and status/log access. Actual crawling and deployment are executed by the separately installed @smart-cloud/publisher-exporter CLI on the user’s own server, workstation, CI runner, or other queue-runner host.
Optional WP Suite Pro features are not required for the plugin to work. They are additional workflow, convenience, and team/enterprise publishing features. Examples may include:
Extra Deployment Targets are selected by key at deploy time, while downloaded job configs keep only the base target plus an optional target override id.
These optional Pro features may be visible in the plugin interface as upgrade-only controls, but they are separate from the fully functional free static publishing workflow described above.
When no active WP Suite subscription is connected, SmartCloud Static Publisher remains usable for full static crawl/publish/deploy workflows. There is no time limit, export quota, forced trial expiry, or required payment for the core static publishing functionality.
The exporter requires both Node.js and Playwright browser binaries on the machine that executes queued jobs.
Recommended Node setup is NVM + latest LTS:
curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
export NVM_DIR="$HOME/.nvm" && . "$NVM_DIR/nvm.sh" && nvm ls-remote --lts && nvm install --lts && nvm use --lts
Install the standalone exporter CLI package and Chromium browser binary:
npm install -g @smart-cloud/publisher-exporter && publisher-exporter install-browsers
Important:
www-data, prefer an explicit HOME, a PATH that already contains publisher-exporter and node, plus a shared PLAYWRIGHT_BROWSERS_PATH.$HOME expansion inside the PATH value.npx playwright install is not a global install; browser binaries are user-scoped by default (usually under ~/.cache/ms-playwright).PLAYWRIGHT_BROWSERS_PATH to point to a shared browser folder and grant proper permissions.publisher-exporter install-browsers. The later cron job only needs read/execute access to that directory tree.Allow self-signed TLS certificates during crawl in the admin UI (config key: ignoreHttpsErrors).If you prefer a shared browser cache for a non-login service user such as www-data, create the shared directory once, hand it to the job user, then install browsers from the CLI package without keeping the browser cache root-owned:
sudo mkdir -p /var/lib/playwright-browsers && sudo chown "$USER":"$USER" /var/lib/playwright-browsers && PLAYWRIGHT_BROWSERS_PATH=/var/lib/playwright-browsers /usr/bin/npx @smart-cloud/publisher-exporter install-browsers<h3>Run A Queued Job From Another Machine</h3>
If the WordPress host cannot run Node, Playwright, or cron, you can replay a queued job from your own shell or CI machine.
Download config next to the queued job and save the file as queued-job.json.publisherConfig object to publisher.config.json using one of the commands already included in the downloaded file under manualExecution.commands.@smart-cloud/publisher-exporter on that machine first.publisher.config.json locally, for example to change outputDir to a writable local folder.manualExecution.commands.jobPosix or manualExecution.commands.jobPowerShell.deploySdk and invalidateSdk commands from the same manualExecution.commands block.Important:
@smart-cloud/publisher-exporter separately on the machine that replays the downloaded job.SmartCloud Static Publisher can run with WordPress on one machine and the queue runner on another, as long as both machines point to the same shared wp-content/uploads/smartcloud-static-publisher storage.
Example:
/var/www/site/wp-content/uploads/smartcloud-static-publisher/mnt/siteSTATIC_PUBLISHER_RUNTIME_DIR='/mnt/site/runtime'Recommended rules for this setup:
outputDir and logDir storage-relative in admin, for example export and logs, not machine-specific absolute paths.@storage-root in postCrawlCopyMap when the source files are already inside the shared publisher storage.@wp-root only when the queue runner host can also access the WordPress tree, and set STATIC_PUBLISHER_WP_ROOT (or WPSUITE_STATIC_PUBLISHER_WP_ROOT) on that host.@runtime points to the shared runtime folder itself.Example postCrawlCopyMap sources:
@storage-root/shared-assets/@wp-root/wp-content/uploads/smartcloud-static-publisher/If you inspect the raw queue-runner-heartbeat.json, the runtimeDir and exporterDir values reflect the queue runner host paths. That is expected and does not break WordPress-side queue state handling.
This plugin/workflow may integrate with the following external services, depending on configuration:
Source WordPress origin and allowed asset hosts (required for crawl/export)
allowedAssetHosts.Amazon S3 (optional; deploy command)
deploy runs.PutObject, ListObjectsV2, DeleteObjects) to your configured bucket/region.Amazon CloudFront (optional; invalidate command)
invalidate runs.CreateInvalidation) for your configured distribution.WP Suite platform connection (optional; site/workspace linking & shared features)
Amazon Cognito (optional; authentication for WP Suite Hub and/or protected APIs)
Stripe (optional; subscription/purchase flow)
Adjust values before use (YOUR_BUCKET, YOUR_PREFIX, YOUR_ACCOUNT_ID, YOUR_DISTRIBUTION_ID).
Command-to-profile mapping:
deploy -> deploy-onlyinvalidate -> deploy+invalidatepublish -> deploy+invalidate
deploy-only policy (S3 only):
{
“Version”: “2012-10-17”,
“Statement”: [
{
“Sid”: “ListOnlyTargetPrefix”,
“Effect”: “Allow”,
“Action”: [“s3:ListBucket”],
“Resource”: “arn:aws:s3:::YOUR_BUCKET”,
“Condition”: {
“StringLike”: {
“s3:prefix”: [“YOUR_PREFIX/“]
}
}
},
{
“Sid”: “RWOnlyTargetPrefixObjects”,
“Effect”: “Allow”,
“Action”: [
“s3:GetObject”,
“s3:PutObject”,
“s3:DeleteObject”,
“s3:AbortMultipartUpload”,
“s3:ListBucketMultipartUploads”,
“s3:ListMultipartUploadParts”
],
“Resource”: “arn:aws:s3:::YOUR_BUCKET/YOUR_PREFIX/”
}
]
}
deploy+invalidate policy (S3 + CloudFront invalidation):
{
“Version”: “2012-10-17”,
“Statement”: [
{
“Sid”: “ListOnlyTargetPrefix”,
“Effect”: “Allow”,
“Action”: [“s3:ListBucket”],
“Resource”: “arn:aws:s3:::YOUR_BUCKET”,
“Condition”: {
“StringLike”: {
“s3:prefix”: [“YOUR_PREFIX/“]
}
}
},
{
“Sid”: “RWOnlyTargetPrefixObjects”,
“Effect”: “Allow”,
“Action”: [
“s3:GetObject”,
“s3:PutObject”,
“s3:DeleteObject”,
“s3:AbortMultipartUpload”,
“s3:ListBucketMultipartUploads”,
“s3:ListMultipartUploadParts”
],
“Resource”: “arn:aws:s3:::YOUR_BUCKET/YOUR_PREFIX/”
},
{
“Sid”: “InvalidateSpecificDistribution”,
“Effect”: “Allow”,
“Action”: [“cloudfront:CreateInvalidation”],
“Resource”: “arn:aws:cloudfront::YOUR_ACCOUNT_ID:distribution/YOUR_DISTRIBUTION_ID”
}
]
}
Amazon Web Services, AWS, Amazon S3, and Amazon CloudFront are trademarks of Amazon.com, Inc. or its affiliates.
SmartCloud Static Publisher is an independent project and is not affiliated with, sponsored by, or endorsed by Amazon Web Services or the WordPress Foundation.
Public source code:
The project source is maintained by Smart Cloud Solutions, Inc.
Build and distribution:
SmartCloud Static Publisher is shipped to WordPress.org as a pre-built distribution.
Build steps and development notes are documented in the repository README.