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.

Other devices: advise reserving the computer's address in the router

Gabriele Lozupone051f8e2930b3
diff --git a/docs/remote-access.md b/docs/remote-access.md
index 34ff6a5..cf3d164 100644
--- a/docs/remote-access.md
+++ b/docs/remote-access.md
@@ -17,6 +17,11 @@ It is off until you turn it on, and it always asks for a password.
on Android, the browser's menu → **Add to Home screen**. The icon opens Kokon full screen (on iPhone
it asks for the password once more the first time).
+The router may give the computer a different address later (after a restart, or when it switches
+between cable and Wi-Fi), and the saved icon stops working. To keep it the same, reserve the address
+in your router's settings (usually "DHCP reservation" or "static IP" for this computer); or scan the
+QR code again.
+
The first time, your system may ask whether to let Kokon on the network (Windows Defender Firewall,
macOS). Allow it on **private** networks only.
diff --git a/src/components/RemoteAccess.tsx b/src/components/RemoteAccess.tsx
index f31074e..98f0ee5 100644
--- a/src/components/RemoteAccess.tsx
+++ b/src/components/RemoteAccess.tsx
@@ -121,7 +121,8 @@ export function RemoteAccess() {
<strong>Scan it with your phone's camera</strong>
<span className="muted">
Or open <span className="remote-url">{st.url}</span> on the other device. To keep Kokon on the home screen like an app: on iPhone, Share → Add to Home Screen; on
- Android, the browser's menu → Add to Home screen.
+ Android, the browser's menu → Add to Home screen. The router can give this computer another address later: reserve it in the router's settings (DHCP
+ reservation) so the icon keeps working.
</span>
<button className="btn" style={{ alignSelf: "flex-start", marginTop: 6 }} onClick={() => writeText(st.url!).then(() => toastInfo("Address copied"), toastError)}>
<Copy size={14} /> Copy address