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
ui: open the images folder from Settings and the gallery; GitHub link in Settings (#34)
Gabriele Lozuponee2d06e66803a
diff --git a/src/components/Gallery.tsx b/src/components/Gallery.tsxindex 8f12da7..378320e 100644--- a/src/components/Gallery.tsx+++ b/src/components/Gallery.tsx@@ -195,6 +195,9 @@ export function Gallery() {onChange={setSort}/></div>+ <IconButton title="Open the images folder" onClick={() => api.config().then((c) => native.openFolder(c.outputDir)).catch(toastError)}>+ <FolderOpen size={17} />+ </IconButton><span className="spacer" />{items.length > 0 && (<button className={`btn ${selecting ? "primary" : ""}`} onClick={() => setPicked(selecting ? null : new Set())} title={selecting ? "Stop selecting (Esc)" : "Select several images to delete them at once (or Ctrl/⌘-click)"}>diff --git a/src/components/Settings.tsx b/src/components/Settings.tsxindex 1784e5e..c4e68e9 100644--- a/src/components/Settings.tsx+++ b/src/components/Settings.tsx@@ -13,10 +13,12 @@ import type { AppConfig, Check, ModelProfile, ModelsStatus, SetupReport, TextEncimport { IconButton, Seg, Switch } from "./ui";import { autoCheckEnabled, checkForUpdate } from "../lib/updates";+const REPO_URL = "https://github.com/GabrieleLozupone/kokon";+type Tab = "general" | "models" | "lora" | "performance" | "diagnostics";const TABS: Tab[] = ["general", "models", "lora", "performance", "diagnostics"];-function PathField(props: { label: string; value: string; onChange: (v: string) => void; folder?: boolean; extensions?: string[] }) {+function PathField(props: { label: string; value: string; onChange: (v: string) => void; folder?: boolean; extensions?: string[]; open?: boolean }) {return (<label className="field"><span>{props.label}</span>@@ -31,6 +33,11 @@ function PathField(props: { label: string; value: string; onChange: (v: string)>Browse</button>+ {props.open && (+ <button className="btn" title="Open this folder" onClick={() => native.openFolder(props.value).catch(toastError)}>+ <FolderOpen size={14} /> Open+ </button>+ )}</div></label>);@@ -263,7 +270,7 @@ export function Settings() {{tab === "general" && (<>- <PathField label="Save images to" value={cfg.outputDir} folder onChange={(v) => set({ outputDir: v })} />+ <PathField label="Save images to" value={cfg.outputDir} folder open onChange={(v) => set({ outputDir: v })} /><div className="field"><span>Appearance</span><Seg<ThemeChoice>@@ -318,6 +325,12 @@ export function Settings() {Start</button></div>+ <div className="field-row">+ <span>Kokon is open source: code, issues and discussions are on GitHub</span>+ <button className="btn" onClick={() => native.openLink(REPO_URL).catch(toastError)}>+ Open GitHub+ </button>+ </div><h4 style={{ margin: "14px 0 0", fontSize: 14, fontWeight: 600 }}>Prompt enhancer</h4><span className="muted" style={{ marginTop: -8 }}>