Download Latest Version openpublisher5g_amd64-windows.exe (81.1 MB)
Home / 5.20.8
Name Modified Size InfoDownloads / Week
Parent folder
5.20.8_ OpenPublisher V5 Gekko Windows (Gecko Edition) source code.tar.gz 2026-11-15 123.1 MB
5.20.8_ OpenPublisher V5 Gekko Windows (Gecko Edition) source code.zip 2026-11-15 123.6 MB
README.md 2026-11-15 17.2 kB
OpenPublisher5-i386-windowsXP.exe 2026-11-15 56.5 MB
openpublisher5g_amd64-windows.exe 2026-11-15 81.1 MB
openpublisher5_amd64-windows-portable.exe 2026-11-15 183.2 MB
openpublisher5_amd64-windows.exe 2026-11-15 165.2 MB
openpublisher5_amd64-macos.dmg 2026-11-15 233.1 MB
openpublisher5_amd64-linux.run 2026-11-15 193.4 MB
openpublisher5_amd64-linux.rpm 2026-11-15 215.4 MB
openpublisher5_amd64-linux.flatpak 2026-11-15 153.6 MB
openpublisher5_amd64-linux.deb 2026-11-15 156.2 MB
openpublisher5_amd64-linux.AppImage 2026-11-15 166.4 MB
openpublisher5_amd64-freebsd.pkg 2026-11-15 185.5 MB
Totals: 14 Items   2.0 GB 0

πŸ“‹ Summary

Version 5.20.8 marks the release of OpenPublisher V5 on the Gecko Engine for Windows alongside its Over-The-Air (OTA) SHA-256 Auto-Update System (appupdates/windows/gekko/). Taking OpenPublisher's full desktop wrapper, native hooks, tear-away tool windows, and file system integration off NW.js (Chromium + Node.js) onto a tuned Mozilla Firefox ESR 115.21.0 (Gecko) runtime delivers a build that outperforms the Chromium edition across virtually every metric:

  • More Than 50% Smaller Installer (161 MB -> 79 MB): Cuts the download size in half while keeping the full V5 desktop feature set and native look and feel.
  • Broad Windows Compatibility: Supports Windows 7, 8, 8.1, 10, and 11 (x64) and acts as an in-place drop-in upgrade over existing NW.js installations, preserving .opub file associations and shortcuts.
  • Dramatically Faster Canvas & UI: Eliminates multi-second zoom stalls on large templates, squashes Chrome-era clipboard/print bugs, and adds a manifest-driven SHA-256 incremental auto-updater hosted at https://openpublisher.app/appupdates/windows/gekko/manifest.json.

Complete application version synchronization has also been applied across the Service Worker cache (open-publisher-v5-20-8-1), About dialog, script and asset cachebusters, engine logs, 404.html, and README badges.

op-HighProformanceGekpDesktopEngineAndLightwaightRuntimeUpgrade


πŸ“Š NW.js (Chromium) vs. Gecko Edition Comparison

Metric / Area Old NW.js (Chromium) Build New Gecko Edition
Installer Size 161 MB 79 MB (more than 50% smaller!)
Runtime Engine Chromium + Node.js + SwiftShader Tuned Firefox 115.21.0esr Gecko core
OS Support Modern Windows Windows 7, 8, 8.1, 10, and 11 (x64)
In-Place Upgrade N/A Installs cleanly right over existing NW.js installations
Update Mechanism Full wrapper replacement Manifest-based SHA-256 incremental auto-updater
Zoom & Canvas Feel Heavy root restyles on large docs Instant GPU transform + requestAnimationFrame coalescing

πŸ› οΈ Key Improvements & Headline Benefits

1. Installer Footprint & Windows Distribution

  • Halved Download Size (161 MB -> 79 MB): Removing Chromium, V8 snapshots, SwiftShader, and duplicate Electron/NW.js payloads trimmed the Inno Setup (OP_Setup.exe) installer down to 79 MB, while stripping unnecessary browser helper binaries (updater.exe, crashreporter.exe, default-browser-agent.exe, etc.) kept the installed footprint lean.
  • Drop-In In-Place Upgrade: Running the installer on a machine that already has the older NW.js version installed cleanly overwrites it in place while preserving .opub file associations and desktop/start-menu shortcuts.

2. Eliminated the 10-Second Zoom Lag Spike

Image-heavy templates (such as posters_back_to_school.opub with ~14.5 MB of inline base64 graphics and backgrounds) previously stalled for seconds on every zoom step (Ctrl + +, Ctrl + Scroll, zoom slider, or toolbar buttons):

  • Scoped CSS Custom Properties: Moved zoom CSS variables off <html> (document.documentElement) onto #viewport and #paper so Gecko's Stylo engine stops recalculating styles across 2,000+ unrelated UI and font-preloader nodes on every zoom tick.
  • blob: URL Promotion: Automatically converts multi-megabyte inline data:image/...;base64,... strings on #paper backgrounds and canvas image elements into fast local blob: URLs, paired with stripping dead 7-stage no-op CSS filter chains.
  • requestAnimationFrame Coalescing: Applies immediate visual scale transforms in under 1 ms while batching ruler, margin, scroll, and overlay synchronization cleanly per frame.

3. Clipboard & Canvas Interaction Fixes

  • Ctrl+V Double-Paste Squashed: Intercepted duplicate DOM paste propagation whenever the desktop clipboard handler inserts an image, guaranteeing Ctrl+V inserts strictly one image just like the top bar Paste button (fixing a long-standing Chromium-era double-paste bug).
  • Clickable Publication Title (#doc-title): Removed overlapping wrapper drag zones (#drag-zone-left2 and overly wide #drag-zone-right) and exempted [contenteditable="true"] from guest title-bar dragging so users can click anywhere inside the centered title box and type immediately.
  • Centering on Resize / Maximize & Sidebar Shift: Kept #paper centered cleanly across window resizes and maximize transitions, and fixed workspace layout synchronization so opening in-app sidebars (such as Format Picture) shifts the canvas leftward instead of covering it up.
  • Crisp Margin Guides at Fractional Zoom: Resolved rounding glitches that made left or right margin guides vanish at certain zoom levels.

4. Printing & Export Reliability

  • Ctrl+P Uses OpenPublisher's Print Serializer: Intercepted cmd_print and Ctrl+P at the Gecko window level so printing triggers OpenPublisher's print engine rather than trying to print the desktop wrapper UI.
  • Scrapbook, Clipart & SVG Printing Fixed: Guarded an out-of-scope frame reference (window.activeEl) during canvas image serialization and normalized SVG data:image/svg+xml root dimensions so cliparts and uploaded images render reliably during print generation.
  • Text Contrast, Legacy WordArt & Clean Print Edges: Fixed white-text-on-print rendering bugs (such as light stylized headings like WINTER printing black), improved Legacy WordArt webfont bounds measurement before baking, and eliminated the 1 px white edge artifact on print output.
  • Native Single "Save As" Dialog: Fixed duplicate content-load listeners that previously opened the file dialog 2-4 times, and wired <input nwsaveas> / <input nwdirectory> directly to native Windows nsIFilePicker dialogs with .opub / .json filters.

5. Polished Desktop UX & Splash Screen

  • Frameless Native Window Chrome: Restored the custom OpenPublisher title bar (Theme Change -> Minimize -> Maximize/Restore -> Close), Win32 edge resize grips, full-window drag on the splash screen, double-click title bar maximize/restore, and the top-right drag region in macOS theme mode.
  • Smooth Boot Console & Updated Branding: Eliminated Firefox scrollbar/mask paint stalls on #splash-console and timer cutoffs so startup logs scroll smoothly all the way to Connected to Workspace ("Ready"), and updated First Run Wizard branding to clean V5 labels.
  • External Links Open in Default Browser: Links inside dialogs (GitHub, Patreon, PayPal, Facebook, and external Knowledge Base links) open in the user's default OS web browser instead of spawning frameless app popups.
  • Process Naming for Classroom Sharing: Named the runtime executable OpenPublisher.exe so system tools and Broadcast to Classroom sharing dialogs display OpenPublisher rather than firefox.

πŸ—οΈ Under the Hood: Gecko Wrapper Architecture & OTA Updater

Porting the NW.js desktop wrapper without rewriting OpenPublisher's web app bridged two completely different runtime models cleanly:

:::text
+-------------------------------------------------------------------+
|  OpenPublisher.exe (C# Native Launcher)                           |
|  - Handles .opub / .json file launch args & --firstrun flag       |
|  - Enforces clean Gecko user.js prefs & crash-guard resets        |
|  - Launches firefox/core/OpenPublisher.exe cleanly (no console)   |
+---------------------------------+---------------------------------+
                                  |
                                  v
+-------------------------------------------------------------------+
|  firefox/core/firefox.cfg (AutoConfig + Win32 ctypes + XPCOM)     |
|  - Strips browser UI into a single frameless desktop shell        |
|  - Win32 user32/kernel32 drag, maximize/restore & clipboard PNG   |
|  - Real disk I/O (nsIFile), Save/Open dialogs (nsIFilePicker)     |
|  - Built-in TCP HTTP server (nsIServerSocket) for Classroom share |
|  - Bridges wrapper.html <-> https://openpublisher.app via IPC     |
|  - Manifest SHA-256 auto-updater against openpublisher.app        |
+---------------------------------+---------------------------------+
                                  |
                                  v
+-------------------------------------------------------------------+
|  wrapper.html + gecko_nw_shim.js (NW.js Translation Layer)        |
|  - Emulates nw.Window, nw.Shell, nw.App, fs, path, os, http       |
|  - Hosts <iframe id="app-view"> loading https://openpublisher.app |
|  - Renders V5 Splash Screen, First Run Wizard & Custom Top Bar    |
|  - Drives real-time zoom, margins, sidebar shift & print hooks    |
+-------------------------------------------------------------------+

Core Architectural Components

  1. Native Windows Launcher (OpenPublisher.cs -> OpenPublisher.exe):
  2. Compiled as a lightweight Windows GUI binary (csc.exe, zero console flash). Configures the local profile/ cleanly on launch (preventing Safe Mode prompts, locking out Mozilla browser-update doorhangers, setting file:// origin interoperability, and forwarding .opub file paths into wrapper.html?open=...).
  3. Chrome-Less Gecko Shell (firefox/core/firefox.cfg, profile/chrome/userChrome.css, userContent.css):
  4. Strips tabs, toolbars, notifications, and browser chrome without breaking Gecko's internal <browser> compositor frames, while keeping external pages like the Knowledge Base exempted from workspace background overrides.
  5. NW.js API & Node Module Shim (gecko_nw_shim.js):
  6. Translates NW.js APIs (nw.Window.get(), chromeless tear-away windows via nw.Window.open, nw.Shell.openExternal), Node fs operations, native menus, and http.createServer() into GeckoNative IPC messages handled natively in firefox.cfg so window_manager, recent files, backups, quick actions, and Broadcast to Classroom all work without Chromium or Node.js.
  7. Manifest-Based Self-Updater (appupdates/windows/gekko/):
  8. Hosted in the repository under appupdates/windows/gekko/manifest.json (wrapper.html, gecko_nw_shim.js, firefox/core/firefox.cfg, and windows/* popups: backup_mgr.html, doc_preview.html, export_queue.html, hud.html, ipc_sniffer.html, prev_versions.html, quick_actions.html, wa_rules.css).
  9. At startup, wrapper.html triggers GeckoNative.checkWrapperUpdate() against https://openpublisher.app/appupdates/windows/gekko/manifest.json. The AutoConfig host compares local vs. remote SHA-256 hashes using nsICryptoHash, streams changed files over XMLHttpRequest with live progress updates to the splash overlay, writes updates atomically, and reloads cleanly.

Windows Distribution Layout (OP_Setup.exe)

Packaged via Inno Setup + botva2.dll with only the runtime assets required:

  • Root Files: OpenPublisher.exe (launcher), wrapper.html, gecko_nw_shim.js, inject.js, manifest.json, op_menu_hook.dll, op_native_menu.exe, reset_firstrun.flag
  • Directories: assets/, dictionaries/, firefox/ (trimmed Gecko 115.21.0esr runtime), firstrun_assets/, fonts/, node_modules/, profile/chrome/ (userChrome.css, userContent.css), and windows/ (tool dialogs)

πŸš€ 3-Phase Rollout Plan

Because OpenPublisher V5 (Gecko Edition) delivered superior performance across all benchmark, memory, zoom, and startup tests, we are rolling out the transition from NW.js to Gecko in three structured phases:

  1. Phase 1 - Side-by-Side Release (Current): Both the Gecko Edition and the existing NW.js build are offered alongside each other so early adopters can test compatibility across real-world hardware and Windows versions.
  2. Phase 2 - Gecko Becomes Primary Download: Assuming Phase 1 feedback and telemetry remain smooth, all main Windows download links on OpenPublisher will switch over to the Gecko Edition by default.
  3. Phase 3 - NW.js Transitions to Legacy Archive: The older NW.js build will move to a legacy release option, and all ongoing desktop wrapper updates will target the Gecko Edition exclusively.

πŸ”„ Version Synchronization (v5.20.8)

Component Target Version Updated Reference
Service Worker v5.20.8 open-publisher-v5-20-8-1 and header comment in sw.js
Windows Gecko OTA Updates v5.20.8 12 Windows Gecko wrapper/auto-updater files staged under appupdates/windows/gekko/
Template Library & 404 Router v5.20.8 getTemplateAssetUrl in elements/templates/templates.js; template index query string in 404.html
Dashboard Start Screen v5.20.8 Template index, thumbnail, and file cachebusters in ui/dashboard.js
AI Studio Engine v5.20.8 Header version and AIAssistant.VERSION (5.20.8) in extensions/ai-assistant.js
About Dialog & UI Interactions v5.20.8 Header comment, Knowledge Base icon query strings, and About dialog in extensions/ui-interactions.js
Print & Watermark Engines v5.20.8 Header comment in extensions/print-engine.js; header and init log in extensions/watermark-engine.js
PWA Installer v5.20.8 Service worker registration sw.js?v=5.20.8 in extensions/pwa-install.js
Application Cachebusters v5.20.8 All 106 script, style, and image asset query strings updated to ?v=5.20.8 in index.html
README Badges v5.20.8 Badge image query strings updated to ?v=5.20.8 in README.md

βœ… Checklist Completed

  • [x] Port OpenPublisher desktop runtime from NW.js (Chromium) to Firefox 115.21.0esr (Gecko x64) for Windows 7 through Windows 11
  • [x] Build native zero-console C# Windows launcher (OpenPublisher.exe) with .opub / .json launch argument routing and --firstrun support
  • [x] Strip unused Firefox updater, crash reporter, and helper binaries, reducing the Inno Setup installer from 161 MB to 79 MB with seamless in-place upgrades over existing NW.js installs
  • [x] Implement gecko_nw_shim.js to translate nw.Window, nw.Shell, nw.App, fs, http, native menus, and frameless tear-away windows over GeckoNative IPC
  • [x] Configure chromeless desktop shell via firefox/core/firefox.cfg, userChrome.css, and userContent.css while suppressing Firefox update/notification banners and exempting Knowledge Base pages from workspace background overrides
  • [x] Implement Win32 frameless window dragging, double-click title bar maximize/restore, full-window splash screen drag zone, macOS #brand-mac-right drag support, and top-right coordinate display alignment
  • [x] Remove #doc-title drag overlay overlap and [contenteditable="true"] focus capture so the publication title box can always be clicked and typed into
  • [x] Route external links (About dialog GitHub, Patreon, PayPal, Facebook, and external KB links) to the default OS browser and name the runtime process OpenPublisher.exe for Classroom sharing
  • [x] Fix duplicate contentload / IPC listeners so Save As opens a single native Windows nsIFilePicker dialog with real disk .opub / .json read/write (nsIFile) and embedded nsIServerSocket HTTP support
  • [x] Eliminate zoom lag spikes on image-heavy templates (such as posters_back_to_school.opub) via scoped CSS custom properties, blob: URL promotion, and requestAnimationFrame coalescing
  • [x] Fix Ctrl+V clipboard double-pasting so pasting images inserts a single copy matching the toolbar button
  • [x] Fix window resize/maximize page jumping, Format Picture sidebar workspace shift, and disappearing margin guides at fractional zoom levels
  • [x] Fix Ctrl+P to invoke OpenPublisher's print serializer, resolve Scrapbook/clipart/SVG print crashes, preserve white print text (such as WINTER), improve Legacy WordArt font fitting, and remove the 1 px print edge line
  • [x] Fix splash boot console stalls and early timer cutoffs so loading logs scroll smoothly through Ready, and update First Run Wizard branding to V5
  • [x] Add SHA-256 manifest-based auto-updater (manifest.json, wrapper.html, firefox/core/firefox.cfg) targeting https://openpublisher.app/appupdates/windows/gekko/ with live splash progress bar and atomic Windows file replacement
  • [x] Update the Inno Setup installer script for the Gecko build (OP_Setup.exe) while preserving the existing botva2 slides, buttons, and theme
  • [x] Synchronize version 5.20.8 across sw.js (open-publisher-v5-20-8-1), index.html, 404.html, ui/dashboard.js, elements/templates/templates.js, extensions, and README.md

πŸš€ Version 5.20.8 - Open Publisher

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