mintcli

agent
Guvenlik Denetimi
Basarisiz
Health Uyari
  • License — License: AGPL-3.0
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 5 GitHub stars
Code Basarisiz
  • network request — Outbound network request in electron/cloud.js
  • network request — Outbound network request in electron/desktopNotifications.js
  • os.homedir — User home directory access in electron/localServer.js
  • process.env — Environment variable access in electron/localServer.js
  • process.env — Environment variable access in electron/main.js
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

mintcli: a self-hosted coding workspace with unified Codex, Claude, Cursor, OpenCode and Antigravity accounts, usage views and compatible APIs. Upstream app updates disabled.

README.md

mintcli

A customized, self-hosted coding workspace for managing coding agents, accounts, and conversations in one browser interface.

mintcli is an independently maintained, modified version of CloudCLI UI (https://github.com/siteboon/claudecodeui). It is not the original software and is not affiliated with or endorsed by its authors; see Source and license.

Release polling and in-app application updates are disabled, including the system API and CLI update command.

What this version adds

  • Unified account management: Add, authorize, and switch Codex and Claude accounts, native Cursor and OpenCode identities, Antigravity identities, and third-party API connections from the chat workspace.
  • Account-aware model catalogs: Load models for the selected account or API connection, with support for custom models and reasoning effort settings.
  • Provider quota views: Inspect the usage windows and account limits exposed by each supported provider.
  • Native Antigravity integration: Connect an existing local Antigravity web backend to the workspace, including conversations, account selection, attachments, streaming, and reconnect handling.
  • Isolated Claude profiles: Keep authorization separate for each account while sharing conversation history.
  • Third-party API support: Use compatible Responses and Chat Completions endpoints through saved connections.
  • Codex fast mode: Control fast mode from the composer when supported by the selected account and model.
  • Video attachments: Upload and preview video files alongside other chat attachments, with a general upload limit of 200 MB. Individual backends may enforce smaller limits.

The workspace also provides a file explorer, code editing, Git tools, a terminal, session history, scheduled messages, and a plugin system. Existing Cursor CLI and OpenCode integrations are retained.

Run from source

Use Node.js 22 or newer and npm. Provider CLIs and accounts need their own authorization.

git clone https://github.com/BloodYi/mintcli.git
cd mintcli
npm install
npm run build
npm run server

Open http://localhost:3001 and complete the initial setup. Use Manage Accounts in the chat workspace to configure your provider accounts and API connections.

On machines with limited RAM, the frontend build can need a larger Node heap and sufficient available memory or swap:

NODE_OPTIONS=--max-old-space-size=3072 npm run build

For development:

npm run dev

Check and update provider CLIs

Open Settings → Agents → select a provider → Account (设置 → 智能体 → 选择引擎 → 账户). Each of the five providers has Check for updates / 检查更新 and Update now / 立即更新 controls. Checks query npm for Codex, Claude and OpenCode, the official Cursor installer, and the Antigravity release manifest. A manual check bypasses the version cache; failed lookups are shown as unavailable.

Enable private managed installations on Linux or macOS before using the updater:

export MINTCLI_MANAGED_CLIS=1
export MINTCLI_CLI_ROOT="$HOME/.mintcli/cli"
export PATH="$MINTCLI_CLI_ROOT/bin:$PATH"
npm run cli:install
npm run server

Keep these variables in the server service environment. Updates install into a new provider-specific directory, validate the executable, then atomically switch its symlink. Previous releases stay available for recovery. Global npm packages and other projects are untouched. The CLI used by Codex chat, status, forks and the model catalog follows the same managed installation. Busy providers refuse updates; repeat requests share the running job and the interface recovers its result after navigation. For a systemd deployment with a small gateway memory limit, set MINTCLI_CLI_SYSTEMD=1 to run installers in temporary units with their own memory and time limits.

For Antigravity, start the private bridge with its own executable, HOME, account copies, conversation data and loopback port as described in its README, and configure ANTIGRAVITY_WEB_URL / ANTIGRAVITY_ENV_FILE. Do not attach managed updates to a different project's shared native service.

Verified releases on 2026-11-04: Codex 0.166.0, Claude Code 2.1.318, OpenCode 1.19.5, Cursor 2026.10.22-27dcf5f, Antigravity 1.5.0. The updater fetches the latest release each time; this list is a dated record.

Add an account through official authorization

In Manage Accounts → Add account / API (管理账号 → 添加账号 / API), choose the CLI and click Open official authorization / Add account (打开官方授权 / 添加账号). The official page opens directly; the same link stays visible in the dialog if the browser blocks a popup. A preliminary manual save is no longer required.

  • Codex: Complete ChatGPT browser authorization, then paste the returned code or the full localhost callback address into the dialog if the browser cannot reach the server's callback. The server validates the state and forwards it only to the CLI's fixed loopback callback. Device-code login is also available.
  • Claude: Paste the code returned by the official Claude page into the dialog.
  • agy: Complete Google OAuth and paste the returned authorization code. The CLI runs in a fresh private home; only after success is the new account imported without switching the selected account.
  • Cursor: Confirm the official browser login; the CLI completes automatically.
  • OpenCode: The quick flow uses its native ChatGPT device authorization. Other providers remain available through the embedded native login terminal.

Cursor and OpenCode retain their CLI-owned current identity rather than introducing a separate multi-profile account store. Existing account selection stays unchanged when a new isolated Codex, Claude or agy account is added. Cancelled or failed attempts never count an old credential as a new successful login. Access and refresh tokens remain on the server; only authorization links, one-time codes and status are returned to the browser.

Cursor and OpenCode login

Open Manage Accounts in the chat workspace and choose Cursor or OpenCode. Official login runs in an embedded terminal inside that same dialog; the previous Settings and onboarding login controls are replaced by the common account manager. These integrations use the native CLI-owned identity rather than copying credentials into a Codex profile.

Install the relevant native CLI on your host and ensure cursor-agent and opencode are on the server PATH. Cursor uses cursor-agent login; OpenCode uses opencode auth login. Status can be refreshed after authorization. No login command starts simply because you browse the account manager.

When the native login does not expose a readable remaining-quota response, mintcli displays an explicit unavailable state and links to the provider's official usage console. It does not infer a balance from session token counts.

Configuration

See .env.example for the base server settings. The custom integrations also recognize these environment variables:

Variable Purpose
CODEX_CONNECTIONS_ROOT Directory for saved Codex accounts and API connection profiles. Defaults to connections under the server user's home directory.
CLAUDE_ACCOUNTS_ROOT Directory for isolated Claude account profiles. Defaults to unified/claude under the server user's home directory.
CLAUDE_CLI_PATH Optional path to the native Claude executable.
ANTIGRAVITY_WEB_URL Origin of the separately running local Antigravity web backend. Defaults to http://127.0.0.1:3121. Only loopback HTTP origins are accepted.
ANTIGRAVITY_ENV_FILE Path to the existing Antigravity environment file containing BASIC_AUTH_USER and BASIC_AUTH_PASS. Set this explicitly for your installation.
AGY_DEFAULT_PROJECT Default workspace for imported Antigravity conversations. Set this to your own project directory.

Antigravity support uses a separately running compatible backend. A source snapshot for a private bridge is included in native/antigravity-bridge; credentials and account data remain local. Antigravity MCP and skill configuration remain managed by its native backend.

Saved credentials, account profiles, databases, conversation files, local proxy configuration, and deployment backups are runtime data and are not part of this repository.

Validation

Run the type checks, tests, build and lint before deploying a change:

npm run typecheck
NODE_ENV=test npm run test:client -- --maxWorkers=1 --minWorkers=1
npm test
npm run build
npm run lint

The installed oxlint binary crashed in its allocator on the deployment host, including before this upgrade. Lint did not complete on that host.

Source and license

来源与许可 · mintcli is a modified version of:

CloudCLI UI (https://github.com/siteboon/claudecodeui)

originally developed by Siteboon AI B.V. and contributors. mintcli contributors have modified it since 2026; this tree was last modified on 2026-12-03. It is not the original software, not an official release of that project, and not endorsed by its authors.

mintcli is released under the GNU Affero General Public License v3.0 or later, including the additional terms under Section 7 at the end of that file. The original copyright notices, NOTICE and Git history are preserved. If you run a modified version for users over a network, AGPL section 13 requires offering them its corresponding source.

Yorumlar (0)

Sonuc bulunamadi