| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| OpenPublisher5-i386-windowsXP.exe | 2026-11-13 | 56.5 MB | |
| openpublisher5_amd64-windows-portable.exe | 2026-11-13 | 183.2 MB | |
| openpublisher5_amd64-windows.exe | 2026-11-13 | 165.2 MB | |
| openpublisher5_amd64-macos.dmg | 2026-11-13 | 233.1 MB | |
| openpublisher5_amd64-linux.run | 2026-11-13 | 193.4 MB | |
| openpublisher5_amd64-linux.rpm | 2026-11-13 | 215.4 MB | |
| openpublisher5_amd64-linux.flatpak | 2026-11-13 | 153.6 MB | |
| openpublisher5_amd64-linux.deb | 2026-11-13 | 156.2 MB | |
| openpublisher5_amd64-linux.AppImage | 2026-11-13 | 166.4 MB | |
| 5.20.4_ Tab 1 FLUX.1 Quota Protection _ Multi-Worker Image Rollover source code.tar.gz | 2026-11-13 | 103.7 MB | |
| 5.20.4_ Tab 1 FLUX.1 Quota Protection _ Multi-Worker Image Rollover source code.zip | 2026-11-13 | 104.2 MB | |
| README.md | 2026-11-13 | 4.7 kB | |
| openpublisher5_amd64-freebsd.pkg | 2026-11-13 | 185.5 MB | |
| Totals: 13 Items | 1.9 GB | 0 | |
π Summary
Version 5.20.4 protects the FLUX.1 image generation quota and adds multi-node failover support for AI image requests after our clumsy setup drained the daily image quota in just 4 hours!:
- Prevents Tab 1 (Page Layout) prompts from silently invoking FLUX.1 raster image generation on every flyer or layout, routing Tab 1 illustrations through free
clipart,ai_vector, andshapeelements instead. - Upgrades Tab 2 (AI Image) to support an array of Cloudflare Workers AI FLUX.1 nodes (
AI_IMAGE_WORKER_NODES) with Fisher-Yates shuffling and automatic rollover across nodes before falling back to scalable SVG vector generation.
Complete application version synchronization has also been applied across the Service Worker cache (open-publisher-v5-20-4-1), About dialog, script and asset cachebusters, engine logs, and documentation badges.
π οΈ Key Improvements
1. Stop Tab 1 Layout Prompts from Draining FLUX.1 Quota (extensions/ai-assistant.js)
- System Prompt Schema Update (
buildAISystemPrompt): - Removed
|ai_imagefrom the"type"enum list and removed the- ai_image:entry fromELEMENT PROPS GUIDE:. - Tab 1 full-page layout prompts now stick to
clipart,ai_vector, andshapeartwork instead of silently spending FLUX.1 GPU compute on routine layouts. - Backwards Compatibility Preserved:
- Kept the
case 'ai_image':handler increateAIElementintact so any existing or explicitly constructedai_imageplans continue to work.
2. Multi-Worker Rollover for FLUX.1 Image Nodes (extensions/ai-assistant.js)
AI_IMAGE_WORKER_NODESArray & Export:- Replaced the single
AI_IMAGE_WORKER_URLconstant withAI_IMAGE_WORKER_NODES(['https://openpub-img-1.openpublisher.workers.dev']) so additional team FLUX.1 worker nodes can be plugged in easily. - Updated
window.AIAssistantexports to exposeIMAGE_WORKER_NODES: AI_IMAGE_WORKER_NODES.slice(). - Shuffled Node Failover (
generateAIImage): - Shuffles
AI_IMAGE_WORKER_NODESusingshuffleNodes(...)on each request and tries each node sequentially:200 OKwithdataUrl: Records the 20s cooldown timestamp and returns the generated image immediately.429Rate Limit: Throws the rate-limit error immediately without hammering other nodes.503/ Network / HTTP Error: Continues the loop to try the next available image worker node.- All Nodes
503: Only triggers the 7-nodegenerateAIVectorSVGfallback after every node inAI_IMAGE_WORKER_NODEShas returned503.
π Version Synchronization (v5.20.4)
| Component | Target Version | Updated Reference |
|---|---|---|
| Service Worker | v5.20.4 |
open-publisher-v5-20-4-1 and header comment in sw.js |
| AI Studio Engine | v5.20.4 |
Header version and AIAssistant.VERSION (5.20.4) in extensions/ai-assistant.js |
| About Dialog & UI Interactions | v5.20.4 |
Header comment, Knowledge Base icon query strings, and About dialog in extensions/ui-interactions.js |
| Print & Watermark Engines | v5.20.4 |
Header comment in extensions/print-engine.js; header and init log in extensions/watermark-engine.js |
| Proofing & Spellcheck | v5.20.4 |
Headers and load log in tools/proofing/dictionary.js and tools/proofing/spellcheck-engine.js |
| PWA Installer | v5.20.4 |
Service worker registration sw.js?v=5.20.4 in extensions/pwa-install.js |
| Application Cachebusters | v5.20.4 |
All script, style, and image asset query strings updated to ?v=5.20.4 in index.html |
| Dashboard & Template Assets | v5.20.4 |
ui/dashboard.js and elements/templates/templates.js (getTemplateAssetUrl) |
| README Badges | v5.20.4 |
Badge image query strings updated to ?v=5.20.4 in README.md |
β Checklist Completed
- [x] Remove
ai_imagefrombuildAISystemPromptschema andELEMENT PROPS GUIDE:while preservingcreateAIElementbackwards compatibility - [x] Replace
AI_IMAGE_WORKER_URLwithAI_IMAGE_WORKER_NODESand exportIMAGE_WORKER_NODES - [x] Implement shuffled multi-node rollover in
generateAIImagewith429fast-fail and503all-node SVG fallback - [x] Synchronize version
5.20.4acrosssw.jscache (open-publisher-v5-20-4-1),index.html, and all JavaScript, CSS, and documentation files - [x] Commit all v5.20.4 changes
π Version 5.20.4 - Open Publisher