Skip to content

Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors

4.1 KB
Raw Blame
{
  "name": "omniroute-desktop",
  "version": "3.8.52",
  "description": "OmniRoute Desktop Application",
  "main": "main.js",
  "author": {
    "name": "OmniRoute Team",
    "email": "[email protected]"
  },
  "license": "MIT",
  "homepage": "https://omniroute.online",
  "engines": {
    "node": ">=22.22.2 <23 || >=24.0.0 <27"
  },
  "scripts": {
    "start": "electron .",
    "dev": "electron . --no-sandbox",
    "prepare:bundle": "node ../scripts/build/prepare-electron-standalone.mjs",
    "build": "npm run prepare:bundle && electron-builder",
    "build:win": "npm run prepare:bundle && electron-builder --win",
    "build:mac": "npm run prepare:bundle && electron-builder --mac",
    "build:mac-x64": "npm run prepare:bundle && electron-builder --mac --x64",
    "build:mac-arm64": "npm run prepare:bundle && electron-builder --mac --arm64",
    "build:linux": "npm run prepare:bundle && electron-builder --linux",
    "pack": "npm run prepare:bundle && electron-builder --dir"
  },
  "dependencies": {
    "electron-updater": "^6.8.9"
  },
  "devDependencies": {
    "electron": "^44.7.0",
    "electron-builder": "^26.15.3"
  },
  "overrides": {
    "@xmldom/xmldom": "^0.9.12",
    "fast-uri": "^3.1.3",
    "plist": "^4.0.0",
    "form-data": "^4.0.6",
    "js-yaml": "^4.2.0",
    "undici": "^7.29.0"
  },
  "build": {
    "appId": "online.omniroute.desktop",
    "productName": "OmniRoute",
    "copyright": "Copyright © 2025 OmniRoute",
    "buildDependenciesFromSource": false,
    "npmRebuild": false,
    "afterPack": "../scripts/build/afterpack-copy-node-modules.mjs",
    "directories": {
      "output": "dist-electron",
      "buildResources": "assets"
    },
    "publish": {
      "provider": "github",
      "owner": "diegosouzapw",
      "repo": "OmniRoute"
    },
    "files": [
      "main.js",
      "preload.js",
      "processTree.js",
      "sqlite-inspection.js",
      "remoteServerPromptPreload.js",
      "remoteServerPromptRenderer.js",
      "lib/resolveServerEntry.js",
      "lib/resolveNodeHelper.js",
      "lib/windowLifecycle.js",
      "lib/resolveRemoteServerUrl.js",
      "lib/remoteServerPreferences.js",
      "lib/serverReadiness.js",
      "lib/windowClosePolicy.js",
      "assets/remoteServerPrompt.html",
      "package.json",
      "node_modules/**/*"
    ],
    "extraResources": [
      {
        "from": "../.build/electron-standalone",
        "to": "app",
        "filter": [
          "**/*",
          "node_modules/**/*"
        ]
      },
      {
        "from": "../.build/electron-standalone/node_modules",
        "to": "app/node_modules",
        "filter": [
          "**/*"
        ]
      },
      {
        "from": "assets",
        "to": "assets",
        "filter": [
          "icon.png",
          "tray-icon.png"
        ]
      }
    ],
    "win": {
      "target": [
        {
          "target": "nsis",
          "arch": [
            "x64"
          ]
        },
        {
          "target": "portable",
          "arch": [
            "x64"
          ]
        }
      ],
      "icon": "assets/icon.ico"
    },
    "mac": {
      "target": [
        "dmg"
      ],
      "icon": "assets/icon.icns",
      "category": "public.app-category.productivity"
    },
    "linux": {
      "target": [
        {
          "target": "AppImage",
          "arch": [
            "x64",
            "arm64"
          ]
        },
        {
          "target": "deb",
          "arch": [
            "x64",
            "arm64"
          ]
        }
      ],
      "icon": "assets/icons",
      "category": "Utility"
    },
    "nsis": {
      "artifactName": "${productName}.Setup.${version}.${ext}",
      "oneClick": false,
      "allowToChangeInstallationDirectory": true,
      "createDesktopShortcut": true,
      "createStartMenuShortcut": true,
      "installerIcon": "assets/icon.ico",
      "uninstallerIcon": "assets/icon.ico"
    },
    "dmg": {
      "contents": [
        {
          "x": 130,
          "y": 220
        },
        {
          "x": 410,
          "y": 220,
          "type": "link",
          "path": "/Applications"
        }
      ]
    }
  }
}