ThinkWatch-Lite README

README проекта с github.com/ThinkWatchProject/ThinkWatch-Lite. Одним файлом markdown: README.md.

ThinkWatch Lite

Tauri 2 React 19 License: MIT Platforms: macOS, Windows and Linux

ThinkWatch Lite

English | 中文

A local gateway for Claude Code, Codex and other AI clients, on macOS, Windows and Linux. Each client is connected once; after that, upstreams and models change without touching its configuration. Every request is recorded with its cost and route; the API keys in it can be replaced before it leaves the machine, and dangerous tool calls a relay slips into an answer can be cut off before the client runs them.

The overview for the last seven days: tokens, cost, requests, cache hits, first token and traffic, each with the change against the seven days before, over a chart of the selected one; below, where the tokens went by model and the quotas and balances the upstreams report

Sponsors

Thanks to the sponsors below for supporting the development of ThinkWatch Lite. Become a sponsor
VoyageAge One API. More models. Lower costs.
VoyageAge brings leading AI models together through one OpenAI-compatible API. Built for developers, teams, and AI startups, it offers competitive pricing and pay-as-you-go billing, making it easier to integrate AI into your projects. Sign up for free trial credits and start building. voyageage.com ↗

Sponsors are independent third parties, not endorsed by ThinkWatch. Disclaimer

Highlights

The security log: credentials replaced before a request left, one of them matched by a custom rule; a download-and-run tool call cut off; and hidden characters, a delete command and an injected instruction recorded. Each entry names the key, client, model and upstream of its request

Install

Platform Architecture Install
macOS 12 or later ARM64 (Apple silicon) brew install --cask thinkwatchproject/tap/thinkwatch-lite, or ThinkWatch-Lite-<version>-darwin-arm64.dmg
Windows 10 21H2 or later x64 Installer ThinkWatch-Lite-<version>-windows-x64-setup.exe, or portable ThinkWatch-Lite-<version>-windows-x64-portable.zip
Windows 10 21H2 or later ARM64 Installer ThinkWatch-Lite-<version>-windows-arm64-setup.exe, or portable ThinkWatch-Lite-<version>-windows-arm64-portable.zip
Linux x86_64 / aarch64 curl -fsSL https://github.com/ThinkWatchProject/ThinkWatch-Lite/releases/latest/download/install.sh | sh, or ThinkWatch-Lite-<version>-linux-<arch>.AppImage

The gateway, ThinkWatch Core, ships inside the app. The app is not signed by Apple or Microsoft, so the first launch needs one extra step; Install and update covers it, along with how updates arrive. The interface is in English and Simplified Chinese, and the app updates itself (a Homebrew installation updates through Homebrew).

Windows portable

Unzip and run ThinkWatch Lite.exe: no installation and no administrator rights. Configuration, keys and request history stay in the data\ folder next to the program, apart from the installed copy's data, so the two keep separate settings. The folder has to be writable.

Only one of the installed and portable copies runs at a time; opening the other one offers to stop the running one and start it instead. thinkwatch:// links and launch at login always point to the copy that is running.

The portable copy has no system uninstaller. Uninstall it in Settings › Full uninstall first, which restores connected clients and removes its launch at login and other registry entries, then delete the whole folder.

Uninstall

Uninstalling in Settings › Full uninstall restores connected clients, turns off launch at login and can delete the data directory as well. Afterwards, move the app to the Trash on macOS, or delete the AppImage file on Linux.

The installed copy on Windows can also be uninstalled through the system: the uninstaller closes ThinkWatch Lite and does the same restoring and cleanup first. With "Also delete data (configuration, API keys, request history)" ticked it deletes %APPDATA%\ThinkWatch too, except when a client could not be restored, in which case the data directory, with that client's backup, is kept. The uninstaller runs as an administrator: when a standard account uninstalls with an administrator's password, it restores the administrator's clients and deletes the administrator's data instead, so uninstall in the app first in that case.

Privacy

ThinkWatch Lite sends no telemetry. AI requests go to the upstream services you configure; Secrets & privacy can redact matching sensitive content locally before it is sent, when enabled. The app and its bundled gateway are fully open source under MIT. See the Privacy Policy for data storage, network connections, redaction defaults, and deletion controls.

Documentation

Build from source

pnpm install
bash src-tauri/scripts/fetch-core.sh
pnpm tauri dev

fetch-core.sh downloads the twcore release that Cargo.lock pins into src-tauri/resources/. See CONTRIBUTING.md for the layout of the repository and the checks to run before opening a pull request.

License

MIT. See LICENSE.

ThinkWatch-Lite (ThinkWatchProject/ThinkWatch-Lite)

Ищем в базе…

Что это такое?ThinkWatch Lite — это локальный шлюз, который стоит между ИИ-клиентами для кодинга (Claude Code, Codex и другими) и их вышестоящими провайдерами, позволяя переключать провайдеров и модели без перенастройки каждого клиента, а также отслеживает стоимость запросов и блокирует вредоносные вызовы инструментов.
Это облачный сервис или он работает на моей машине?Это настольное приложение со значком в системном трее; шлюз (ThinkWatch Core) поставляется в комплекте с приложением. Ядро также можно запустить удалённо на Linux-сервере, а приложение будет подключаться к нему по зашифрованному управляющему каналу.
Как его установить и подключить к нему свои ИИ-клиенты?Установите через Homebrew cask на macOS, через .exe-установщик на Windows или через curl-скрипт/.AppImage на Linux. Затем поддерживаемые клиенты вроде Claude Code, Codex, Zed и Aider в один шаг направляются на шлюз, при этом изменение конфига показывается заранее, а исходный файл резервируется для лёгкого восстановления.
Мне по-прежнему нужны собственные API-ключи провайдеров?Да — вы используете свои вышестоящие аккаунты: API-ключи, Amazon Bedrock, ChatGPT, Z.ai, релеи вроде OpenRouter или локальные модели, а шлюз при необходимости преобразует между форматами API Anthropic, OpenAI и Gemini.
Можно ли пользоваться установщиком сразу из коробки?Не полностью: приложение не подписано Apple или Microsoft, поэтому при первом запуске нужен один дополнительный ручной шаг, описанный в руководстве по установке; после этого оно обновляется само (или через Homebrew, если установлено так).
Видит ли релей мои настоящие API-ключи?Нет — исходящая редактура заменяет API-ключи, приватные ключи, JWT, пароли в строках подключения и другие чувствительные значения на плейсхолдеры до того, как запрос покинет вашу машину, поэтому релей никогда не получает настоящие учётные данные.
Что делает функция «upstream check-up» (проверка провайдеров)?Он сравнивает каждый провайдер, обслуживающий одну и ту же модель, с остальными и помечает ответы, где называется другая модель, сообщается об объёме входных токенов заметно выше или ниже нормы или видны низкие показания промпт-кэша; для контекста указываются размеры выборок.
Может ли он просканировать мои MCP-серверы и скиллы на предмет рисков?Да, он выводит в одном списке MCP-серверы тринадцати клиентов, помечая сторонние серверы, и проверяет конфигурацию клиентов, скиллы, хуки и инструкции проектов на скрытые символы, промпт-инъекции, опасные команды и чрезмерно широкие разрешения.
Можно запустить ядро на удалённом сервере вместо локального запуска?Да, ядро шлюза может работать на Linux-сервере, а настольное приложение на вашем ноутбуке подключается к нему по зашифрованному управляющему каналу.
Какие ИИ-клиенты поддерживаются из коробки?Claude Code, Claude Desktop, Codex, opencode, Pi, oh-my-pi, Grok Build, Qwen Code, Hermes Agent, Zed, Aider и DeepSeek Harness настраиваются автоматически в один шаг; Cursor, Continue и Antigravity CLI требуют ручной настройки по приложённым инструкциям.
Какие есть похожие проекты?casbin-gateway, bifrost, OmniRoute, 9router, opencodex, busbar, headroom, evenfire
Размер
39.6 MB
Звёзды
1.1K
Возраст
2 мес
Коммиты · 90 дней