๐ฅ๏ธ ่ทจๅนณๅฐGUI็ฎก็AI็ผ็ ไปฃ็๏ผClaudeใGeminiใCodexใCopilotใKiro็ญ๏ผ
665
stars
211
commits
TypeScript
primary language
Aug 19, 2026
updated
Cross-platform AI proxy management for Claude, Gemini, Codex, Qwen, iFlow, Antigravity, and more.
LinJun is a native desktop application for managing CLIProxyAPI - a local proxy server that powers your AI coding agents. It helps you manage multiple AI accounts, track quotas, and configure CLI tools in one place across macOS, Windows, and Linux.
| Provider | Auth Method |
|---|---|
| Claude Code | OAuth |
| Gemini CLI | OAuth |
| OpenAI Codex | OAuth |
| Qwen Code | OAuth |
| Antigravity | OAuth (Google) |
| iFlow | OAuth |
| Custom Provider | API Key |
| AmpCode | API Key |
LinJun can automatically configure these tools to use your centralized proxy:
Download the latest release from GitHub Releases:
| Platform | Download |
|---|---|
| macOS (Apple Silicon) | LinJun-x.x.x-arm64.dmg |
| macOS (Intel) | LinJun-x.x.x-x64.dmg |
| Windows | LinJun-x.x.x-x64.exe |
| Linux | LinJun-x.x.x-x64.AppImage or .deb |
Requirements:
# Clone the repository
git clone https://github.com/wangdabaoqq/LinJun.git
cd LinJun
# Install dependencies
bun install
# Download CLIProxyAPI binary
bun run download:binary
# Start development server
bun dev
bun run build:mac # macOS (dmg, zip)
bun run build:win # Windows (nsis)
bun run build:linux # Linux (AppImage, deb)
bun run build:all # All platforms
Launch LinJun and click Start to initialize the local proxy server.
Go to Providers tab โ Select a provider โ Authenticate via OAuth or enter API key.
Go to Agents tab โ Select detected agent โ Configure to use local proxy.
| Dashboard | Providers |
|---|---|
![]() | ![]() |
| Quota Monitoring | Settings |
|---|---|
![]() | ![]() |
| Agents | API Key |
|---|---|
![]() | ![]() |
| Guide | Logs |
|---|---|
![]() | ![]() |
LinJun/
โโโ src/
โ โโโ main/ # Electron main process
โ โ โโโ index.ts # App entry point
โ โ โโโ tray.ts # System tray integration
โ โ โโโ proxy/ # CLIProxyAPI management
โ โ โ โโโ manager.ts # Process lifecycle
โ โ โ โโโ api.ts # Management API client
โ โ โโโ ipc/ # IPC handlers
โ โ โโโ quota/ # Provider quota services
โ โ โโโ logging/ # Request logging
โ โ โโโ utils/ # CLI detection, storage
โ โโโ preload/ # Context bridge
โ โโโ renderer/ # React frontend
โ โโโ components/ # UI components
โ โโโ stores/ # Zustand state
โ โโโ hooks/ # Custom hooks
โโโ resources/ # Static assets
โโโ scripts/ # Build scripts
| Component | Technology |
|---|---|
| Framework | Electron 33+ |
| Frontend | React 18 + TypeScript |
| Styling | Tailwind CSS |
| State | Zustand |
| Build | Vite + electron-vite |
| Packaging | electron-builder |
Authentication is managed through CLIProxyAPI auth-files, not a fixed ~/.cli-proxy-api/ directory.
LinJun reads accounts from the local management API. When auth files are stored locally, they use the configured auth-dir from config.yaml; if that is not set, the default location is the app's cli-proxy/auth directory under Electron userData.
Typical auth filenames include:
codex-{email}-Plus.jsonantigravity-{email}.jsonDue to macOS security mechanisms, apps downloaded outside the App Store may trigger this warning. Run the following command to fix it:
sudo xattr -rd com.apple.quarantine "/Applications/้ๅ.app"
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)MIT License. See LICENSE for details.
211 commits
TypeScript
98.1%
CSS
1.7%
๐ฅ๏ธ ่ทจๅนณๅฐGUI็ฎก็AI็ผ็ ไปฃ็๏ผClaudeใGeminiใCodexใCopilotใKiro็ญ๏ผ
665
stars
211
commits
TypeScript
primary language
Aug 19, 2026
updated
Cross-platform AI proxy management for Claude, Gemini, Codex, Qwen, iFlow, Antigravity, and more.
LinJun is a native desktop application for managing CLIProxyAPI - a local proxy server that powers your AI coding agents. It helps you manage multiple AI accounts, track quotas, and configure CLI tools in one place across macOS, Windows, and Linux.
| Provider | Auth Method |
|---|---|
| Claude Code | OAuth |
| Gemini CLI | OAuth |
| OpenAI Codex | OAuth |
| Qwen Code | OAuth |
| Antigravity | OAuth (Google) |
| iFlow | OAuth |
| Custom Provider | API Key |
| AmpCode | API Key |
LinJun can automatically configure these tools to use your centralized proxy:
Download the latest release from GitHub Releases:
| Platform | Download |
|---|---|
| macOS (Apple Silicon) | LinJun-x.x.x-arm64.dmg |
| macOS (Intel) | LinJun-x.x.x-x64.dmg |
| Windows | LinJun-x.x.x-x64.exe |
| Linux | LinJun-x.x.x-x64.AppImage or .deb |
Requirements:
# Clone the repository
git clone https://github.com/wangdabaoqq/LinJun.git
cd LinJun
# Install dependencies
bun install
# Download CLIProxyAPI binary
bun run download:binary
# Start development server
bun dev
bun run build:mac # macOS (dmg, zip)
bun run build:win # Windows (nsis)
bun run build:linux # Linux (AppImage, deb)
bun run build:all # All platforms
Launch LinJun and click Start to initialize the local proxy server.
Go to Providers tab โ Select a provider โ Authenticate via OAuth or enter API key.
Go to Agents tab โ Select detected agent โ Configure to use local proxy.
| Dashboard | Providers |
|---|---|
![]() | ![]() |
| Quota Monitoring | Settings |
|---|---|
![]() | ![]() |
| Agents | API Key |
|---|---|
![]() | ![]() |
| Guide | Logs |
|---|---|
![]() | ![]() |
LinJun/
โโโ src/
โ โโโ main/ # Electron main process
โ โ โโโ index.ts # App entry point
โ โ โโโ tray.ts # System tray integration
โ โ โโโ proxy/ # CLIProxyAPI management
โ โ โ โโโ manager.ts # Process lifecycle
โ โ โ โโโ api.ts # Management API client
โ โ โโโ ipc/ # IPC handlers
โ โ โโโ quota/ # Provider quota services
โ โ โโโ logging/ # Request logging
โ โ โโโ utils/ # CLI detection, storage
โ โโโ preload/ # Context bridge
โ โโโ renderer/ # React frontend
โ โโโ components/ # UI components
โ โโโ stores/ # Zustand state
โ โโโ hooks/ # Custom hooks
โโโ resources/ # Static assets
โโโ scripts/ # Build scripts
| Component | Technology |
|---|---|
| Framework | Electron 33+ |
| Frontend | React 18 + TypeScript |
| Styling | Tailwind CSS |
| State | Zustand |
| Build | Vite + electron-vite |
| Packaging | electron-builder |
Authentication is managed through CLIProxyAPI auth-files, not a fixed ~/.cli-proxy-api/ directory.
LinJun reads accounts from the local management API. When auth files are stored locally, they use the configured auth-dir from config.yaml; if that is not set, the default location is the app's cli-proxy/auth directory under Electron userData.
Typical auth filenames include:
codex-{email}-Plus.jsonantigravity-{email}.jsonDue to macOS security mechanisms, apps downloaded outside the App Store may trigger this warning. Run the following command to fix it:
sudo xattr -rd com.apple.quarantine "/Applications/้ๅ.app"
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)MIT License. See LICENSE for details.
211 commits
TypeScript
98.1%
CSS
1.7%