freshcrate
Home > MCP Servers > codeg

codeg

A unified workspace for local AI coding agents (Claude Code, Codex, Gemini CLI, etc.) โ€” desktop app, standalone server, or Docker. Conversation aggregation, git worktree workflows, MCP/Skills manageme

Description

A unified workspace for local AI coding agents (Claude Code, Codex, Gemini CLI, etc.) โ€” desktop app, standalone server, or Docker. Conversation aggregation, git worktree workflows, MCP/Skills management, chat channel integration (Telegram, Lark, iLink), and integrated terminal, all accessible from any browser.

README

Codeg

Release License Tauri Next.js Docker

English | ็ฎ€ไฝ“ไธญๆ–‡ | ็น้ซ”ไธญๆ–‡ | ๆ—ฅๆœฌ่ชž | ํ•œ๊ตญ์–ด | Espaรฑol | Deutsch | Franรงais | Portuguรชs | ุงู„ุนุฑุจูŠุฉ

Codeg (Code Generation) is an enterprise-grade multi-agent coding workspace. It unifies local AI coding agents (Claude Code, Codex CLI, OpenCode, Gemini CLI, OpenClaw, Cline, etc.) in a desktop app, standalone server, or Docker container โ€” enabling remote development from any browser โ€” with conversation aggregation, parallel git worktree development, MCP/Skills management, chat channel interactions (Telegram, Lark, iLink, etc.), and integrated Git/file/terminal workflows.

gallery

Main Interface

Codeg Light Codeg Dark

Settings

Agents MCP Skills Version Control Web Service
Agents Agents MCP MCP Skills Skills Version Control Version Control Web Service Web Service

Highlights

  • Unified multi-agent workspace in the same project
  • Local conversation ingestion with structured rendering
  • Parallel development with built-in git worktree flows
  • Project Boot โ€” visually scaffold new projects with live preview
  • Chat Channels โ€” connect Telegram, Lark (Feishu), iLink (Weixin) and more to your coding agents for real-time notifications, full session interaction, and remote task control
  • MCP management (local scan + registry search/install)
  • Skills management (global and project scope)
  • Git remote account management (GitHub and other Git servers)
  • Web service mode โ€” access Codeg from any browser for remote work
  • Standalone server deployment โ€” run codeg-server on any Linux/macOS server, access via browser
  • Docker support โ€” docker compose up or docker run, with custom token, port, and volume mounts for data persistence and project directories
  • Integrated engineering loop (file tree, diff, git changes, commit, terminal)

Project Boot

Create new projects visually with a split-pane interface: configure on the left, preview in real time on the right.

Project Boot Light Project Boot Dark

What it does

  • Visual Configuration โ€” pick style, color theme, icon library, font, border radius, and more from dropdowns; the preview iframe updates instantly
  • Live Preview โ€” see your chosen look & feel rendered in real time before creating anything
  • One-Click Scaffolding โ€” hit "Create Project" and the launcher runs shadcn init with your preset, framework template (Next.js / Vite / React Router / Astro / Laravel), and package manager of choice (pnpm / npm / yarn / bun)
  • Package Manager Detection โ€” automatically checks which package managers are installed and shows their versions
  • Seamless Integration โ€” the newly created project opens in Codeg's workspace right away

Currently supports shadcn/ui project scaffolding, with a tab-based design ready for more project types in the future.

Chat Channels

Connect your favorite messaging apps โ€” Telegram, Lark (Feishu), iLink (Weixin), and more โ€” to your AI coding agents. Create tasks, send follow-up messages, approve permissions, resume sessions, and monitor activity โ€” all from your chat app. Receive real-time agent responses with tool-call details, permission prompts, and completion summaries without ever opening a browser.

Supported Channels

Channel Protocol Status
Telegram Bot API (HTTP long-polling) Built-in
Lark (Feishu) WebSocket + REST API Built-in
iLink (Weixin) WebSocket + REST API Built-in

More channels (Discord, Slack, DingTalk, etc.) are planned for future releases.

Key Features

  • Session Interaction โ€” run full agent sessions from your chat app: /folder to pick a project, /agent to choose an agent, /task <description> to start a task, then send follow-up messages as plain text. /resume to continue a previous session, /cancel to abort, /sessions to list active sessions
  • Permission Control โ€” agents can request tool-execution permissions in-chat; respond with /approve (or /approve always for auto-approve) and /deny without switching context
  • Event Notifications โ€” agent turn completions, tool calls, and errors are pushed to all enabled channels in real time with rich formatting
  • Query Commands โ€” /search <keyword>, /today, /status, /help for quick lookups; configurable command prefix
  • Daily Reports โ€” automated daily summary at a scheduled time, including conversation counts, agent-type breakdown, and project activity
  • Multi-Language โ€” message templates in 10 languages (English, Simplified/Traditional Chinese, Japanese, Korean, Spanish, German, French, Portuguese, Arabic)
  • Secure Credentials โ€” tokens stored in the OS keyring, never exposed in config files or logs
  • Rich Messages โ€” Markdown formatting for Telegram, card-based layout for Lark; plain-text fallback for all platforms

Setup

  1. Create a channel in Settings โ†’ Chat Channels (choose Telegram, Lark, or iLink)
  2. Enter your bot token (Telegram), app credentials (Lark), or scan QR code to log in (iLink) โ€” stored securely in the OS keyring
  3. Configure event filters and optional daily report schedule
  4. Connect โ€” messages start flowing as agents emit events

Supported Agents

Agent Environment Variable Path macOS / Linux Default Windows Default
Claude Code $CLAUDE_CONFIG_DIR/projects ~/.claude/projects %USERPROFILE%\\.claude\\projects
Codex CLI $CODEX_HOME/sessions ~/.codex/sessions %USERPROFILE%\\.codex\\sessions
OpenCode $XDG_DATA_HOME/opencode/opencode.db ~/.local/share/opencode/opencode.db %USERPROFILE%\\.local\\share\\opencode\\opencode.db
Gemini CLI $GEMINI_CLI_HOME/.gemini ~/.gemini %USERPROFILE%\\.gemini
OpenClaw โ€” ~/.openclaw/agents %USERPROFILE%\\.openclaw\\agents
Cline $CLINE_DIR ~/.cline/data/tasks %USERPROFILE%\\.cline\\data\\tasks

Note: environment variables take precedence over fallback paths.

Quick Start

Requirements

  • Node.js >=22 (recommended)
  • pnpm >=10
  • Rust stable (2021 edition)
  • Tauri 2 build dependencies (desktop mode only)

Linux (Debian/Ubuntu) example:

sudo apt-get update
sudo apt-get install -y \
  libwebkit2gtk-4.1-dev \
  libayatana-appindicator3-dev \
  librsvg2-dev \
  patchelf

Development

pnpm install

# Frontend static export to out/
pnpm build

# Full desktop app (Tauri + Next.js)
pnpm tauri dev

# Frontend only
pnpm dev

# Desktop build
pnpm tauri build

# Standalone server (no Tauri/GUI required)
pnpm server:dev

# Build server release binary
pnpm server:build

# Lint
pnpm eslint .

# Rust checks (run in src-tauri/)
cargo check
cargo clippy
cargo build

Server Deployment

Codeg can run as a standalone web server without a desktop environment.

Option 1: One-line install (Linux / macOS)

curl -fsSL https://raw.githubusercontent.com/xintaofei/codeg/main/install.sh | bash

Install a specific version or to a custom directory:

curl -fsSL https://raw.githubusercontent.com/xintaofei/codeg/main/install.sh | bash -s -- --version v0.5.2 --dir ~/.local/bin

Then run:

codeg-server

Option 2: One-line install (Windows PowerShell)

irm https://raw.githubusercontent.com/xintaofei/codeg/main/install.ps1 | iex

Or install a specific version:

.\install.ps1 -Version v0.5.2

Option 3: Download from GitHub Releases

Pre-built binaries (with bundled web assets) are available on the Releases page:

Platform File
Linux x64 codeg-server-linux-x64.tar.gz
Linux arm64 codeg-server-linux-arm64.tar.gz
macOS x64 codeg-server-darwin-x64.tar.gz
macOS arm64 codeg-server-darwin-arm64.tar.gz
Windows x64 codeg-server-windows-x64.zip
# Example: download, extract, and run
tar xzf codeg-server-linux-x64.tar.gz
cd codeg-server-linux-x64
CODEG_STATIC_DIR=./web ./codeg-server

Option 4: Docker

# Using Docker Compose (recommended)
docker compose up -d

# Or run directly with Docker
docker run -d -p 3080:3080 -v codeg-data:/data ghcr.io/xintaofei/codeg:latest

# With custom token and project directory mounted
docker run -d -p 3080:3080 \
  -v codeg-data:/data \
  -v /path/to/projects:/projects \
  -e CODEG_TOKEN=your-secret-token \
  ghcr.io/xintaofei/codeg:latest

The Docker image uses a multi-stage build (Node.js + Rust โ†’ slim Debian runtime) and includes git and ssh for repository operations. Data is persisted in the /data volume. You can optionally mount project directories to access local repos from within the container.

Option 5: Build from source

pnpm install && pnpm build          # build frontend
cd src-tauri
cargo build --release --bin codeg-server --no-default-features
CODEG_STATIC_DIR=../out ./target/release/codeg-server

Configuration

Environment variables:

Variable Default Description
CODEG_PORT 3080 HTTP port
CODEG_HOST 0.0.0.0 Bind address
CODEG_TOKEN (random) Auth token (printed to stderr on start)
CODEG_DATA_DIR ~/.local/share/codeg SQLite database directory
CODEG_STATIC_DIR ./web or ./out Next.js static export directory

Architecture

Next.js 16 (Static Export) + React 19
        |
        | invoke() (desktop) / fetch() + WebSocket (web)
        v
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
  โ”‚   Transport Abstraction  โ”‚
  โ”‚  (Tauri IPC or HTTP/WS) โ”‚
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
        |
        v
โ”Œโ”€โ”€โ”€ Tauri Desktop โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€ codeg-server โ”€โ”€โ”€โ”
โ”‚  Tauri 2 Commands    โ”‚    โ”‚  Axum HTTP + WS    โ”‚
โ”‚  (window management) โ”‚    โ”‚  (standalone mode)  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
           โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                      v
            Shared Rust Core
              |- AppState
              |- ACP Manager
              |- Parsers (conversation ingestion)
              |- Chat Channels
              |- Git / File Tree / Terminal
              |- MCP marketplace + config
              |- SeaORM + SQLite
                      |
              โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
              v       v       v
  Local Filesystem  Git   Chat Channels
    / Git Repos    Repos  (Telegram, Lark, iLink)

Constraints

  • Frontend uses static export (output: "export")
  • No Next.js dynamic routes ([param]); use query params instead
  • Tauri command params: frontend camelCase, Rust snake_case
  • TypeScript strict mode

Privacy & Security

  • Local-first by default for parsing, storage, and project operations
  • Network access happens only on user-triggered actions
  • System proxy support for enterprise environments
  • Web service mode uses token-based authentication

Acknowledgments

  • LinuxDO โ€” the community where it all began
  • ACP โ€” the Agent Client Protocol (ACP) is the foundation that enables Codeg to connect with multiple agents

License

Apache-2.0. See LICENSE.

Release History

VersionChangesUrgencyDate
v0.9.5# Release version 0.9.5 - feat(message-input): add search box to slash-command popups. - fix(file-tree): keep aux-panel tree in sync with filesystem changes. - fix(file-tree): invalidate both cached target and ancestor, skip collapsed refetches. - chore(acp): bump claude-agent-acp to 0.30.0 and opencode to 1.14.19. ----------------------------- # ๅ‘ๅธƒ็‰ˆๆœฌ 0.9.5 - ๆ–ฐๅขž(ๆถˆๆฏ่พ“ๅ…ฅ)๏ผšๅœจๆ–œๆ ๅ‘ฝไปคๅผน็ช—ไธญๅขžๅŠ ๆœ็ดขๆก†๏ผŒๆ–นไพฟๅฟซ้€Ÿๅฎšไฝๅ‘ฝไปค๏ผ› - ไฟฎๅค(ๆ–‡ไปถๆ ‘)๏ผš่พ…ๅŠฉ้ขๆฟ็š„ๆ–‡ไปถๆ ‘ไธŽๆ–‡ไปถ็ณป็ปŸๅ˜ๆ›ดไฟๆŒๅŒๆญฅ๏ผ› - ไฟฎๅค(ๆ–‡ไปถๆ ‘)๏ผšๅŒๆ—ถๅคฑๆ•ˆ็ผ“ๅญ˜็›ฎๆ ‡ๅŠๅ…ถ็ฅ–ๅ…ˆ่Š‚็‚น๏ผŒ่ทณ่ฟ‡ๅทฒๆŠ˜ๅ ่Š‚็‚น็š„้‡ๅคๆ‹‰ๅ–๏ผ› - ๆ‚้กน(ACP)๏ผšๅ‡็บง claude-agent-acp ่‡ณ High4/20/2026
v0.9.4# Release version 0.9.4 - feat(terminal): add word/line cursor shortcuts for shell line-editing. - feat(appearance): apply UI zoom level to terminal and Monaco editors. - fix(settings): move content padding inside scroll areas to keep inner borders visible. - refactor(git-error): drop locale-specific not-a-repo patterns. - fix(process): apply C.UTF-8 locale across platforms for child processes. ----------------------------- # ๅ‘ๅธƒ็‰ˆๆœฌ 0.9.4 - ๆ–ฐๅขž(็ปˆ็ซฏ)๏ผšๆ–ฐๅขžๆŒ‰่ฏ/ๆŒ‰่กŒๅ…‰ๆ ‡็งปๅŠจ็š„ๅฟซๆท้”ฎ๏ผŒไผ˜ๅŒ– Shell ่กŒ็ผ–่พ‘ไฝ“้ชŒ๏ผ› - ๆ–ฐๅขž(ๅค–่ง‚)๏ผšๅฐ†็•Œ้ข็ผฉๆ”พ็บงHigh4/19/2026
v0.8.9# Release version 0.8.9 - feat(process): comprehensive cross-platform Node.js path discovery, supporting 9 version managers (nvm, nvm-windows, fnm, volta, asdf, mise, n, Homebrew, Scoop) across macOS, Linux, and Windows for reliable agent preflight. - fix(process): use semver-aware sorting for Node.js version selection to prevent older versions being chosen over newer ones (e.g. v20.9 incorrectly ranked above v20.11). - fix(process): harden Node.js path discovery for production readiness with iHigh4/16/2026
v0.8.6# Release version 0.8.6 - feat(folder): improve folder workspace stability by unifying state streaming for the file tree and Git panels. - fix(folder): prevent stale file-watch subscriptions in aux panels and keep mobile sidebars closed on initial load. - fix(folder): add conversation actions to the sidebar blank-space context menu and align the file workspace tab bar height. - feat(acp): send a system notification when an agent requests permission approval while the app window is not visible. High4/14/2026
v0.8.5# Release version 0.8.5 - perf(frontend): optimize ACP tool call output handling to reduce CPU and memory pressure. - perf(file-watch): increase debounce and batch window to reduce event pressure. - fix(windows): normalize Windows file paths with leading slash and add i18n to link safety dialog. - fix(macos): detect untracked file deletion via Finder as remove event. - fix(macos): update traffic-light Y position. ----------------------------- # ๅ‘ๅธƒ็‰ˆๆœฌ 0.8.5 - ๆ€ง่ƒฝ(ๅ‰็ซฏ)๏ผšไผ˜ๅŒ– ACP ๅทฅๅ…ท่ฐƒ็”จ่พ“ๅ‡บๅค„็†๏ผŒ้™ไฝŽ CPU ๅ’Œๅ†…ๅญ˜ๅŽ‹ๅŠ›๏ผ›High4/13/2026
v0.8.0# Release version 0.8.0 - feat(appearance): add theme color picker with 11 shadcn presets, zoom level selector, and reset button. - feat(appearance): add AppearanceProvider with FOUC prevention script to persist theme across reloads. - fix(settings): default settings panel to appearance section instead of system. ----------------------------- # ๅ‘ๅธƒ็‰ˆๆœฌ 0.8.0 - ๆ–ฐๅขž(ๅค–่ง‚)๏ผšๆทปๅŠ ไธป้ข˜่‰ฒ้€‰ๆ‹ฉๅ™จ๏ผˆๅ†…็ฝฎ 11 ็ง shadcn ้ข„่ฎพ๏ผ‰ใ€็ผฉๆ”พ็บงๅˆซ้€‰ๆ‹ฉๅ™จๅ’Œ้‡็ฝฎๆŒ‰้’ฎ๏ผ› - ๆ–ฐๅขž(ๅค–่ง‚)๏ผšๆทปๅŠ  AppearanceProvider ๅ’Œ้˜ฒ้—ช็ƒ๏ผˆFOUC๏ผ‰ๅ†…่”่„šๆœฌ๏ผŒๆŒไน…ๅŒ–ไธป้ข˜้…็ฝฎ๏ผ› - ไฟฎๅค(่ฎพ็ฝฎ)๏ผšๆ‰“ๅผ€่ฎพ็ฝฎ้ขๆฟๆ—ถ้ป˜่ฎค่ฟ›ๅ…ฅ"ๅค–่ง‚"ๅˆ†ๅŒบ่€Œ้ž"็ณป็ปŸ"ใ€‚High4/11/2026
v0.6.11# Release version 0.6.11 - fix: override Python monarch tokenizer to fix triple-quoted string highlighting. - fix: add KaTeX CSS and normalize LaTeX math delimiters for proper formula rendering. - chore: bump ACP agent SDK (Claude Code, OpenCode) versions in registry. ----------------------------- # ๅ‘ๅธƒ็‰ˆๆœฌ 0.6.11 - ไฟฎๅค๏ผš่ฆ†็›– Python monarch ๅˆ†่ฏๅ™จ๏ผŒไฟฎๅคไธ‰ๅผ•ๅทๅญ—็ฌฆไธฒ้ซ˜ไบฎๆ˜พ็คบ้—ฎ้ข˜๏ผ› - ไฟฎๅค๏ผšๆทปๅŠ  KaTeX CSS ๅนถ่ง„่ŒƒๅŒ– LaTeX ๆ•ฐๅญฆๅ…ฌๅผๅˆ†้š”็ฌฆ๏ผŒไฟฎๅคๅ…ฌๅผๆธฒๆŸ“๏ผ› - ็ปดๆŠค๏ผšๆ›ดๆ–ฐ ACP ไปฃ็† SDK๏ผˆClaude Codeใ€OpenCode๏ผ‰ๆณจๅ†Œ่กจ็‰ˆๆœฌใ€‚High4/8/2026

Dependencies & License Audit

Loading dependencies...

Similar Packages

voratiqAgent ensembles to design, generate, and select the best code for every task.main@2026-04-21
vibekitRun Claude Code, Gemini, Codex โ€” or any coding agent โ€” in a clean, isolated sandbox with sensitive data redaction and observability baked in.@vibe-kit/sdk@0.0.57
claude-code-safety-net๐Ÿ›ก๏ธ Enhance code safety with Claude Code Safety Net, a tool designed to identify and mitigate risks in your codebase effectively.main@2026-04-21
crab-code๐Ÿฆ€ Open-source alternative to Claude Code, built from scratch in Rust. Agentic coding CLI โ€” thinks, plans, and executes with any LLM. Compatible with Claude Code workflows.main@2026-04-21
mcp-gatewayManage and debug local Model Context Protocol servers with an easy desktop app that auto-discovers and monitors MCP instances.main@2026-04-21