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.

2.5 KB
Raw Blame
{
  "$schema": "https://schema.tauri.app/config/2",
  "productName": "Kokon",
  "mainBinaryName": "Kokon",
  "version": "0.12.0",
  "identifier": "app.kokon.desktop",
  "build": {
    "beforeDevCommand": "npm run bundled && node scripts/dev/sidecars.mjs && npm run dev",
    "devUrl": "http://localhost:1420",
    "beforeBuildCommand": "npm run bundled && npm run build",
    "frontendDist": "../dist"
  },
  "app": {
    "withGlobalTauri": false,
    "windows": [
      {
        "label": "main",
        "title": "Kokon",
        "width": 1320,
        "height": 880,
        "minWidth": 960,
        "minHeight": 660,
        "center": true,
        "visible": false,
        "dragDropEnabled": true,
        "decorations": false
      }
    ],
    "security": {
      "csp": "default-src 'self'; img-src 'self' data: blob: http://127.0.0.1:*; connect-src 'self' ipc: http://ipc.localhost http://127.0.0.1:*; style-src 'self' 'unsafe-inline'; font-src 'self' data:; script-src 'self' 'wasm-unsafe-eval'"
    }
  },
  "bundle": {
    "active": true,
    "targets": [
      "nsis"
    ],
    "publisher": "Kokon",
    "shortDescription": "Create and edit images by describing them, on your own GPU",
    "longDescription": "Kokon creates and edits images from a sentence, privately on your own GPU, with Qwen-Image 2.1 via stable-diffusion.cpp. Everything runs on this PC.",
    "category": "Graphics and Design",
    "icon": [
      "icons/32x32.png",
      "icons/128x128.png",
      "icons/[email protected]",
      "icons/icon.ico"
    ],
    "externalBin": [
      "binaries/kokon-service",
      "binaries/kokon-mcp"
    ],
    "resources": {
      "resources/4xNomos2_hq_mosr.pth": "bundled/4xNomos2_hq_mosr.pth",
      "resources/encoder_P.onnx": "bundled/encoder_P.onnx",
      "resources/decoder_P.onnx": "bundled/decoder_P.onnx"
    },
    "windows": {
      "nsis": {
        "installerIcon": "icons/icon.ico",
        "uninstallerIcon": "icons/icon.ico",
        "installMode": "currentUser",
        "installerHooks": "windows/hooks.nsh",
        "displayLanguageSelector": false
      }
    },
    "createUpdaterArtifacts": true
  },
  "plugins": {
    "updater": {
      "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEZEOTYyMjkyRkI1MTQzREQKUldUZFExSDdraUtXL2ZXWWcrNnhNVGZuTnp2UFFrRk1XMFR0em1IWURmcmVEUlJ2bnVscDBCaC8K",
      "endpoints": [
        "https://github.com/GabrieleLozupone/kokon/releases/latest/download/latest.json"
      ],
      "windows": {
        "installMode": "passive"
      }
    }
  }
}