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.
TypeScript ai-photo-editorcomfyui-alternativegenerative-fillimage-editingimage-generationinpaintinglinuxlocal-aimacosmcpmcp-servernano-banana-alternativeofflinephoto-editorprivacyqwen-imageqwen-image-2-1stable-diffusion-cppvulkanwindows
Site: Other devices on the home (computer, MacBook and iPhone scene) and the /self-hosted/ guide
Gabriele Lozupone13fdcc68a69f
diff --git a/site/assets/devices.css b/site/assets/devices.cssnew file mode 100644index 0000000..eb00696--- /dev/null+++ b/site/assets/devices.css@@ -0,0 +1,39 @@+/*! Device frames from Devices.css v0.2.0 | MIT License | (c) 2017 Yan Zhu | github.com/picturepan2/devices.css+ Only the iPhone 14 Pro and the MacBook Pro (2022), silver, compiled from its SCSS. */+.device, .device::before, .device::after, .device *, .device *::before, .device *::after { box-sizing: border-box; display: block; }+.device { position: relative; transform: scale(1); z-index: 1; }+.device .device-frame { z-index: 1; }+.device .device-screen { background-color: #000; background-position: center center; background-size: cover; object-fit: cover; position: relative; }++/* iPhone 14 Pro, silver */+.device-iphone-14-pro { height: 868px; width: 428px; }+.device-iphone-14-pro .device-frame { background: #010101; border: 1px solid #c6c8ca; border-radius: 68px; box-shadow: inset 0 0 4px 2px #fff, inset 0 0 0 6px #e2e3e4; height: 868px; padding: 19px; width: 428px; }+.device-iphone-14-pro .device-screen { border-radius: 49px; height: 830px; width: 390px; overflow: hidden; }+.device-iphone-14-pro .device-stripe::after, .device-iphone-14-pro .device-stripe::before { border: solid rgba(1, 1, 1, 0.25); border-width: 0 7px; content: ""; height: 7px; left: 0; position: absolute; width: 100%; z-index: 9; }+.device-iphone-14-pro .device-stripe::after { top: 85px; }+.device-iphone-14-pro .device-stripe::before { bottom: 85px; }+.device-iphone-14-pro .device-header { background: #010101; border-radius: 20px; height: 35px; left: 50%; margin-left: -60px; position: absolute; top: 29px; width: 120px; z-index: 3; }+.device-iphone-14-pro .device-sensors::after, .device-iphone-14-pro .device-sensors::before { content: ""; position: absolute; z-index: 4; }+.device-iphone-14-pro .device-sensors::after { background: #010101; border-radius: 17px; height: 33px; left: 50%; margin-left: -60px; top: 30px; width: 74px; }+.device-iphone-14-pro .device-sensors::before { background: radial-gradient(farthest-corner at 20% 20%, #6074bf 0, transparent 40%), radial-gradient(farthest-corner at 80% 80%, #513785 0, #24555e 20%, transparent 50%); box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.05); border-radius: 50%; height: 9px; left: 50%; margin-left: 36px; top: 42px; width: 9px; }+.device-iphone-14-pro .device-btns { background: #c6c8ca; border-radius: 2px; height: 32px; left: -2px; position: absolute; top: 115px; width: 3px; }+.device-iphone-14-pro .device-btns::after, .device-iphone-14-pro .device-btns::before { background: #c6c8ca; border-radius: 2px; content: ""; height: 62px; left: 0; position: absolute; width: 3px; }+.device-iphone-14-pro .device-btns::after { top: 60px; }+.device-iphone-14-pro .device-btns::before { top: 140px; }+.device-iphone-14-pro .device-power { background: #c6c8ca; border-radius: 2px; height: 100px; right: -2px; position: absolute; top: 200px; width: 3px; }+.device-iphone-14-pro .device-home::after, .device-iphone-14-pro .device-home::before { border: solid rgba(1, 1, 1, 0.25); border-width: 6px 0; content: ""; height: 6px; position: absolute; width: 6px; z-index: 9; }+.device-iphone-14-pro .device-home::after { right: 86px; top: 0; }+.device-iphone-14-pro .device-home::before { bottom: 0; left: 86px; }++/* MacBook Pro (2022), silver */+.device-macbook-pro { height: 434px; width: 740px; }+.device-macbook-pro .device-frame { background: #0d0d0d; border-radius: 20px; box-shadow: inset 0 0 0 2px #c6c8ca; height: 418px; margin: 0 auto; padding: 9px 9px 23px 9px; position: relative; width: 618px; }+.device-macbook-pro .device-frame::after { background: linear-gradient(to bottom, #272727, #0d0d0d); border-radius: 0 0 20px 20px; bottom: 2px; content: ""; height: 24px; left: 2px; position: absolute; width: 614px; }+.device-macbook-pro .device-header { background: #0d0d0d; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; height: 12px; left: 50%; margin-left: -32px; position: absolute; top: 11px; width: 64px; z-index: 2; }+.device-macbook-pro .device-header::after, .device-macbook-pro .device-header::before { content: ""; height: 4px; position: absolute; top: 0; width: 4px; }+.device-macbook-pro .device-header::after { background: radial-gradient(circle at bottom left, transparent 0, transparent 75%, #0d0d0d 75%, #0d0d0d 100%); left: -4px; }+.device-macbook-pro .device-header::before { background: radial-gradient(circle at bottom right, transparent 0, transparent 75%, #0d0d0d 75%, #0d0d0d 100%); right: -4px; }+.device-macbook-pro .device-screen { border: 2px solid #121212; border-radius: 10px 10px 0 0; height: 375px; width: 600px; overflow: hidden; }+.device-macbook-pro .device-power { background: radial-gradient(circle at center, #e2e3e4 85%, #c6c8ca 100%); border: solid #a5a8ab; border-radius: 2px 2px 12px 12px; border-width: 1px 2px 0 2px; box-shadow: inset 0 -2px 8px 0 #6b6f73; height: 24px; margin-top: -10px; position: relative; width: 740px; z-index: 9; }+.device-macbook-pro .device-power::after { background: #e2e3e4; border-radius: 0 0 10px 10px; box-shadow: inset 0 0 4px 2px #b8bbbe; content: ""; height: 10px; left: 50%; margin-left: -60px; position: absolute; top: 0; width: 120px; }+.device-macbook-pro .device-power::before { background: transparent; border-radius: 0 0 3px 3px; bottom: -2px; box-shadow: -300px 0 #272727, 300px 0 #272727; content: ""; height: 2px; left: 50%; margin-left: -20px; position: absolute; width: 40px; }diff --git a/site/assets/img/remote-laptop.webp b/site/assets/img/remote-laptop.webpnew file mode 100644index 0000000..560c8b7Binary files /dev/null and b/site/assets/img/remote-laptop.webp differdiff --git a/site/assets/img/remote-phone-gallery.webp b/site/assets/img/remote-phone-gallery.webpnew file mode 100644index 0000000..0904124Binary files /dev/null and b/site/assets/img/remote-phone-gallery.webp differdiff --git a/site/assets/img/remote-phone.webp b/site/assets/img/remote-phone.webpnew file mode 100644index 0000000..73ed9b5Binary files /dev/null and b/site/assets/img/remote-phone.webp differdiff --git a/site/assets/style.css b/site/assets/style.cssindex d68600d..2e7913f 100644--- a/site/assets/style.css+++ b/site/assets/style.css@@ -38,7 +38,7 @@ body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-i.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: 1140px) { .nav-links { gap: 16px; font-size: 14px; } .nav-links a[href$="#requirements"] { display: none; } }+@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 .spacer { flex: 1; }.gh { display: none; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }.gh:hover { color: var(--text); }@@ -288,3 +288,58 @@ footer a:hover { color: var(--text); }@media (max-width: 640px) { .article .pair { grid-template-columns: 1fr; } }.cta-box { margin: 72px 0 40px; padding: 36px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)); box-shadow: inset 0 0 0 1px var(--line); }.cta-box h2 { margin: 0 !important; }++/* Other devices: the computer with the GPU, a laptop and a phone (frames in devices.css) */+.scene-box { position: relative; margin-top: 56px; height: 650px; }+.scene { position: absolute; top: 0; left: 50%; width: 1160px; height: 650px; transform: translateX(-50%) scale(var(--s, 1)); transform-origin: top center; }+.scene-box.narrow .scene { width: 720px; height: 720px; }+.scene > *, .scene > .device { position: absolute; }+.scene .links { inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }+.links path { fill: none; stroke: rgba(255, 214, 140, 0.55); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 2 12; animation: flow 1.6s linear infinite; }+.links .halo { stroke: rgba(255, 214, 140, 0.08); stroke-width: 14; stroke-dasharray: none; animation: none; }+@keyframes flow { to { stroke-dashoffset: -28; } }+.scene .net { padding: 9px 16px; border-radius: 999px; background: rgba(20, 20, 20, 0.85); box-shadow: inset 0 0 0 1px var(--line-hi), 0 10px 30px rgba(0,0,0,0.5); font-size: 15px; color: var(--text-2); white-space: nowrap; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }+.scene .net b { color: var(--text); font-weight: 600; }+.scene-box .only-narrow, .scene-box.narrow .only-wide { display: none; }+.scene-box.narrow .only-narrow { display: block; }++/* The computer with the GPU */+.pc { width: 220px; height: 430px; border-radius: 20px; background: linear-gradient(160deg, #2a2a2e, #141416 60%); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.13), inset 0 1px 0 rgba(255,255,255,0.18), 0 50px 90px rgba(0,0,0,0.7); }+.pc .glass { position: absolute; inset: 14px 14px 70px; border-radius: 12px; overflow: hidden; background: radial-gradient(ellipse at 50% 62%, rgba(255,214,140,0.22), transparent 60%), linear-gradient(135deg, #18181b, #0c0c0e); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1); }+.pc .glass::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,0.09) 0 22%, transparent 22% 60%, rgba(255,255,255,0.04) 60% 64%, transparent 64%); }+.pc .board { position: absolute; left: 14px; right: 14px; top: 14px; height: 140px; border-radius: 8px; background: #141416; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); }+.pc .board::before, .pc .board::after { content: ""; position: absolute; top: 22px; width: 8px; height: 96px; border-radius: 3px; background: linear-gradient(#2c2c30, #1f1f22); box-shadow: 14px 0 0 #232326; }+.pc .board::before { right: 40px; } .pc .board::after { display: none; }+.pc .fan { position: absolute; border-radius: 50%; background: radial-gradient(circle, #2a2a2e 0 16%, transparent 17%), repeating-conic-gradient(from 0deg, #3a3a40 0 14deg, #1a1a1d 14deg 40deg); box-shadow: inset 0 0 0 3px #232326, 0 0 0 4px #18181b; animation: spin 2.4s linear infinite; }+.pc .fan.cpu { width: 64px; height: 64px; left: 30px; top: 40px; }+.pc .gpu { position: absolute; left: 10px; right: 10px; top: 190px; height: 76px; border-radius: 9px; background: linear-gradient(180deg, #26262a, #18181b); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12), 0 0 50px rgba(255,214,140,0.28); }+.pc .gpu::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, #ffd68c, transparent); box-shadow: 0 0 18px #ffd68c; }+.pc .gpu { display: flex; align-items: center; justify-content: center; gap: 9px; }+.pc .gpu .fan { position: relative; flex: none; width: 46px; height: 46px; }+.pc .gpu .fan:nth-child(2) { animation-duration: 2.1s; } .pc .gpu .fan:nth-child(3) { animation-duration: 2.7s; }+.pc .front { position: absolute; left: 0; right: 0; bottom: 0; height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; }+.pc .front svg { width: 22px; height: 22px; color: rgba(242,241,237,0.55); }+.pc .front i { width: 12px; height: 12px; border-radius: 50%; background: #ffd68c; box-shadow: 0 0 10px #ffd68c, 0 0 0 4px rgba(255,255,255,0.06); }+@keyframes spin { to { transform: rotate(360deg); } }++/* What the screens show */+.scene .dv-phone .device-screen { background: #f4f4f4; }+.dv-phone .status { position: absolute; top: 0; left: 0; right: 0; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 6px 30px 0 46px; color: #000; font: 600 17px/1 -apple-system, "SF Pro Text", var(--font); letter-spacing: -0.01em; }+.dv-phone .status svg { height: 13px; width: auto; fill: #000; }+.dv-phone .status .icons { display: flex; gap: 6px; align-items: center; }+.dv-phone .device-screen img { position: absolute; top: 54px; left: 0; width: 390px; height: auto; }+.dv-phone .device-screen::after { content: ""; position: absolute; left: 50%; bottom: 8px; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: #111; }+.scene .dv-mac .device-screen { background: #f4f4f4; }+.dv-mac .bar { height: 22px; display: flex; align-items: center; gap: 5px; padding: 0 8px; background: #e9e9eb; border-bottom: 1px solid #d6d6d8; }+.dv-mac .bar i { width: 7px; height: 7px; border-radius: 50%; background: #ff5f57; } .dv-mac .bar i:nth-child(2) { background: #febc2e; } .dv-mac .bar i:nth-child(3) { background: #28c840; }+.dv-mac .bar span { margin-left: 14px; padding: 2px 22px 2px 10px; border-radius: 5px; background: #fff; font: 500 8.5px/1.2 -apple-system, var(--font); color: #444; box-shadow: 0 0 0 0.5px #d0d0d2; }+.dv-mac .device-screen img { width: 100%; height: calc(100% - 22px); object-fit: cover; object-position: top; }+.scene .device { filter: drop-shadow(0 40px 60px rgba(0,0,0,0.55)); }+.devices-captions { margin-top: 28px; display: grid; gap: 10px 24px; grid-template-columns: 1fr; text-align: center; font-size: 14.5px; color: var(--text-3); }+@media (min-width: 720px) { .devices-captions { grid-template-columns: repeat(3, 1fr); } }+.devices-captions b { display: block; color: var(--text); font-weight: 600; font-size: 15.5px; }+@media (prefers-reduced-motion: reduce) { .links path, .pc .fan { animation: none; } }+.card p code { font-family: var(--mono); font-size: 0.86em; padding: 1px 6px; border-radius: 6px; background: rgba(255,255,255,0.07); color: var(--text); white-space: nowrap; }+.scene.phones { width: 604px; height: 573px; }+.article figure .scene-box img { border-radius: 0; box-shadow: none; }+.sec.devices-top { padding-top: 96px; }diff --git a/site/index.html b/site/index.htmlindex 08948b5..44e1d7b 100644--- a/site/index.html+++ b/site/index.html@@ -57,7 +57,7 @@"offers": { "@type": "Offer", "price": "0", "priceCurrency": "USD" },"screenshot": "https://kokon.app/assets/kokon-poster.jpg?v=3","image": "https://kokon.app/assets/og.png",- "featureList": ["Edit photos with a sentence", "Create images from text", "Prompt+: a few words become a detailed prompt, written by the model already loaded", "Your own Qwen-Image 2.1 LoRAs (beta)", "Paint an area to change only that area (inpainting)", "Remove, replace and add objects", "Expand images beyond their borders (outpainting)", "Before/after comparison and version history", "Private mode", "MCP server and local HTTP API for AI agents", "Runs offline on NVIDIA, AMD, Intel and Apple Silicon"],+ "featureList": ["Edit photos with a sentence", "Create images from text", "Prompt+: a few words become a detailed prompt, written by the model already loaded", "Your own Qwen-Image 2.1 LoRAs (beta)", "Paint an area to change only that area (inpainting)", "Remove, replace and add objects", "Expand images beyond their borders (outpainting)", "Before/after comparison and version history", "Use it from a phone, tablet or laptop in the browser, behind a password", "Docker image for NVIDIA GPUs", "Private mode", "MCP server and local HTTP API for AI agents", "Runs offline on NVIDIA, AMD, Intel and Apple Silicon"],"author": { "@id": "https://gabrielelozupone.github.io/#me" },"sameAs": ["https://github.com/GabrieleLozupone/kokon", "https://www.npmjs.com/package/kokon-mcp", "https://www.youtube.com/watch?v=y2NAJkZ4vH0"]},@@ -92,7 +92,8 @@<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=10">+<link rel="stylesheet" href="assets/devices.css?v=1"><script type="application/ld+json">{"@context": "https://schema.org",@@ -191,7 +192,7 @@"name": "Does it run on Linux?","acceptedAnswer": {"@type": "Answer",- "text": "Yes, in beta, on x86-64: a .deb for Ubuntu, Debian and Mint and an .rpm for Fedora, from the latest GitHub release. NVIDIA cards need the proprietary driver; AMD and Intel cards use Vulkan. A headless server with the interface in your browser, then Docker, come next."+ "text": "Yes, in beta, on x86-64: a .deb for Ubuntu, Debian and Mint and an .rpm for Fedora, from the latest GitHub release. NVIDIA cards need the proprietary driver; AMD and Intel cards use Vulkan. Since 0.11 it also runs as a headless server with the interface in your browser, and as a Docker image for NVIDIA cards (kokon.app/self-hosted)."}},{@@ -226,6 +227,14 @@"text": "Yes. After setup has downloaded the models, everything runs offline."}},+ {+ "@type": "Question",+ "name": "Can I use Kokon from my phone?",+ "acceptedAnswer": {+ "@type": "Answer",+ "text": "Yes, since 0.11. On the computer with the graphics card, open Settings, Other devices, set a password and scan the QR code with your phone. The phone uses Kokon in its browser; the computer makes the images and keeps them in its gallery. Away from home, use Tailscale or another VPN. Guide: kokon.app/self-hosted."+ }+ },{"@type": "Question","name": "How do I write good prompts for Qwen-Image 2.1?",@@ -257,6 +266,7 @@<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>@@ -296,6 +306,67 @@</div></section>+ <section class="sec devices-top" id="devices">+ <div class="wrap center">+ <p class="kicker rv">New in 0.11 · Other devices</p>+ <h2 class="rv d1">Your GPU at home. Kokon on your phone.</h2>+ <p class="sec-lede rv d2">Open Kokon in a browser on your phone, tablet or laptop. The images are still made by the computer with the graphics card and saved in its gallery, and nothing goes through a cloud.</p>+ <div class="scene-box rv" id="scene-box">+ <div class="scene" aria-label="A computer with a graphics card runs Kokon; a MacBook and an iPhone use it in the browser over the home network">+ <svg class="links only-wide" viewBox="0 0 1160 650" aria-hidden="true">+ <path class="halo" d="M240 330 C 290 330, 300 362, 352 362"/><path d="M240 330 C 290 330, 300 362, 352 362"/>+ <path class="halo" d="M130 150 C 230 0, 760 10, 884 150"/><path d="M130 150 C 230 0, 760 10, 884 150"/>+ </svg>+ <svg class="links only-narrow" viewBox="0 0 720 720" aria-hidden="true">+ <path class="halo" d="M260 400 C 310 400, 330 380, 372 380"/><path d="M260 400 C 310 400, 330 380, 372 380"/>+ <path class="halo" d="M150 190 C 190 40, 300 20, 380 100"/><path d="M150 190 C 190 40, 300 20, 380 100"/>+ </svg>+ <div class="pc" aria-hidden="true" style="left:20px;top:150px" data-narrow="left:40px;top:190px">+ <div class="glass">+ <div class="board"><span class="fan cpu"></span></div>+ <div class="gpu"><span class="fan"></span><span class="fan"></span><span class="fan"></span></div>+ </div>+ <div class="front"><svg><use href="#mark"/></svg><i></i></div>+ </div>+ <div class="device device-macbook-pro dv-mac only-wide" style="left:330px;top:190px">+ <div class="device-frame">+ <div class="device-screen">+ <div class="bar"><i></i><i></i><i></i><span>192.168.1.20:39152</span></div>+ <img src="assets/img/remote-laptop.webp" width="1440" height="900" alt="Kokon's gallery in a browser on a MacBook" loading="lazy">+ </div>+ </div>+ <div class="device-stripe"></div><div class="device-header"></div><div class="device-sensors"></div><div class="device-btns"></div><div class="device-power"></div>+ </div>+ <div class="device device-iphone-14-pro dv-phone" style="left:868px;top:40px;transform:scale(0.66);transform-origin:top left" data-narrow="left:360px;top:20px;transform:scale(0.78);transform-origin:top left">+ <div class="device-frame">+ <div class="device-screen">+ <div class="status"><span>9:41</span><span class="icons">+ <svg viewBox="0 0 18 12"><rect x="0" y="8" width="3" height="4" rx="1"/><rect x="5" y="5.5" width="3" height="6.5" rx="1"/><rect x="10" y="3" width="3" height="9" rx="1"/><rect x="15" y="0" width="3" height="12" rx="1"/></svg>+ <svg viewBox="0 0 16 12"><path d="M8 2.6c2.3 0 4.4.9 6 2.4l1.3-1.4A10.4 10.4 0 0 0 8 .6 10.4 10.4 0 0 0 .7 3.6L2 5c1.6-1.5 3.7-2.4 6-2.4zm0 3.6c1.3 0 2.5.5 3.4 1.3l1.3-1.4A6.9 6.9 0 0 0 8 4.2c-1.8 0-3.5.7-4.7 1.9l1.3 1.4C5.5 6.7 6.7 6.2 8 6.2zm0 3.5c-.6 0-1.1.2-1.5.6L8 11.9l1.5-1.6c-.4-.4-.9-.6-1.5-.6z"/></svg>+ <svg viewBox="0 0 27 13"><rect x="0.5" y="0.5" width="23" height="12" rx="3.5" fill="none" stroke="#000" opacity="0.4"/><rect x="2" y="2" width="20" height="9" rx="2"/><path d="M25 4.5v4c.8-.3 1.3-1.1 1.3-2s-.5-1.7-1.3-2z" opacity="0.45"/></svg>+ </span></div>+ <img src="assets/img/remote-phone.webp" width="786" height="1530" alt="A Kokon project on an iPhone: a photo edited into a man surfing on a pink flamingo float, with the prompt box below" loading="lazy">+ </div>+ </div>+ <div class="device-stripe"></div><div class="device-header"></div><div class="device-sensors"></div><div class="device-btns"></div><div class="device-power"></div><div class="device-home"></div>+ </div>+ <div class="net" style="left:400px;top:22px" data-narrow="left:40px;top:650px"><b>Home Wi-Fi</b> · or Tailscale from anywhere</div>+ </div>+ </div>+ <div class="devices-captions rv">+ <p><b>Your computer</b>Kokon and the graphics card do the work</p>+ <p><b>A laptop</b>any browser on the same network</p>+ <p><b>Your phone</b>scan the QR code, add it to the home screen</p>+ </div>+ <div class="privacy" style="text-align:left">+ <article class="card rv"><h3>Scan, sign in, edit</h3><p>Settings → Other devices shows a QR code. Scan it, type the password once, and add Kokon to the home screen like an app. Photos from the phone go in with the + button.</p></article>+ <article class="card rv d1"><h3>Locked until you open it</h3><p>Nothing listens on the network until you set a password, and 5 wrong tries make that device wait. Away from home, use Tailscale or another VPN, never an open port on the router.</p></article>+ <article class="card rv d2"><h3>Or run it as a server</h3><p>No screen needed: <code>kokon-service</code> on Linux, or the Docker image for NVIDIA cards. Run <code>docker compose up -d</code>, set the password, open the address.</p></article>+ </div>+ <p class="rv" style="margin-top:28px"><a class="btn ghost" href="self-hosted/">Read the setup guide</a></p>+ </div>+ </section>+<section class="runs"><div class="wrap"><p>Runs on</p>@@ -553,10 +624,11 @@<p>If macOS instead only says <strong>The application “Kokon” can't be opened</strong>, with just an <strong>OK</strong> button, and Privacy & Security shows no <em>Open Anyway</em>: open <strong>Terminal</strong>, run <code>xattr -dr com.apple.quarantine /Applications/Kokon.app</code>, then open Kokon as usual. This removes the “downloaded from the internet” flag from Kokon only.</p></details><details><summary>How do I write good prompts for Qwen-Image 2.1?</summary><p>Describe the scene, not just the subject: who, doing what, where, in what light. Never write “no X” (it adds X), put text in quotes, and for edits name the exact thing to change. The <a href="prompt-guide/" style="text-decoration:underline">prompt guide</a> shows each rule with a vague and a clear prompt side by side.</p></details>- <details><summary>Does it run on Linux?</summary><p>Yes, in beta, on x86-64: a .deb for Ubuntu, Debian and Mint and an .rpm for Fedora, from the <a href="https://github.com/GabrieleLozupone/kokon/releases/latest" rel="noopener" style="text-decoration:underline">latest release</a>. Install it with <code>sudo apt install ./Kokon_<version>_amd64.deb</code> or <code>sudo dnf install ./Kokon-<version>-1.x86_64.rpm</code>. NVIDIA cards need the proprietary driver; AMD and Intel cards use Vulkan. A headless server with the interface in your browser, then Docker, come next.</p></details>+ <details><summary>Does it run on Linux?</summary><p>Yes, in beta, on x86-64: a .deb for Ubuntu, Debian and Mint and an .rpm for Fedora, from the <a href="https://github.com/GabrieleLozupone/kokon/releases/latest" rel="noopener" style="text-decoration:underline">latest release</a>. Install it with <code>sudo apt install ./Kokon_<version>_amd64.deb</code> or <code>sudo dnf install ./Kokon-<version>-1.x86_64.rpm</code>. NVIDIA cards need the proprietary driver; AMD and Intel cards use Vulkan. Since 0.11 it also runs as a headless server, with the interface in your browser, and as a <a href="self-hosted/" style="text-decoration:underline">Docker image for NVIDIA cards</a>.</p></details><details><summary>What is Prompt+?</summary><p>An optional helper next to the prompt box. Write a short idea in any language and Prompt+ writes a detailed English prompt from it (looking at your photo for edits), then makes the image; the result keeps both prompts. It runs on Qwen3-VL, the text encoder Qwen-Image 2.1 already loads, inside Kokon's own build of stable-diffusion.cpp, so there is no second model to download. It adds about 2 seconds per image on an RTX 5070 Ti.</p></details><details><summary>Can I use LoRAs?</summary><p>Yes, in beta: your own LoRA files made for Qwen-Image 2.1 (.safetensors). Load them in Settings → LoRA and turn them on for each project with the LoRA button next to the prompt, up to 3 at a time. LoRAs for older Qwen-Image versions don't work with 2.1. Tested on Windows so far; there is no LoRA catalog yet, because the popular LoRAs we tested didn't improve on what Turbo does with a good prompt.</p></details><details><summary>Does it work offline?</summary><p>Yes. After setup has downloaded the models, everything runs offline.</p></details>+ <details><summary>Can I use Kokon from my phone?</summary><p>Yes, since 0.11. On the computer with the graphics card, open Settings → Other devices, set a password and scan the QR code with your phone. The phone uses Kokon in its browser (or from an icon on the home screen); the computer makes the images and keeps them in its gallery. Away from home, use Tailscale or another VPN. Step by step: <a href="self-hosted/" style="text-decoration:underline">use Kokon from your phone, or run it as a server</a>.</p></details></div></div></section>@@ -592,6 +664,7 @@<a href="remove-objects-from-photos-offline/">Remove objects offline</a><a href="qwen-image-2-1-local/">Run Qwen-Image locally</a><a href="mcp-image-generation/">MCP image generation</a>+ <a href="self-hosted/">Use it from your phone</a><a href="press/">Press kit</a><a href="support/">Support Kokon</a><a href="prompt-guide/">Prompt guide</a>@@ -685,6 +758,24 @@// voice-over and music.reelBtn.addEventListener("click", () => { reel.currentTime = 0; reel.muted = false; reel.controls = true; reel.loop = false; reel.play().catch(() => {}); reelBtn.remove(); });+ // Other devices: the scene is drawn at a fixed size and scaled to the column; on a narrow+ // screen it drops the laptop and moves the parts (data-narrow).+ const box = $("scene-box");+ const parts = [...box.querySelectorAll("[data-narrow]")];+ parts.forEach((el) => (el.dataset.wide = el.getAttribute("style")));+ const fit = () => {+ const narrow = box.clientWidth < 640;+ if (narrow !== box.classList.contains("narrow")) {+ box.classList.toggle("narrow", narrow);+ parts.forEach((el) => el.setAttribute("style", narrow ? el.dataset.narrow : el.dataset.wide));+ }+ const [w, h] = narrow ? [720, 720] : [1160, 650];+ const s = Math.min(1, box.clientWidth / w);+ box.style.setProperty("--s", s);+ box.style.height = `${h * s}px`;+ };+ new ResizeObserver(fit).observe(box); fit();+const nav = $("nav");const onScroll = () => nav.classList.toggle("scrolled", scrollY > 10);addEventListener("scroll", onScroll, { passive: true }); onScroll();diff --git a/site/llms.txt b/site/llms.txtindex a32527f..507d8bc 100644--- a/site/llms.txt+++ b/site/llms.txt@@ -10,7 +10,8 @@ Key facts (version 0.10.2, October 2026):- Features: Prompt+ (a few words in any language become a detailed prompt, written by the Qwen3-VL text encoder already loaded, inside Kokon's own build of stable-diffusion.cpp, so no second model), your own Qwen-Image 2.1 LoRAs (beta, tested on Windows), create from text, new images from reference photos (a person, a product, a style), edit with a sentence, paint an area and Change/Remove/Replace/Add only there, combine several images ("image 1", "image 2"), expand beyond the borders (outpainting), AI upscaling, versions with undo and before/after compare, private mode, works offline after setup.- For AI agents: built-in MCP server (generate_image, edit_image, inpaint_image, outpaint_image, upscale_image, ...) and a local HTTP API. `npx -y kokon-mcp`; listed in the official MCP Registry as io.github.GabrieleLozupone/kokon.- License: the app is AGPL-3.0. The Qwen-Image 2.1 weights are under the Qwen Research License, which does not allow commercial use.-- Not yet: a headless server / Docker image (planned); code signing (Windows SmartScreen and macOS Gatekeeper warn on first run).+- Other devices (0.11): the interface in a browser on a phone, tablet or laptop on the same network, behind a password (off by default); headless `kokon-service` on Linux; Docker image ghcr.io/gabrielelozupone/kokon for NVIDIA GPUs; Tailscale or another VPN for access from outside the home, never an open port.+- Not yet: a Docker image for AMD/Intel (Vulkan); code signing (Windows SmartScreen and macOS Gatekeeper warn on first run).- Made by Gabriele Lozupone, an AI researcher. Independent project, not affiliated with Alibaba or the Qwen team.## Pages@@ -23,6 +24,7 @@ Key facts (version 0.10.2, October 2026):- [Press kit](https://kokon.app/press/): one-line and short descriptions, key facts, videos, images, logos- [Run Qwen-Image 2.1 locally](https://kokon.app/qwen-image-2-1-local/): step-by-step setup on Windows, Mac and Linux without Python or ComfyUI, speed, troubleshooting- [Prompt guide](https://kokon.app/prompt-guide/): how to write prompts for Qwen-Image 2.1, with vague vs clear examples (negative prompts, text in images, edit prompts)+- [Use Kokon from your phone, or run it as a server](https://kokon.app/self-hosted/): browser access from other devices, headless Linux, Docker for NVIDIA, Tailscale- [Free local image generation for AI agents (MCP)](https://kokon.app/mcp-image-generation/): use Kokon from Claude Code, Cursor or any MCP client## Code and downloadsdiff --git a/site/self-hosted/index.html b/site/self-hosted/index.htmlnew file mode 100644index 0000000..d8ffd15--- /dev/null+++ b/site/self-hosted/index.html@@ -0,0 +1,213 @@+<!doctype html>+<html lang="en">+<head>+<meta charset="utf-8">+<meta name="viewport" content="width=device-width, initial-scale=1">+<title>Self-Hosted AI Photo Editor: Use Kokon from Your Phone, or Run It in Docker</title>+<meta name="description" content="Kokon 0.11 opens its interface in a browser on your phone, tablet or laptop, while your own computer and GPU make the images. Set it up in two minutes, run it headless on Linux or in Docker (NVIDIA), and reach it from anywhere with Tailscale.">+<meta name="author" content="Gabriele Lozupone">+<meta name="robots" content="index, follow, max-image-preview:large">+<meta name="theme-color" content="#0a0a0a">+<link rel="canonical" href="https://kokon.app/self-hosted/">+<link rel="icon" href="../assets/favicon.svg" type="image/svg+xml">+<link rel="icon" href="../assets/favicon.ico" sizes="any">+<link rel="apple-touch-icon" href="../assets/apple-touch-icon.png">+<meta property="og:site_name" content="Kokon">+<meta property="og:type" content="article">+<meta property="og:title" content="Use Kokon from your phone, or run it as a server">+<meta property="og:description" content="Your computer with the GPU makes the images; your phone, tablet or laptop uses Kokon in a browser. Headless Linux, Docker for NVIDIA, Tailscale for outside your home.">+<meta property="og:url" content="https://kokon.app/self-hosted/">+<meta property="og:image" content="https://kokon.app/assets/img/remote-laptop.webp">+<meta name="twitter:card" content="summary_large_image">+<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=10">+<link rel="stylesheet" href="../assets/devices.css?v=1">+<script type="application/ld+json">+{+ "@context": "https://schema.org",+ "@graph": [+ {+ "@type": "TechArticle",+ "headline": "Use Kokon from your phone, or run it as a server",+ "description": "Open Kokon in a browser on other devices on your network, run it headless on Linux or in Docker with an NVIDIA GPU, and reach it from outside your home through Tailscale.",+ "image": "https://kokon.app/assets/img/remote-laptop.webp",+ "datePublished": "2026-10-23",+ "dateModified": "2026-10-23",+ "author": { "@type": "Person", "name": "Gabriele Lozupone", "url": "https://gabrielelozupone.github.io/" },+ "about": [{ "@type": "SoftwareApplication", "name": "Kokon", "url": "https://kokon.app/" }],+ "mainEntityOfPage": "https://kokon.app/self-hosted/"+ },+ {+ "@type": "BreadcrumbList",+ "itemListElement": [+ { "@type": "ListItem", "position": 1, "name": "Kokon", "item": "https://kokon.app/" },+ { "@type": "ListItem", "position": 2, "name": "Use Kokon from your phone", "item": "https://kokon.app/self-hosted/" }+ ]+ },+ {+ "@type": "FAQPage",+ "mainEntity": [+ { "@type": "Question", "name": "Can I use Kokon from my phone?", "acceptedAnswer": { "@type": "Answer", "text": "Yes, from Kokon 0.11. On the computer with the graphics card, open Settings, Other devices, set a password and scan the QR code with the phone. The phone uses Kokon in its browser; the computer makes the images and keeps them in its gallery." } },+ { "@type": "Question", "name": "Does it go through a cloud or need an account?", "acceptedAnswer": { "@type": "Answer", "text": "No. The phone talks directly to your computer over your home network. There is no Kokon account and no server of ours in between." } },+ { "@type": "Question", "name": "Can I open Kokon to the internet?", "acceptedAnswer": { "@type": "Answer", "text": "Not directly: never forward Kokon's port on your router. To use it away from home, connect your devices with Tailscale or another VPN, which encrypts the traffic and keeps Kokon off the public internet." } },+ { "@type": "Question", "name": "Is there a Docker image?", "acceptedAnswer": { "@type": "Answer", "text": "Yes, for NVIDIA graphics cards: ghcr.io/gabrielelozupone/kokon, published with every release. It contains no models; the setup downloads them once into a volume. An image for AMD and Intel cards (Vulkan) will follow; until then use the Linux packages." } }+ ]+ }+ ]+}+</script>+</head>+<body>+<svg width="0" height="0" style="position:absolute" aria-hidden="true">+ <defs>+ <symbol id="mark" viewBox="0 0 1024 1024"><path d="M0.00 242.81 C0.00 112.17 70.23 25.08 175.59 25.08 C280.94 25.08 351.17 112.17 351.17 242.81 L351.17 781.19 C351.17 911.83 280.94 998.92 175.59 998.92 C70.23 998.92 0.00 911.83 0.00 781.19 Z M389.53 548.95 C389.53 250.35 662.35 25.08 1024.00 25.08 C1024.00 323.68 751.18 548.95 389.53 548.95 Z M389.53 587.31 C389.53 821.93 618.71 998.92 922.49 998.92 C922.49 764.30 693.31 587.31 389.53 587.31 Z" fill="currentColor"/></symbol>+ <symbol id="sb-signal" viewBox="0 0 18 12"><rect x="0" y="8" width="3" height="4" rx="1"/><rect x="5" y="5.5" width="3" height="6.5" rx="1"/><rect x="10" y="3" width="3" height="9" rx="1"/><rect x="15" y="0" width="3" height="12" rx="1"/></symbol>+ <symbol id="sb-wifi" viewBox="0 0 16 12"><path d="M8 2.6c2.3 0 4.4.9 6 2.4l1.3-1.4A10.4 10.4 0 0 0 8 .6 10.4 10.4 0 0 0 .7 3.6L2 5c1.6-1.5 3.7-2.4 6-2.4zm0 3.6c1.3 0 2.5.5 3.4 1.3l1.3-1.4A6.9 6.9 0 0 0 8 4.2c-1.8 0-3.5.7-4.7 1.9l1.3 1.4C5.5 6.7 6.7 6.2 8 6.2zm0 3.5c-.6 0-1.1.2-1.5.6L8 11.9l1.5-1.6c-.4-.4-.9-.6-1.5-.6z"/></symbol>+ <symbol id="sb-battery" viewBox="0 0 27 13"><rect x="0.5" y="0.5" width="23" height="12" rx="3.5" fill="none" stroke="#000" opacity="0.4"/><rect x="2" y="2" width="20" height="9" rx="2"/><path d="M25 4.5v4c.8-.3 1.3-1.1 1.3-2s-.5-1.7-1.3-2z" opacity="0.45"/></symbol>+ </defs>+</svg>++<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>+ <span class="spacer"></span>+ <a class="btn primary small" href="https://github.com/GabrieleLozupone/kokon/releases/latest" rel="noopener" data-dl-auto>Download</a>+ </div>+</header>++<main class="article">+ <div class="wrap narrow">+ <nav class="crumbs" aria-label="Breadcrumb"><a href="../">Kokon</a> <span>/</span> Guide</nav>+ <h1>Use Kokon from your phone, or run it as a server</h1>+ <p class="lede-left">Your computer with the graphics card makes the images. Your phone, tablet or laptop uses Kokon in a browser, on the same network or, through a VPN, from anywhere. Kokon 0.11 or newer. Updated October 23, 2026.</p>++ <figure>+ <div class="scene-box phones-box" id="phones-box" style="margin-top:0">+ <div class="scene phones" aria-label="Kokon on two iPhones: the gallery, and a project with an edit">+ <div class="device device-iphone-14-pro dv-phone" style="left:0;top:0;transform:scale(0.66);transform-origin:top left">+ <div class="device-frame"><div class="device-screen">+ <div class="status"><span>9:41</span><span class="icons"><svg viewBox="0 0 18 12"><use href="#sb-signal"/></svg><svg viewBox="0 0 16 12"><use href="#sb-wifi"/></svg><svg viewBox="0 0 27 13"><use href="#sb-battery"/></svg></span></div>+ <img src="../assets/img/remote-phone-gallery.webp" width="786" height="1530" alt="Kokon's gallery on an iPhone, two columns of images made on the home computer" loading="eager">+ </div></div>+ <div class="device-stripe"></div><div class="device-header"></div><div class="device-sensors"></div><div class="device-btns"></div><div class="device-power"></div><div class="device-home"></div>+ </div>+ <div class="device device-iphone-14-pro dv-phone" style="left:322px;top:0;transform:scale(0.66);transform-origin:top left">+ <div class="device-frame"><div class="device-screen">+ <div class="status"><span>9:41</span><span class="icons"><svg viewBox="0 0 18 12"><use href="#sb-signal"/></svg><svg viewBox="0 0 16 12"><use href="#sb-wifi"/></svg><svg viewBox="0 0 27 13"><use href="#sb-battery"/></svg></span></div>+ <img src="../assets/img/remote-phone.webp" width="786" height="1530" alt="A Kokon project on an iPhone: an edited photo, its versions and the prompt box" loading="eager">+ </div></div>+ <div class="device-stripe"></div><div class="device-header"></div><div class="device-sensors"></div><div class="device-btns"></div><div class="device-power"></div><div class="device-home"></div>+ </div>+ </div>+ </div>+ <figcaption>Kokon on an iPhone, opened from the home screen. The images are made by the computer at home.</figcaption>+ </figure>++ <h2>How it works</h2>+ <p>Kokon runs a small service on the computer with the graphics card. In 0.11 that service can also serve Kokon's interface to other devices: open its address in a browser, sign in with a password, and you get the same app as on the desktop. Photos you pick on the phone are uploaded to the computer, the computer makes the image, and the result lands in <strong>its</strong> gallery. You can download any result to the device you are holding.</p>+ <p>There is no cloud and no Kokon account. The phone talks to your computer directly, over your own network.</p>++ <h2>On your home network</h2>+ <ol>+ <li>On the computer running Kokon, open <strong>Settings → Other devices</strong>.</li>+ <li>Choose a password (at least 8 characters) and click <strong>Set and turn on</strong>.</li>+ <li>Settings shows a QR code and an address such as <code>http://192.168.1.20:39152</code>. Scan the code with the phone's camera, or type the address in any browser on the same network, and enter the password. That browser stays signed in for 90 days.</li>+ <li>To keep Kokon on the home screen like an app: on iPhone, <strong>Share → Add to Home Screen</strong>; on Android, the browser's menu → <strong>Add to Home screen</strong>.</li>+ </ol>+ <p>The first time, Windows or macOS may ask whether Kokon can use the network. Allow it on <strong>private</strong> networks only, and on Windows make sure your home network is set as Private.</p>+ <p class="note">The router can give the computer a new address after a restart, and the saved icon then stops working. Reserve the address in the router (often called "DHCP reservation"), or scan the QR code again.</p>+ <p>This works while Kokon is open on the computer. To keep it running without the window, use a server, below.</p>++ <h2>On a Linux server without a screen</h2>+ <p><code>kokon-service</code> comes with the <a href="https://github.com/GabrieleLozupone/kokon/releases/latest" rel="noopener">Linux packages</a> (<code>.deb</code> and <code>.rpm</code>). Set the password once, then start it with access on:</p>+ <pre><code>kokon-service --set-password # asks twice, nothing is shown while you type+kokon-service --persistent --remote # keeps running; the interface is on port 39152</code></pre>+ <p>Open the address it prints in a browser and follow the setup: it downloads the engine and the model (about 12 GB) once. A password changed while the service runs applies within a few seconds.</p>++ <h2>In Docker (NVIDIA)</h2>+ <p>Each release publishes the image <code>ghcr.io/gabrielelozupone/kokon</code>. It holds no models, so it stays small; the setup downloads them once into a volume. You need an NVIDIA card with the proprietary driver, Docker with Compose, and the <a href="https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html" rel="noopener">NVIDIA Container Toolkit</a>. On Windows it works through Docker Desktop with WSL 2.</p>+ <pre><code>mkdir kokon && cd kokon+curl -fsSLO https://raw.githubusercontent.com/GabrieleLozupone/kokon/master/docker/compose.yaml+docker compose up -d+docker exec -it kokon kokon-service --set-password</code></pre>+ <p>Then open <code>http://<the server's address>:39152</code>. The models, the settings and the saved images live in three volumes, so they survive updates:</p>+ <pre><code>docker compose pull && docker compose up -d # update to a new version+docker logs -f kokon # what the service is doing</code></pre>+ <p>The <code>latest</code> tag follows every release; write <code>:0.11</code> in <code>compose.yaml</code> to stay on 0.11.x. An image for AMD and Intel cards (Vulkan) will follow once it can be tested; until then, use the Linux packages. The full reference is in <a href="https://github.com/GabrieleLozupone/kokon/blob/master/docs/docker.md" rel="noopener">docs/docker.md</a>.</p>++ <h2>From outside your home: Tailscale</h2>+ <p>Never open Kokon's port on your router: anyone on the internet could then try the password. Use a private network instead. <a href="https://tailscale.com" rel="noopener">Tailscale</a> is free for personal use and takes a few minutes:</p>+ <ol>+ <li>Install Tailscale on the computer running Kokon and on your phone or laptop, and sign in with the same account on both.</li>+ <li>Turn on access in Kokon, as above.</li>+ <li>With Tailscale on, open <code>http://<computer name>:39152</code> on the other device, for example <code>http://gaming-pc:39152</code>.</li>+ </ol>+ <p>Tailscale encrypts the traffic between your devices, wherever you are. With HTTPS turned on for your tailnet, <code>tailscale serve --bg 39152</code> on the Kokon computer gives you an <code>https://</code> address, and the browser then also lets Kokon copy images to the clipboard. WireGuard, ZeroTier or your router's own VPN work the same way.</p>++ <h2>What is protected</h2>+ <ul class="fact-list">+ <li><strong>Off by default.</strong> Nothing listens on the network until a password exists and access is on.</li>+ <li><strong>The password</strong> is stored only as an Argon2id hash. After 5 wrong tries in a row that device waits 1 minute, then longer after each new mistake, up to 15 minutes.</li>+ <li><strong>A browser can do what the interface does</strong>: create, edit, the gallery, Settings. It cannot read or write files on the computer by path, change folders or model files, or turn network access on or off.</li>+ <li><strong>Kokon's own token</strong>, used by the desktop app and the MCP server, works only on the computer itself.</li>+ <li><strong>Plain HTTP on the network.</strong> Fine on your home Wi-Fi; on a shared network (office, café) someone nearby could read the traffic. Use Tailscale there, which encrypts everything.</li>+ </ul>++ <h2>What is different in a browser</h2>+ <ul>+ <li><strong>Adding photos:</strong> the + button, dropping files on the page, or pasting.</li>+ <li><strong>Saving:</strong> the download button saves the image on the device you are using.</li>+ <li><strong>On the computer only:</strong> showing files in a folder, the logs, LoRA and colour LUT files from disk, choosing model files, and updates.</li>+ </ul>++ <h2>It does not connect</h2>+ <ul>+ <li>Both devices must be on the same network (or both on Tailscale), and Settings → Other devices must show the address.</li>+ <li>A firewall may block the port. Windows: set your home network as Private, then allow Kokon on private networks in Windows Security → Firewall. Linux with ufw: <code>sudo ufw allow from 192.168.0.0/16 to any port 39152</code>.</li>+ <li>Another program may use port 39152: Settings shows the error, and you can choose another port there.</li>+ </ul>+ <p>Still stuck? <a href="https://github.com/GabrieleLozupone/kokon/issues" rel="noopener">Open an issue</a> with Settings → Diagnostics → Copy.</p>++ <div class="cta-box">+ <h2>Try it</h2>+ <p>Free and open source for Windows, macOS and Linux, and as a Docker image for NVIDIA.</p>+ <div class="ctas" style="justify-content:flex-start">+ <a class="btn primary" href="https://github.com/GabrieleLozupone/kokon/releases/latest" rel="noopener">Download Kokon</a>+ <a class="btn ghost" href="https://github.com/GabrieleLozupone/kokon/blob/master/docs/remote-access.md" rel="noopener">Full reference on GitHub</a>+ </div>+ </div>+ </div>+</main>++<footer>+ <div class="wrap">+ <a class="logo" href="../"><svg><use href="#mark"/></svg>Kokon</a>+ <span>Designed and built by <a class="me" href="https://gabrielelozupone.github.io/" rel="author">Gabriele Lozupone</a>, with the help of Claude Code.</span>+ <nav aria-label="Links">+ <a href="../">Home</a>+ <a href="../qwen-image-2-1-local/">Setup guide</a>+ <a href="https://github.com/GabrieleLozupone/kokon" rel="noopener">GitHub</a>+ <a href="../support/">Support Kokon</a>+ </nav>+ </div>+</footer>+<script>+// The two phones are drawn at a fixed size and scaled to the column.+(() => {+ const box = document.getElementById("phones-box");+ const fit = () => { const s = Math.min(1, box.clientWidth / 604); box.style.setProperty("--s", s); box.style.height = `${573 * s}px`; };+ new ResizeObserver(fit).observe(box); fit();+})();+</script>+<script src="/download.js" defer></script>+</body>+</html>diff --git a/site/sitemap.xml b/site/sitemap.xmlindex d95db13..14b0605 100644--- a/site/sitemap.xml+++ b/site/sitemap.xml@@ -27,6 +27,12 @@<url><loc>https://kokon.app/offline-alternative-to-nano-banana/</loc><lastmod>2026-10-22</lastmod></url><url><loc>https://kokon.app/comfyui-alternative/</loc><lastmod>2026-10-21</lastmod></url><url><loc>https://kokon.app/remove-objects-from-photos-offline/</loc><lastmod>2026-10-21</lastmod></url>+ <url>+ <loc>https://kokon.app/self-hosted/</loc>+ <lastmod>2026-10-23</lastmod>+ <image:image><image:loc>https://kokon.app/assets/img/remote-laptop.webp</image:loc></image:image>+ <image:image><image:loc>https://kokon.app/assets/img/remote-phone.webp</image:loc></image:image>+ </url><url><loc>https://kokon.app/support/</loc><lastmod>2026-10-22</lastmod></url><url><loc>https://kokon.app/press/</loc><lastmod>2026-10-21</lastmod></url></urlset>