Skip to content

armgit / kokon

Public Imported from GitHub
0

Edit photos by describing the change, on your own GPU. A free, open-source alternative to Nano Banana and ChatGPT image editing: photos stay on your computer, no daily limit. One installer for Windows, Mac and Linux sets up the best open model (Qwen-Image 2.1). MCP server for AI agents.

544 B
Raw Blame
// The main window starts hidden (tauri.conf.json) so it never shows an empty page while the
// web view and the app load. This runs right after the splash in index.html is in the DOM:
// show the window once that splash has been painted. (A classic script file, not inline,
// because the CSP only allows scripts from the app itself.)
requestAnimationFrame(function () {
  requestAnimationFrame(function () {
    var t = window.__TAURI_INTERNALS__;
    if (t) t.invoke("plugin:window|show", { label: "main" }).catch(function () {});
  });
});