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.

Site: one menu on every page, with dropdowns and a phone menu

Gabriele Lozupone37c0491e9afe
diff --git a/site/ai-image-editing-from-your-phone/index.html b/site/ai-image-editing-from-your-phone/index.html
index 15e3b33..ce5f026 100644
--- a/site/ai-image-editing-from-your-phone/index.html
+++ b/site/ai-image-editing-from-your-phone/index.html
@@ -22,7 +22,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:opsz,[email protected],400..700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
-<link rel="stylesheet" href="../assets/style.css?v=11">
+<link rel="stylesheet" href="../assets/style.css?v=12">
<script type="application/ld+json">
{
"@context": "https://schema.org",
@@ -163,15 +163,38 @@
<header class="nav scrolled" id="nav">
<div class="wrap">
<a class="logo" href="../" aria-label="Kokon home"><svg><use href="#mark"/></svg>Kokon</a>
- <nav class="nav-links" aria-label="Sections">
- <a href="../#examples">Examples</a>
- <a href="../#features">Features</a>
- <a href="../#compare">Compare</a>
- <a href="../prompt-guide/">Prompt guide</a>
- <a href="../#faq">FAQ</a>
+ <nav class="nav-links" id="nav-links" aria-label="Site">
+ <ul>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-product">Product<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-product"><ul>
+ <li><a href="/#examples"><b>Examples</b><span>Real edits, before and after</span></a></li>
+ <li><a href="/#features"><b>Features</b><span>Edit, paint, combine, expand, upscale</span></a></li>
+ <li><a href="/#devices"><b>On your phone <span class="new">New</span></b><span>Use your GPU from any device</span></a></li>
+ <li><a href="/mcp-image-generation/"><b>For AI agents</b><span>MCP server and HTTP API</span></a></li>
+ <li><a href="/#requirements"><b>Requirements</b><span>GPUs, Macs and disk space</span></a></li>
+ </ul></div></li>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-guides">Guides<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-guides"><ul>
+ <li><a href="/qwen-image-2-1-local/"><b>Setup guide</b><span>Install and run Qwen-Image 2.1</span></a></li>
+ <li><a href="/self-hosted/"><b>Phone and server</b><span>Other devices, Linux, Docker, Tailscale</span></a></li>
+ <li><a href="/prompt-guide/"><b>Prompt guide</b><span>Write prompts that work</span></a></li>
+ <li><a href="/remove-objects-from-photos-offline/"><b>Remove objects</b><span>Step by step, offline</span></a></li>
+ </ul></div></li>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-compare">Compare<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-compare"><ul>
+ <li><a href="/local-ai-photo-editor/"><b>Local AI photo editor</b><span>Why edit on your own computer</span></a></li>
+ <li><a href="/offline-alternative-to-nano-banana/"><b>vs Nano Banana</b><span>Offline alternative to cloud editing</span></a></li>
+ <li><a href="/comfyui-alternative/"><b>vs ComfyUI</b><span>Simpler, no nodes, no Python</span></a></li>
+ <li><a href="/ai-image-editing-from-your-phone/"><b>From your phone</b><span>Kokon vs ComfyUI with --listen</span></a></li>
+ </ul></div></li>
+ <li><a class="top" href="/#faq">FAQ</a></li>
+ </ul>
+ <p class="nav-more"><a href="https://github.com/GabrieleLozupone/kokon" rel="noopener">GitHub</a><a href="/support/">Support Kokon</a><a href="/press/">Press kit</a></p>
</nav>
<span class="spacer"></span>
+ <a class="gh" href="https://github.com/GabrieleLozupone/kokon" rel="noopener"><svg width="18" height="18" fill="currentColor"><use href="#github"/></svg>GitHub</a>
<a class="btn primary small" href="https://github.com/GabrieleLozupone/kokon/releases/latest" rel="noopener" data-dl-auto>Download</a>
+ <button class="burger" type="button" aria-expanded="false" aria-controls="nav-links" aria-label="Open menu"><span class="bars"><span></span><span></span></span><span class="lbl">Menu</span></button>
</div>
</header>
@@ -287,5 +310,6 @@
</div>
</dialog>
<script src="/download.js" defer></script>
+<script src="/nav.js" defer></script>
</body>
</html>
diff --git a/site/assets/style.css b/site/assets/style.css
index c1bd5ce..81d02e6 100644
--- a/site/assets/style.css
+++ b/site/assets/style.css
@@ -34,15 +34,55 @@ body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-i
.nav .wrap { height: 64px; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 640; font-size: 19px; letter-spacing: -0.03em; }
.logo svg { width: 22px; height: 22px; }
-.nav-links { display: none; gap: 26px; font-size: 14.5px; color: var(--text-2); }
-.nav-links a:hover { color: var(--text); }
-.nav-links a { white-space: nowrap; }
-.nav-links a[aria-current="page"] { color: var(--text); }
-@media (min-width: 900px) and (max-width: 1240px) { .nav .wrap { gap: 20px; } .nav-links { gap: 15px; font-size: 14px; } .nav-links a[href$="#requirements"], .nav-links a[href^="qwen-image"] { display: none; } }
+.nav-links { display: none; font-size: 14.5px; color: var(--text-2); }
+.nav-links ul { list-style: none; margin: 0; padding: 0; }
+.nav-links > ul { display: flex; align-items: center; gap: 6px; }
+.nav-links .top, .dd > button { display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 12px; border-radius: 999px; white-space: nowrap; transition: color 0.2s, background 0.2s; }
+.nav-links .top:hover, .dd > button:hover, .dd.open > button { color: var(--text); background: var(--card-hi); }
+.caret { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s; }
+.dd { position: relative; }
+.dd.open .caret { transform: rotate(180deg); }
+.dd-panel { position: absolute; top: 100%; left: -8px; padding-top: 10px; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 0.18s, transform 0.18s, visibility 0.18s; }
+.dd-panel ul { width: 300px; padding: 8px; border-radius: 18px; background: #121212; box-shadow: 0 0 0 1px var(--line-hi), 0 24px 70px rgba(0, 0, 0, 0.6); }
+.dd.open .dd-panel { opacity: 1; visibility: visible; transform: none; }
+@media (hover: hover) and (min-width: 900px) { .dd:hover .dd-panel, .dd:focus-within .dd-panel { opacity: 1; visibility: visible; transform: none; } }
+.dd-panel a { display: block; padding: 10px 12px; border-radius: 12px; transition: background 0.15s; }
+.dd-panel a:hover, .dd-panel a:focus-visible { background: var(--card-hi); }
+.dd-panel b { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 560; font-size: 14.5px; }
+.dd-panel a > span { display: block; margin-top: 2px; font-size: 13px; color: var(--text-3); white-space: normal; }
+.dd-panel a[aria-current="page"] { background: rgba(255, 255, 255, 0.05); }
+.new { font-size: 10.5px; font-weight: 650; letter-spacing: 0.03em; text-transform: uppercase; padding: 1px 6px; border-radius: 6px; background: var(--paper); color: var(--ink); }
+.nav-more { display: none; }
.nav .spacer { flex: 1; }
.gh { display: none; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.gh:hover { color: var(--text); }
-@media (min-width: 900px) { .nav-links, .gh { display: flex; } }
+.burger { display: inline-flex; align-items: center; gap: 9px; height: 38px; padding: 0 15px 0 13px; border-radius: 999px; background: var(--card-hi); box-shadow: inset 0 0 0 1px var(--line-hi); font-size: 14.5px; font-weight: 560; letter-spacing: -0.01em; transition: background 0.2s; }
+.burger:hover, .menu-open .burger { background: rgba(255, 255, 255, 0.1); }
+.burger .bars { position: relative; width: 16px; height: 10px; }
+.burger .bars span { position: absolute; left: 0; width: 16px; height: 1.6px; border-radius: 2px; background: var(--text); transition: transform 0.25s, top 0.25s, width 0.25s; }
+.burger .bars span:first-child { top: 0; }
+.burger .bars span:last-child { top: 8.4px; width: 11px; }
+.menu-open .burger .bars span:first-child { top: 4.2px; transform: rotate(45deg); }
+.menu-open .burger .bars span:last-child { top: 4.2px; width: 16px; transform: rotate(-45deg); }
+@media (min-width: 900px) { .nav-links, .gh { display: flex; } .burger { display: none; } }
+@media (max-width: 899px) {
+ .nav .wrap { gap: 12px; }
+ .nav .btn[data-dl-auto] { display: none; }
+ .nav.menu-open { background: var(--bg); border-color: var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; }
+ .nav-links { position: fixed; top: 64px; left: 0; right: 0; height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain; padding: 8px 16px calc(32px + env(safe-area-inset-bottom)); background: var(--bg); }
+ .nav.menu-open .nav-links { display: block; }
+ .nav-links > ul { display: block; }
+ .dd > button { height: auto; padding: 22px 4px 6px; background: none !important; color: var(--text-3); font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; pointer-events: none; }
+ .dd > button .caret { display: none; }
+ .dd-panel { position: static; padding: 0; opacity: 1; visibility: visible; transform: none; transition: none; }
+ .dd-panel ul { width: auto; padding: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
+ .dd-panel a { padding: 11px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
+ .dd-panel b { font-size: 17px; }
+ .nav-links .top { display: flex; height: auto; margin-top: 18px; padding: 14px 4px; border-radius: 0; font-size: 17px; font-weight: 560; color: var(--text); background: none; border-bottom: 1px solid var(--line); }
+ .nav-more { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 24px 4px 0; font-size: 15px; }
+ .nav-more a:hover { color: var(--text); }
+}
+html.menu-lock, html.menu-lock body { overflow: hidden; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 560; font-size: 15.5px; letter-spacing: -0.01em; transition: transform 0.2s, background 0.2s, box-shadow 0.2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
diff --git a/site/comfyui-alternative/index.html b/site/comfyui-alternative/index.html
index cfb8ccf..f74eb00 100644
--- a/site/comfyui-alternative/index.html
+++ b/site/comfyui-alternative/index.html
@@ -22,7 +22,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:opsz,[email protected],400..700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
-<link rel="stylesheet" href="../assets/style.css?v=9">
+<link rel="stylesheet" href="../assets/style.css?v=12">
<script type="application/ld+json">
{
"@context": "https://schema.org",
@@ -120,15 +120,38 @@
<header class="nav scrolled" id="nav">
<div class="wrap">
<a class="logo" href="../" aria-label="Kokon home"><svg><use href="#mark"/></svg>Kokon</a>
- <nav class="nav-links" aria-label="Sections">
- <a href="../#examples">Examples</a>
- <a href="../#features">Features</a>
- <a href="../#compare">Compare</a>
- <a href="../prompt-guide/">Prompt guide</a>
- <a href="../#faq">FAQ</a>
+ <nav class="nav-links" id="nav-links" aria-label="Site">
+ <ul>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-product">Product<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-product"><ul>
+ <li><a href="/#examples"><b>Examples</b><span>Real edits, before and after</span></a></li>
+ <li><a href="/#features"><b>Features</b><span>Edit, paint, combine, expand, upscale</span></a></li>
+ <li><a href="/#devices"><b>On your phone <span class="new">New</span></b><span>Use your GPU from any device</span></a></li>
+ <li><a href="/mcp-image-generation/"><b>For AI agents</b><span>MCP server and HTTP API</span></a></li>
+ <li><a href="/#requirements"><b>Requirements</b><span>GPUs, Macs and disk space</span></a></li>
+ </ul></div></li>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-guides">Guides<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-guides"><ul>
+ <li><a href="/qwen-image-2-1-local/"><b>Setup guide</b><span>Install and run Qwen-Image 2.1</span></a></li>
+ <li><a href="/self-hosted/"><b>Phone and server</b><span>Other devices, Linux, Docker, Tailscale</span></a></li>
+ <li><a href="/prompt-guide/"><b>Prompt guide</b><span>Write prompts that work</span></a></li>
+ <li><a href="/remove-objects-from-photos-offline/"><b>Remove objects</b><span>Step by step, offline</span></a></li>
+ </ul></div></li>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-compare">Compare<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-compare"><ul>
+ <li><a href="/local-ai-photo-editor/"><b>Local AI photo editor</b><span>Why edit on your own computer</span></a></li>
+ <li><a href="/offline-alternative-to-nano-banana/"><b>vs Nano Banana</b><span>Offline alternative to cloud editing</span></a></li>
+ <li><a href="/comfyui-alternative/"><b>vs ComfyUI</b><span>Simpler, no nodes, no Python</span></a></li>
+ <li><a href="/ai-image-editing-from-your-phone/"><b>From your phone</b><span>Kokon vs ComfyUI with --listen</span></a></li>
+ </ul></div></li>
+ <li><a class="top" href="/#faq">FAQ</a></li>
+ </ul>
+ <p class="nav-more"><a href="https://github.com/GabrieleLozupone/kokon" rel="noopener">GitHub</a><a href="/support/">Support Kokon</a><a href="/press/">Press kit</a></p>
</nav>
<span class="spacer"></span>
+ <a class="gh" href="https://github.com/GabrieleLozupone/kokon" rel="noopener"><svg width="18" height="18" fill="currentColor"><use href="#github"/></svg>GitHub</a>
<a class="btn primary small" href="https://github.com/GabrieleLozupone/kokon/releases/latest" rel="noopener" data-dl-auto>Download</a>
+ <button class="burger" type="button" aria-expanded="false" aria-controls="nav-links" aria-label="Open menu"><span class="bars"><span></span><span></span></span><span class="lbl">Menu</span></button>
</div>
</header>
@@ -238,5 +261,6 @@
</div>
</dialog>
<script src="/download.js" defer></script>
+<script src="/nav.js" defer></script>
</body>
</html>
diff --git a/site/index.html b/site/index.html
index a303160..a3f4d5f 100644
--- a/site/index.html
+++ b/site/index.html
@@ -92,7 +92,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:opsz,[email protected],400..700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
-<link rel="stylesheet" href="assets/style.css?v=11">
+<link rel="stylesheet" href="assets/style.css?v=12">
<link rel="stylesheet" href="assets/devices.css?v=1">
<script type="application/ld+json">
{
@@ -266,19 +266,38 @@
<header class="nav" id="nav">
<div class="wrap">
<a class="logo" href="#top" aria-label="Kokon home"><svg><use href="#mark"/></svg>Kokon</a>
- <nav class="nav-links" aria-label="Sections">
- <a href="#devices">Other devices</a>
- <a href="#examples">Examples</a>
- <a href="#features">Features</a>
- <a href="#agents">AI agents</a>
- <a href="qwen-image-2-1-local/">Setup guide</a>
- <a href="prompt-guide/">Prompt guide</a>
- <a href="#requirements">Requirements</a>
- <a href="#faq">FAQ</a>
+ <nav class="nav-links" id="nav-links" aria-label="Site">
+ <ul>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-product">Product<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-product"><ul>
+ <li><a href="#examples"><b>Examples</b><span>Real edits, before and after</span></a></li>
+ <li><a href="#features"><b>Features</b><span>Edit, paint, combine, expand, upscale</span></a></li>
+ <li><a href="#devices"><b>On your phone <span class="new">New</span></b><span>Use your GPU from any device</span></a></li>
+ <li><a href="/mcp-image-generation/"><b>For AI agents</b><span>MCP server and HTTP API</span></a></li>
+ <li><a href="#requirements"><b>Requirements</b><span>GPUs, Macs and disk space</span></a></li>
+ </ul></div></li>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-guides">Guides<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-guides"><ul>
+ <li><a href="/qwen-image-2-1-local/"><b>Setup guide</b><span>Install and run Qwen-Image 2.1</span></a></li>
+ <li><a href="/self-hosted/"><b>Phone and server</b><span>Other devices, Linux, Docker, Tailscale</span></a></li>
+ <li><a href="/prompt-guide/"><b>Prompt guide</b><span>Write prompts that work</span></a></li>
+ <li><a href="/remove-objects-from-photos-offline/"><b>Remove objects</b><span>Step by step, offline</span></a></li>
+ </ul></div></li>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-compare">Compare<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-compare"><ul>
+ <li><a href="/local-ai-photo-editor/"><b>Local AI photo editor</b><span>Why edit on your own computer</span></a></li>
+ <li><a href="/offline-alternative-to-nano-banana/"><b>vs Nano Banana</b><span>Offline alternative to cloud editing</span></a></li>
+ <li><a href="/comfyui-alternative/"><b>vs ComfyUI</b><span>Simpler, no nodes, no Python</span></a></li>
+ <li><a href="/ai-image-editing-from-your-phone/"><b>From your phone</b><span>Kokon vs ComfyUI with --listen</span></a></li>
+ </ul></div></li>
+ <li><a class="top" href="#faq">FAQ</a></li>
+ </ul>
+ <p class="nav-more"><a href="https://github.com/GabrieleLozupone/kokon" rel="noopener">GitHub</a><a href="/support/">Support Kokon</a><a href="/press/">Press kit</a></p>
</nav>
<span class="spacer"></span>
<a class="gh" href="https://github.com/GabrieleLozupone/kokon" rel="noopener"><svg width="18" height="18" fill="currentColor"><use href="#github"/></svg>GitHub</a>
<a class="btn primary small" href="#top" data-dl-auto>Download</a>
+ <button class="burger" type="button" aria-expanded="false" aria-controls="nav-links" aria-label="Open menu"><span class="bars"><span></span><span></span></span><span class="lbl">Menu</span></button>
</div>
</header>
@@ -799,5 +818,6 @@
</div>
</dialog>
<script src="/download.js" defer></script>
+<script src="/nav.js" defer></script>
</body>
</html>
diff --git a/site/local-ai-photo-editor/index.html b/site/local-ai-photo-editor/index.html
index 15bf75c..e4d3556 100644
--- a/site/local-ai-photo-editor/index.html
+++ b/site/local-ai-photo-editor/index.html
@@ -22,7 +22,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:opsz,[email protected],400..700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
-<link rel="stylesheet" href="../assets/style.css?v=9">
+<link rel="stylesheet" href="../assets/style.css?v=12">
<script type="application/ld+json">
{
"@context": "https://schema.org",
@@ -120,15 +120,38 @@
<header class="nav scrolled" id="nav">
<div class="wrap">
<a class="logo" href="../" aria-label="Kokon home"><svg><use href="#mark"/></svg>Kokon</a>
- <nav class="nav-links" aria-label="Sections">
- <a href="../#examples">Examples</a>
- <a href="../#features">Features</a>
- <a href="../#compare">Compare</a>
- <a href="../prompt-guide/">Prompt guide</a>
- <a href="../#faq">FAQ</a>
+ <nav class="nav-links" id="nav-links" aria-label="Site">
+ <ul>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-product">Product<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-product"><ul>
+ <li><a href="/#examples"><b>Examples</b><span>Real edits, before and after</span></a></li>
+ <li><a href="/#features"><b>Features</b><span>Edit, paint, combine, expand, upscale</span></a></li>
+ <li><a href="/#devices"><b>On your phone <span class="new">New</span></b><span>Use your GPU from any device</span></a></li>
+ <li><a href="/mcp-image-generation/"><b>For AI agents</b><span>MCP server and HTTP API</span></a></li>
+ <li><a href="/#requirements"><b>Requirements</b><span>GPUs, Macs and disk space</span></a></li>
+ </ul></div></li>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-guides">Guides<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-guides"><ul>
+ <li><a href="/qwen-image-2-1-local/"><b>Setup guide</b><span>Install and run Qwen-Image 2.1</span></a></li>
+ <li><a href="/self-hosted/"><b>Phone and server</b><span>Other devices, Linux, Docker, Tailscale</span></a></li>
+ <li><a href="/prompt-guide/"><b>Prompt guide</b><span>Write prompts that work</span></a></li>
+ <li><a href="/remove-objects-from-photos-offline/"><b>Remove objects</b><span>Step by step, offline</span></a></li>
+ </ul></div></li>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-compare">Compare<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-compare"><ul>
+ <li><a href="/local-ai-photo-editor/"><b>Local AI photo editor</b><span>Why edit on your own computer</span></a></li>
+ <li><a href="/offline-alternative-to-nano-banana/"><b>vs Nano Banana</b><span>Offline alternative to cloud editing</span></a></li>
+ <li><a href="/comfyui-alternative/"><b>vs ComfyUI</b><span>Simpler, no nodes, no Python</span></a></li>
+ <li><a href="/ai-image-editing-from-your-phone/"><b>From your phone</b><span>Kokon vs ComfyUI with --listen</span></a></li>
+ </ul></div></li>
+ <li><a class="top" href="/#faq">FAQ</a></li>
+ </ul>
+ <p class="nav-more"><a href="https://github.com/GabrieleLozupone/kokon" rel="noopener">GitHub</a><a href="/support/">Support Kokon</a><a href="/press/">Press kit</a></p>
</nav>
<span class="spacer"></span>
+ <a class="gh" href="https://github.com/GabrieleLozupone/kokon" rel="noopener"><svg width="18" height="18" fill="currentColor"><use href="#github"/></svg>GitHub</a>
<a class="btn primary small" href="https://github.com/GabrieleLozupone/kokon/releases/latest" rel="noopener" data-dl-auto>Download</a>
+ <button class="burger" type="button" aria-expanded="false" aria-controls="nav-links" aria-label="Open menu"><span class="bars"><span></span><span></span></span><span class="lbl">Menu</span></button>
</div>
</header>
@@ -259,5 +282,6 @@
</div>
</dialog>
<script src="/download.js" defer></script>
+<script src="/nav.js" defer></script>
</body>
</html>
diff --git a/site/mcp-image-generation/index.html b/site/mcp-image-generation/index.html
index c12bbcd..27cbef0 100644
--- a/site/mcp-image-generation/index.html
+++ b/site/mcp-image-generation/index.html
@@ -22,7 +22,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:opsz,[email protected],400..700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
-<link rel="stylesheet" href="../assets/style.css?v=9">
+<link rel="stylesheet" href="../assets/style.css?v=12">
<script type="application/ld+json">
{
"@context": "https://schema.org",
@@ -67,15 +67,38 @@
<header class="nav scrolled" id="nav">
<div class="wrap">
<a class="logo" href="../" aria-label="Kokon home"><svg><use href="#mark"/></svg>Kokon</a>
- <nav class="nav-links" aria-label="Sections">
- <a href="../#examples">Examples</a>
- <a href="../#features">Features</a>
- <a href="../qwen-image-2-1-local/">Setup guide</a>
- <a href="../prompt-guide/">Prompt guide</a>
- <a href="../#faq">FAQ</a>
+ <nav class="nav-links" id="nav-links" aria-label="Site">
+ <ul>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-product">Product<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-product"><ul>
+ <li><a href="/#examples"><b>Examples</b><span>Real edits, before and after</span></a></li>
+ <li><a href="/#features"><b>Features</b><span>Edit, paint, combine, expand, upscale</span></a></li>
+ <li><a href="/#devices"><b>On your phone <span class="new">New</span></b><span>Use your GPU from any device</span></a></li>
+ <li><a href="/mcp-image-generation/"><b>For AI agents</b><span>MCP server and HTTP API</span></a></li>
+ <li><a href="/#requirements"><b>Requirements</b><span>GPUs, Macs and disk space</span></a></li>
+ </ul></div></li>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-guides">Guides<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-guides"><ul>
+ <li><a href="/qwen-image-2-1-local/"><b>Setup guide</b><span>Install and run Qwen-Image 2.1</span></a></li>
+ <li><a href="/self-hosted/"><b>Phone and server</b><span>Other devices, Linux, Docker, Tailscale</span></a></li>
+ <li><a href="/prompt-guide/"><b>Prompt guide</b><span>Write prompts that work</span></a></li>
+ <li><a href="/remove-objects-from-photos-offline/"><b>Remove objects</b><span>Step by step, offline</span></a></li>
+ </ul></div></li>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-compare">Compare<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-compare"><ul>
+ <li><a href="/local-ai-photo-editor/"><b>Local AI photo editor</b><span>Why edit on your own computer</span></a></li>
+ <li><a href="/offline-alternative-to-nano-banana/"><b>vs Nano Banana</b><span>Offline alternative to cloud editing</span></a></li>
+ <li><a href="/comfyui-alternative/"><b>vs ComfyUI</b><span>Simpler, no nodes, no Python</span></a></li>
+ <li><a href="/ai-image-editing-from-your-phone/"><b>From your phone</b><span>Kokon vs ComfyUI with --listen</span></a></li>
+ </ul></div></li>
+ <li><a class="top" href="/#faq">FAQ</a></li>
+ </ul>
+ <p class="nav-more"><a href="https://github.com/GabrieleLozupone/kokon" rel="noopener">GitHub</a><a href="/support/">Support Kokon</a><a href="/press/">Press kit</a></p>
</nav>
<span class="spacer"></span>
+ <a class="gh" href="https://github.com/GabrieleLozupone/kokon" rel="noopener"><svg width="18" height="18" fill="currentColor"><use href="#github"/></svg>GitHub</a>
<a class="btn primary small" href="https://github.com/GabrieleLozupone/kokon/releases/latest" rel="noopener" data-dl-auto>Download</a>
+ <button class="burger" type="button" aria-expanded="false" aria-controls="nav-links" aria-label="Open menu"><span class="bars"><span></span><span></span></span><span class="lbl">Menu</span></button>
</div>
</header>
@@ -175,5 +198,6 @@
</div>
</footer>
<script src="/download.js" defer></script>
+<script src="/nav.js" defer></script>
</body>
</html>
diff --git a/site/nav.js b/site/nav.js
new file mode 100644
index 0000000..07f2e9c
--- /dev/null
+++ b/site/nav.js
@@ -0,0 +1,52 @@
+// The site menu: dropdowns on wide screens, a full-screen panel on phones.
+// The markup is the same on every page (see the <header class="nav">); this only opens and closes things.
+(() => {
+ const nav = document.getElementById("nav");
+ if (!nav) return;
+ const burger = nav.querySelector(".burger");
+ const groups = [...nav.querySelectorAll(".dd")];
+ const wide = matchMedia("(min-width: 900px)");
+
+ const closeGroups = (except) => groups.forEach((g) => {
+ if (g === except) return;
+ g.classList.remove("open");
+ g.querySelector("button").setAttribute("aria-expanded", "false");
+ });
+ groups.forEach((g) => {
+ const b = g.querySelector("button");
+ b.addEventListener("click", () => {
+ if (!wide.matches) return; // on phones every group is already open in the panel
+ const open = !g.classList.contains("open");
+ closeGroups(g);
+ g.classList.toggle("open", open);
+ b.setAttribute("aria-expanded", String(open));
+ });
+ });
+
+ const setMenu = (open) => {
+ nav.classList.toggle("menu-open", open);
+ document.documentElement.classList.toggle("menu-lock", open);
+ burger.setAttribute("aria-expanded", String(open));
+ burger.setAttribute("aria-label", open ? "Close menu" : "Open menu");
+ burger.querySelector(".lbl").textContent = open ? "Close" : "Menu";
+ };
+ burger.addEventListener("click", () => setMenu(!nav.classList.contains("menu-open")));
+ wide.addEventListener("change", () => { setMenu(false); closeGroups(); });
+
+ // A link closes everything (same-page anchors don't reload the page).
+ nav.querySelectorAll(".nav-links a").forEach((a) => a.addEventListener("click", () => { setMenu(false); closeGroups(); }));
+ document.addEventListener("click", (e) => { if (!nav.contains(e.target)) closeGroups(); });
+ document.addEventListener("keydown", (e) => {
+ if (e.key !== "Escape") return;
+ const open = groups.find((g) => g.classList.contains("open"));
+ closeGroups();
+ setMenu(false);
+ (open ? open.querySelector("button") : burger).focus();
+ });
+
+ // Mark the page we're on.
+ const here = location.pathname.replace(/index\.html$/, "");
+ nav.querySelectorAll(".nav-links a[href^='/']").forEach((a) => {
+ if (a.getAttribute("href") === here) a.setAttribute("aria-current", "page");
+ });
+})();
diff --git a/site/offline-alternative-to-nano-banana/index.html b/site/offline-alternative-to-nano-banana/index.html
index aa14459..25534c3 100644
--- a/site/offline-alternative-to-nano-banana/index.html
+++ b/site/offline-alternative-to-nano-banana/index.html
@@ -22,7 +22,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:opsz,[email protected],400..700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
-<link rel="stylesheet" href="../assets/style.css?v=9">
+<link rel="stylesheet" href="../assets/style.css?v=12">
<script type="application/ld+json">
{
"@context": "https://schema.org",
@@ -120,15 +120,38 @@
<header class="nav scrolled" id="nav">
<div class="wrap">
<a class="logo" href="../" aria-label="Kokon home"><svg><use href="#mark"/></svg>Kokon</a>
- <nav class="nav-links" aria-label="Sections">
- <a href="../#examples">Examples</a>
- <a href="../#features">Features</a>
- <a href="../#compare">Compare</a>
- <a href="../prompt-guide/">Prompt guide</a>
- <a href="../#faq">FAQ</a>
+ <nav class="nav-links" id="nav-links" aria-label="Site">
+ <ul>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-product">Product<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-product"><ul>
+ <li><a href="/#examples"><b>Examples</b><span>Real edits, before and after</span></a></li>
+ <li><a href="/#features"><b>Features</b><span>Edit, paint, combine, expand, upscale</span></a></li>
+ <li><a href="/#devices"><b>On your phone <span class="new">New</span></b><span>Use your GPU from any device</span></a></li>
+ <li><a href="/mcp-image-generation/"><b>For AI agents</b><span>MCP server and HTTP API</span></a></li>
+ <li><a href="/#requirements"><b>Requirements</b><span>GPUs, Macs and disk space</span></a></li>
+ </ul></div></li>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-guides">Guides<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-guides"><ul>
+ <li><a href="/qwen-image-2-1-local/"><b>Setup guide</b><span>Install and run Qwen-Image 2.1</span></a></li>
+ <li><a href="/self-hosted/"><b>Phone and server</b><span>Other devices, Linux, Docker, Tailscale</span></a></li>
+ <li><a href="/prompt-guide/"><b>Prompt guide</b><span>Write prompts that work</span></a></li>
+ <li><a href="/remove-objects-from-photos-offline/"><b>Remove objects</b><span>Step by step, offline</span></a></li>
+ </ul></div></li>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-compare">Compare<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-compare"><ul>
+ <li><a href="/local-ai-photo-editor/"><b>Local AI photo editor</b><span>Why edit on your own computer</span></a></li>
+ <li><a href="/offline-alternative-to-nano-banana/"><b>vs Nano Banana</b><span>Offline alternative to cloud editing</span></a></li>
+ <li><a href="/comfyui-alternative/"><b>vs ComfyUI</b><span>Simpler, no nodes, no Python</span></a></li>
+ <li><a href="/ai-image-editing-from-your-phone/"><b>From your phone</b><span>Kokon vs ComfyUI with --listen</span></a></li>
+ </ul></div></li>
+ <li><a class="top" href="/#faq">FAQ</a></li>
+ </ul>
+ <p class="nav-more"><a href="https://github.com/GabrieleLozupone/kokon" rel="noopener">GitHub</a><a href="/support/">Support Kokon</a><a href="/press/">Press kit</a></p>
</nav>
<span class="spacer"></span>
+ <a class="gh" href="https://github.com/GabrieleLozupone/kokon" rel="noopener"><svg width="18" height="18" fill="currentColor"><use href="#github"/></svg>GitHub</a>
<a class="btn primary small" href="https://github.com/GabrieleLozupone/kokon/releases/latest" rel="noopener" data-dl-auto>Download</a>
+ <button class="burger" type="button" aria-expanded="false" aria-controls="nav-links" aria-label="Open menu"><span class="bars"><span></span><span></span></span><span class="lbl">Menu</span></button>
</div>
</header>
@@ -260,5 +283,6 @@
</div>
</dialog>
<script src="/download.js" defer></script>
+<script src="/nav.js" defer></script>
</body>
</html>
diff --git a/site/press/index.html b/site/press/index.html
index e584785..005d213 100644
--- a/site/press/index.html
+++ b/site/press/index.html
@@ -22,7 +22,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:opsz,[email protected],400..700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
-<link rel="stylesheet" href="../assets/style.css?v=9">
+<link rel="stylesheet" href="../assets/style.css?v=12">
<script type="application/ld+json">
{
"@context": "https://schema.org",
@@ -83,15 +83,38 @@
<header class="nav scrolled" id="nav">
<div class="wrap">
<a class="logo" href="../" aria-label="Kokon home"><svg><use href="#mark"/></svg>Kokon</a>
- <nav class="nav-links" aria-label="Sections">
- <a href="../#examples">Examples</a>
- <a href="../#features">Features</a>
- <a href="../#compare">Compare</a>
- <a href="../prompt-guide/">Prompt guide</a>
- <a href="../#faq">FAQ</a>
+ <nav class="nav-links" id="nav-links" aria-label="Site">
+ <ul>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-product">Product<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-product"><ul>
+ <li><a href="/#examples"><b>Examples</b><span>Real edits, before and after</span></a></li>
+ <li><a href="/#features"><b>Features</b><span>Edit, paint, combine, expand, upscale</span></a></li>
+ <li><a href="/#devices"><b>On your phone <span class="new">New</span></b><span>Use your GPU from any device</span></a></li>
+ <li><a href="/mcp-image-generation/"><b>For AI agents</b><span>MCP server and HTTP API</span></a></li>
+ <li><a href="/#requirements"><b>Requirements</b><span>GPUs, Macs and disk space</span></a></li>
+ </ul></div></li>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-guides">Guides<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-guides"><ul>
+ <li><a href="/qwen-image-2-1-local/"><b>Setup guide</b><span>Install and run Qwen-Image 2.1</span></a></li>
+ <li><a href="/self-hosted/"><b>Phone and server</b><span>Other devices, Linux, Docker, Tailscale</span></a></li>
+ <li><a href="/prompt-guide/"><b>Prompt guide</b><span>Write prompts that work</span></a></li>
+ <li><a href="/remove-objects-from-photos-offline/"><b>Remove objects</b><span>Step by step, offline</span></a></li>
+ </ul></div></li>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-compare">Compare<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-compare"><ul>
+ <li><a href="/local-ai-photo-editor/"><b>Local AI photo editor</b><span>Why edit on your own computer</span></a></li>
+ <li><a href="/offline-alternative-to-nano-banana/"><b>vs Nano Banana</b><span>Offline alternative to cloud editing</span></a></li>
+ <li><a href="/comfyui-alternative/"><b>vs ComfyUI</b><span>Simpler, no nodes, no Python</span></a></li>
+ <li><a href="/ai-image-editing-from-your-phone/"><b>From your phone</b><span>Kokon vs ComfyUI with --listen</span></a></li>
+ </ul></div></li>
+ <li><a class="top" href="/#faq">FAQ</a></li>
+ </ul>
+ <p class="nav-more"><a href="https://github.com/GabrieleLozupone/kokon" rel="noopener">GitHub</a><a href="/support/">Support Kokon</a><a href="/press/">Press kit</a></p>
</nav>
<span class="spacer"></span>
+ <a class="gh" href="https://github.com/GabrieleLozupone/kokon" rel="noopener"><svg width="18" height="18" fill="currentColor"><use href="#github"/></svg>GitHub</a>
<a class="btn primary small" href="https://github.com/GabrieleLozupone/kokon/releases/latest" rel="noopener" data-dl-auto>Download</a>
+ <button class="burger" type="button" aria-expanded="false" aria-controls="nav-links" aria-label="Open menu"><span class="bars"><span></span><span></span></span><span class="lbl">Menu</span></button>
</div>
</header>
@@ -188,5 +211,6 @@
</div>
</dialog>
<script src="/download.js" defer></script>
+<script src="/nav.js" defer></script>
</body>
</html>
diff --git a/site/prompt-guide/index.html b/site/prompt-guide/index.html
index 314c517..b691e14 100644
--- a/site/prompt-guide/index.html
+++ b/site/prompt-guide/index.html
@@ -26,7 +26,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:opsz,[email protected],400..700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
-<link rel="stylesheet" href="../assets/style.css?v=9">
+<link rel="stylesheet" href="../assets/style.css?v=12">
<script type="application/ld+json">
{
"@context": "https://schema.org",
@@ -103,16 +103,38 @@
<header class="nav scrolled" id="nav">
<div class="wrap">
<a class="logo" href="../" aria-label="Kokon home"><svg><use href="#mark"/></svg>Kokon</a>
- <nav class="nav-links" aria-label="Sections">
- <a href="../#examples">Examples</a>
- <a href="../#features">Features</a>
- <a href="../mcp-image-generation/">AI agents</a>
- <a href="../qwen-image-2-1-local/">Setup guide</a>
- <a href="../prompt-guide/" aria-current="page">Prompt guide</a>
- <a href="../#faq">FAQ</a>
+ <nav class="nav-links" id="nav-links" aria-label="Site">
+ <ul>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-product">Product<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-product"><ul>
+ <li><a href="/#examples"><b>Examples</b><span>Real edits, before and after</span></a></li>
+ <li><a href="/#features"><b>Features</b><span>Edit, paint, combine, expand, upscale</span></a></li>
+ <li><a href="/#devices"><b>On your phone <span class="new">New</span></b><span>Use your GPU from any device</span></a></li>
+ <li><a href="/mcp-image-generation/"><b>For AI agents</b><span>MCP server and HTTP API</span></a></li>
+ <li><a href="/#requirements"><b>Requirements</b><span>GPUs, Macs and disk space</span></a></li>
+ </ul></div></li>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-guides">Guides<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-guides"><ul>
+ <li><a href="/qwen-image-2-1-local/"><b>Setup guide</b><span>Install and run Qwen-Image 2.1</span></a></li>
+ <li><a href="/self-hosted/"><b>Phone and server</b><span>Other devices, Linux, Docker, Tailscale</span></a></li>
+ <li><a href="/prompt-guide/"><b>Prompt guide</b><span>Write prompts that work</span></a></li>
+ <li><a href="/remove-objects-from-photos-offline/"><b>Remove objects</b><span>Step by step, offline</span></a></li>
+ </ul></div></li>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-compare">Compare<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-compare"><ul>
+ <li><a href="/local-ai-photo-editor/"><b>Local AI photo editor</b><span>Why edit on your own computer</span></a></li>
+ <li><a href="/offline-alternative-to-nano-banana/"><b>vs Nano Banana</b><span>Offline alternative to cloud editing</span></a></li>
+ <li><a href="/comfyui-alternative/"><b>vs ComfyUI</b><span>Simpler, no nodes, no Python</span></a></li>
+ <li><a href="/ai-image-editing-from-your-phone/"><b>From your phone</b><span>Kokon vs ComfyUI with --listen</span></a></li>
+ </ul></div></li>
+ <li><a class="top" href="/#faq">FAQ</a></li>
+ </ul>
+ <p class="nav-more"><a href="https://github.com/GabrieleLozupone/kokon" rel="noopener">GitHub</a><a href="/support/">Support Kokon</a><a href="/press/">Press kit</a></p>
</nav>
<span class="spacer"></span>
+ <a class="gh" href="https://github.com/GabrieleLozupone/kokon" rel="noopener"><svg width="18" height="18" fill="currentColor"><use href="#github"/></svg>GitHub</a>
<a class="btn primary small" href="https://github.com/GabrieleLozupone/kokon/releases/latest" rel="noopener" data-dl-auto>Download</a>
+ <button class="burger" type="button" aria-expanded="false" aria-controls="nav-links" aria-label="Open menu"><span class="bars"><span></span><span></span></span><span class="lbl">Menu</span></button>
</div>
</header>
@@ -409,5 +431,6 @@
</div>
</footer>
<script src="/download.js" defer></script>
+<script src="/nav.js" defer></script>
</body>
</html>
diff --git a/site/qwen-image-2-1-local/index.html b/site/qwen-image-2-1-local/index.html
index f67a497..5a89272 100644
--- a/site/qwen-image-2-1-local/index.html
+++ b/site/qwen-image-2-1-local/index.html
@@ -22,7 +22,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:opsz,[email protected],400..700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
-<link rel="stylesheet" href="../assets/style.css?v=9">
+<link rel="stylesheet" href="../assets/style.css?v=12">
<script type="application/ld+json">
{
"@context": "https://schema.org",
@@ -68,15 +68,38 @@
<header class="nav scrolled" id="nav">
<div class="wrap">
<a class="logo" href="../" aria-label="Kokon home"><svg><use href="#mark"/></svg>Kokon</a>
- <nav class="nav-links" aria-label="Sections">
- <a href="../#examples">Examples</a>
- <a href="../#features">Features</a>
- <a href="../mcp-image-generation/">AI agents</a>
- <a href="../prompt-guide/">Prompt guide</a>
- <a href="../#faq">FAQ</a>
+ <nav class="nav-links" id="nav-links" aria-label="Site">
+ <ul>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-product">Product<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-product"><ul>
+ <li><a href="/#examples"><b>Examples</b><span>Real edits, before and after</span></a></li>
+ <li><a href="/#features"><b>Features</b><span>Edit, paint, combine, expand, upscale</span></a></li>
+ <li><a href="/#devices"><b>On your phone <span class="new">New</span></b><span>Use your GPU from any device</span></a></li>
+ <li><a href="/mcp-image-generation/"><b>For AI agents</b><span>MCP server and HTTP API</span></a></li>
+ <li><a href="/#requirements"><b>Requirements</b><span>GPUs, Macs and disk space</span></a></li>
+ </ul></div></li>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-guides">Guides<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-guides"><ul>
+ <li><a href="/qwen-image-2-1-local/"><b>Setup guide</b><span>Install and run Qwen-Image 2.1</span></a></li>
+ <li><a href="/self-hosted/"><b>Phone and server</b><span>Other devices, Linux, Docker, Tailscale</span></a></li>
+ <li><a href="/prompt-guide/"><b>Prompt guide</b><span>Write prompts that work</span></a></li>
+ <li><a href="/remove-objects-from-photos-offline/"><b>Remove objects</b><span>Step by step, offline</span></a></li>
+ </ul></div></li>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-compare">Compare<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-compare"><ul>
+ <li><a href="/local-ai-photo-editor/"><b>Local AI photo editor</b><span>Why edit on your own computer</span></a></li>
+ <li><a href="/offline-alternative-to-nano-banana/"><b>vs Nano Banana</b><span>Offline alternative to cloud editing</span></a></li>
+ <li><a href="/comfyui-alternative/"><b>vs ComfyUI</b><span>Simpler, no nodes, no Python</span></a></li>
+ <li><a href="/ai-image-editing-from-your-phone/"><b>From your phone</b><span>Kokon vs ComfyUI with --listen</span></a></li>
+ </ul></div></li>
+ <li><a class="top" href="/#faq">FAQ</a></li>
+ </ul>
+ <p class="nav-more"><a href="https://github.com/GabrieleLozupone/kokon" rel="noopener">GitHub</a><a href="/support/">Support Kokon</a><a href="/press/">Press kit</a></p>
</nav>
<span class="spacer"></span>
+ <a class="gh" href="https://github.com/GabrieleLozupone/kokon" rel="noopener"><svg width="18" height="18" fill="currentColor"><use href="#github"/></svg>GitHub</a>
<a class="btn primary small" href="https://github.com/GabrieleLozupone/kokon/releases/latest" rel="noopener" data-dl-auto>Download</a>
+ <button class="burger" type="button" aria-expanded="false" aria-controls="nav-links" aria-label="Open menu"><span class="bars"><span></span><span></span></span><span class="lbl">Menu</span></button>
</div>
</header>
@@ -199,5 +222,6 @@
</div>
</footer>
<script src="/download.js" defer></script>
+<script src="/nav.js" defer></script>
</body>
</html>
diff --git a/site/remove-objects-from-photos-offline/index.html b/site/remove-objects-from-photos-offline/index.html
index 6328654..ad25e85 100644
--- a/site/remove-objects-from-photos-offline/index.html
+++ b/site/remove-objects-from-photos-offline/index.html
@@ -22,7 +22,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:opsz,[email protected],400..700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
-<link rel="stylesheet" href="../assets/style.css?v=9">
+<link rel="stylesheet" href="../assets/style.css?v=12">
<script type="application/ld+json">
{
"@context": "https://schema.org",
@@ -120,15 +120,38 @@
<header class="nav scrolled" id="nav">
<div class="wrap">
<a class="logo" href="../" aria-label="Kokon home"><svg><use href="#mark"/></svg>Kokon</a>
- <nav class="nav-links" aria-label="Sections">
- <a href="../#examples">Examples</a>
- <a href="../#features">Features</a>
- <a href="../#compare">Compare</a>
- <a href="../prompt-guide/">Prompt guide</a>
- <a href="../#faq">FAQ</a>
+ <nav class="nav-links" id="nav-links" aria-label="Site">
+ <ul>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-product">Product<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-product"><ul>
+ <li><a href="/#examples"><b>Examples</b><span>Real edits, before and after</span></a></li>
+ <li><a href="/#features"><b>Features</b><span>Edit, paint, combine, expand, upscale</span></a></li>
+ <li><a href="/#devices"><b>On your phone <span class="new">New</span></b><span>Use your GPU from any device</span></a></li>
+ <li><a href="/mcp-image-generation/"><b>For AI agents</b><span>MCP server and HTTP API</span></a></li>
+ <li><a href="/#requirements"><b>Requirements</b><span>GPUs, Macs and disk space</span></a></li>
+ </ul></div></li>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-guides">Guides<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-guides"><ul>
+ <li><a href="/qwen-image-2-1-local/"><b>Setup guide</b><span>Install and run Qwen-Image 2.1</span></a></li>
+ <li><a href="/self-hosted/"><b>Phone and server</b><span>Other devices, Linux, Docker, Tailscale</span></a></li>
+ <li><a href="/prompt-guide/"><b>Prompt guide</b><span>Write prompts that work</span></a></li>
+ <li><a href="/remove-objects-from-photos-offline/"><b>Remove objects</b><span>Step by step, offline</span></a></li>
+ </ul></div></li>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-compare">Compare<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-compare"><ul>
+ <li><a href="/local-ai-photo-editor/"><b>Local AI photo editor</b><span>Why edit on your own computer</span></a></li>
+ <li><a href="/offline-alternative-to-nano-banana/"><b>vs Nano Banana</b><span>Offline alternative to cloud editing</span></a></li>
+ <li><a href="/comfyui-alternative/"><b>vs ComfyUI</b><span>Simpler, no nodes, no Python</span></a></li>
+ <li><a href="/ai-image-editing-from-your-phone/"><b>From your phone</b><span>Kokon vs ComfyUI with --listen</span></a></li>
+ </ul></div></li>
+ <li><a class="top" href="/#faq">FAQ</a></li>
+ </ul>
+ <p class="nav-more"><a href="https://github.com/GabrieleLozupone/kokon" rel="noopener">GitHub</a><a href="/support/">Support Kokon</a><a href="/press/">Press kit</a></p>
</nav>
<span class="spacer"></span>
+ <a class="gh" href="https://github.com/GabrieleLozupone/kokon" rel="noopener"><svg width="18" height="18" fill="currentColor"><use href="#github"/></svg>GitHub</a>
<a class="btn primary small" href="https://github.com/GabrieleLozupone/kokon/releases/latest" rel="noopener" data-dl-auto>Download</a>
+ <button class="burger" type="button" aria-expanded="false" aria-controls="nav-links" aria-label="Open menu"><span class="bars"><span></span><span></span></span><span class="lbl">Menu</span></button>
</div>
</header>
@@ -231,5 +254,6 @@
</div>
</dialog>
<script src="/download.js" defer></script>
+<script src="/nav.js" defer></script>
</body>
</html>
diff --git a/site/self-hosted/index.html b/site/self-hosted/index.html
index 38c5ee8..ea3d1b5 100644
--- a/site/self-hosted/index.html
+++ b/site/self-hosted/index.html
@@ -22,7 +22,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:opsz,[email protected],400..700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
-<link rel="stylesheet" href="../assets/style.css?v=11">
+<link rel="stylesheet" href="../assets/style.css?v=12">
<link rel="stylesheet" href="../assets/devices.css?v=1">
<script type="application/ld+json">
{
@@ -72,15 +72,38 @@
<header class="nav scrolled" id="nav">
<div class="wrap">
<a class="logo" href="../" aria-label="Kokon home"><svg><use href="#mark"/></svg>Kokon</a>
- <nav class="nav-links" aria-label="Sections">
- <a href="../#devices">Other devices</a>
- <a href="../#examples">Examples</a>
- <a href="../#features">Features</a>
- <a href="../prompt-guide/">Prompt guide</a>
- <a href="../#faq">FAQ</a>
+ <nav class="nav-links" id="nav-links" aria-label="Site">
+ <ul>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-product">Product<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-product"><ul>
+ <li><a href="/#examples"><b>Examples</b><span>Real edits, before and after</span></a></li>
+ <li><a href="/#features"><b>Features</b><span>Edit, paint, combine, expand, upscale</span></a></li>
+ <li><a href="/#devices"><b>On your phone <span class="new">New</span></b><span>Use your GPU from any device</span></a></li>
+ <li><a href="/mcp-image-generation/"><b>For AI agents</b><span>MCP server and HTTP API</span></a></li>
+ <li><a href="/#requirements"><b>Requirements</b><span>GPUs, Macs and disk space</span></a></li>
+ </ul></div></li>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-guides">Guides<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-guides"><ul>
+ <li><a href="/qwen-image-2-1-local/"><b>Setup guide</b><span>Install and run Qwen-Image 2.1</span></a></li>
+ <li><a href="/self-hosted/"><b>Phone and server</b><span>Other devices, Linux, Docker, Tailscale</span></a></li>
+ <li><a href="/prompt-guide/"><b>Prompt guide</b><span>Write prompts that work</span></a></li>
+ <li><a href="/remove-objects-from-photos-offline/"><b>Remove objects</b><span>Step by step, offline</span></a></li>
+ </ul></div></li>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-compare">Compare<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-compare"><ul>
+ <li><a href="/local-ai-photo-editor/"><b>Local AI photo editor</b><span>Why edit on your own computer</span></a></li>
+ <li><a href="/offline-alternative-to-nano-banana/"><b>vs Nano Banana</b><span>Offline alternative to cloud editing</span></a></li>
+ <li><a href="/comfyui-alternative/"><b>vs ComfyUI</b><span>Simpler, no nodes, no Python</span></a></li>
+ <li><a href="/ai-image-editing-from-your-phone/"><b>From your phone</b><span>Kokon vs ComfyUI with --listen</span></a></li>
+ </ul></div></li>
+ <li><a class="top" href="/#faq">FAQ</a></li>
+ </ul>
+ <p class="nav-more"><a href="https://github.com/GabrieleLozupone/kokon" rel="noopener">GitHub</a><a href="/support/">Support Kokon</a><a href="/press/">Press kit</a></p>
</nav>
<span class="spacer"></span>
+ <a class="gh" href="https://github.com/GabrieleLozupone/kokon" rel="noopener"><svg width="18" height="18" fill="currentColor"><use href="#github"/></svg>GitHub</a>
<a class="btn primary small" href="https://github.com/GabrieleLozupone/kokon/releases/latest" rel="noopener" data-dl-auto>Download</a>
+ <button class="burger" type="button" aria-expanded="false" aria-controls="nav-links" aria-label="Open menu"><span class="bars"><span></span><span></span></span><span class="lbl">Menu</span></button>
</div>
</header>
@@ -209,5 +232,6 @@ docker logs -f kokon # what the service is doing</code>
})();
</script>
<script src="/download.js" defer></script>
+<script src="/nav.js" defer></script>
</body>
</html>
diff --git a/site/support/index.html b/site/support/index.html
index 4aee43e..b732a6d 100644
--- a/site/support/index.html
+++ b/site/support/index.html
@@ -22,7 +22,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:opsz,[email protected],400..700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
-<link rel="stylesheet" href="../assets/style.css?v=9">
+<link rel="stylesheet" href="../assets/style.css?v=12">
</head>
<body>
<svg width="0" height="0" style="position:absolute" aria-hidden="true">
@@ -38,15 +38,38 @@
<header class="nav scrolled" id="nav">
<div class="wrap">
<a class="logo" href="../" aria-label="Kokon home"><svg><use href="#mark"/></svg>Kokon</a>
- <nav class="nav-links" aria-label="Sections">
- <a href="../#examples">Examples</a>
- <a href="../#features">Features</a>
- <a href="../#compare">Compare</a>
- <a href="../prompt-guide/">Prompt guide</a>
- <a href="../#faq">FAQ</a>
+ <nav class="nav-links" id="nav-links" aria-label="Site">
+ <ul>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-product">Product<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-product"><ul>
+ <li><a href="/#examples"><b>Examples</b><span>Real edits, before and after</span></a></li>
+ <li><a href="/#features"><b>Features</b><span>Edit, paint, combine, expand, upscale</span></a></li>
+ <li><a href="/#devices"><b>On your phone <span class="new">New</span></b><span>Use your GPU from any device</span></a></li>
+ <li><a href="/mcp-image-generation/"><b>For AI agents</b><span>MCP server and HTTP API</span></a></li>
+ <li><a href="/#requirements"><b>Requirements</b><span>GPUs, Macs and disk space</span></a></li>
+ </ul></div></li>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-guides">Guides<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-guides"><ul>
+ <li><a href="/qwen-image-2-1-local/"><b>Setup guide</b><span>Install and run Qwen-Image 2.1</span></a></li>
+ <li><a href="/self-hosted/"><b>Phone and server</b><span>Other devices, Linux, Docker, Tailscale</span></a></li>
+ <li><a href="/prompt-guide/"><b>Prompt guide</b><span>Write prompts that work</span></a></li>
+ <li><a href="/remove-objects-from-photos-offline/"><b>Remove objects</b><span>Step by step, offline</span></a></li>
+ </ul></div></li>
+ <li class="dd"><button type="button" aria-expanded="false" aria-controls="dd-compare">Compare<svg class="caret" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5 9 4.5"/></svg></button>
+ <div class="dd-panel" id="dd-compare"><ul>
+ <li><a href="/local-ai-photo-editor/"><b>Local AI photo editor</b><span>Why edit on your own computer</span></a></li>
+ <li><a href="/offline-alternative-to-nano-banana/"><b>vs Nano Banana</b><span>Offline alternative to cloud editing</span></a></li>
+ <li><a href="/comfyui-alternative/"><b>vs ComfyUI</b><span>Simpler, no nodes, no Python</span></a></li>
+ <li><a href="/ai-image-editing-from-your-phone/"><b>From your phone</b><span>Kokon vs ComfyUI with --listen</span></a></li>
+ </ul></div></li>
+ <li><a class="top" href="/#faq">FAQ</a></li>
+ </ul>
+ <p class="nav-more"><a href="https://github.com/GabrieleLozupone/kokon" rel="noopener">GitHub</a><a href="/support/">Support Kokon</a><a href="/press/">Press kit</a></p>
</nav>
<span class="spacer"></span>
+ <a class="gh" href="https://github.com/GabrieleLozupone/kokon" rel="noopener"><svg width="18" height="18" fill="currentColor"><use href="#github"/></svg>GitHub</a>
<a class="btn primary small" href="https://github.com/GabrieleLozupone/kokon/releases/latest" rel="noopener" data-dl-auto>Download</a>
+ <button class="burger" type="button" aria-expanded="false" aria-controls="nav-links" aria-label="Open menu"><span class="bars"><span></span><span></span></span><span class="lbl">Menu</span></button>
</div>
</header>
@@ -106,5 +129,6 @@
</div>
</dialog>
<script src="/download.js" defer></script>
+<script src="/nav.js" defer></script>
</body>
</html>