Download Latest Version openpublisher5g_amd64-windows.exe (81.1 MB)
Home / 5.20.4
Name Modified Size InfoDownloads / 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!:

  1. 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, and shape elements instead.
  2. 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.

op-AIImageQuotaProtectionAndMultiNodeFailoverUpgrades


πŸ› οΈ Key Improvements

1. Stop Tab 1 Layout Prompts from Draining FLUX.1 Quota (extensions/ai-assistant.js)

  • System Prompt Schema Update (buildAISystemPrompt):
  • Removed |ai_image from the "type" enum list and removed the - ai_image: entry from ELEMENT PROPS GUIDE:.
  • Tab 1 full-page layout prompts now stick to clipart, ai_vector, and shape artwork instead of silently spending FLUX.1 GPU compute on routine layouts.
  • Backwards Compatibility Preserved:
  • Kept the case 'ai_image': handler in createAIElement intact so any existing or explicitly constructed ai_image plans continue to work.

2. Multi-Worker Rollover for FLUX.1 Image Nodes (extensions/ai-assistant.js)

  • AI_IMAGE_WORKER_NODES Array & Export:
  • Replaced the single AI_IMAGE_WORKER_URL constant with AI_IMAGE_WORKER_NODES (['https://openpub-img-1.openpublisher.workers.dev']) so additional team FLUX.1 worker nodes can be plugged in easily.
  • Updated window.AIAssistant exports to expose IMAGE_WORKER_NODES: AI_IMAGE_WORKER_NODES.slice().
  • Shuffled Node Failover (generateAIImage):
  • Shuffles AI_IMAGE_WORKER_NODES using shuffleNodes(...) on each request and tries each node sequentially:
    • 200 OK with dataUrl: Records the 20s cooldown timestamp and returns the generated image immediately.
    • 429 Rate 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-node generateAIVectorSVG fallback after every node in AI_IMAGE_WORKER_NODES has returned 503.

πŸ”„ 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_image from buildAISystemPrompt schema and ELEMENT PROPS GUIDE: while preserving createAIElement backwards compatibility
  • [x] Replace AI_IMAGE_WORKER_URL with AI_IMAGE_WORKER_NODES and export IMAGE_WORKER_NODES
  • [x] Implement shuffled multi-node rollover in generateAIImage with 429 fast-fail and 503 all-node SVG fallback
  • [x] Synchronize version 5.20.4 across sw.js cache (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

Source: README.md, updated 2026-11-13