Skip to content
Doumy666Public
forked from dengteng/ChatCode

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

English · 简体中文

ChatCode

ChatCode

Chat with an agent, and put it to work building what you've been dreaming up.

ChatCode is a conversational coding client wrapped around a terminal core — light, easy, safe, and capable.
Read files, edit code, run tests, drive Git, execute shell commands — all in one window.

platform license core models

Website · Download for macOS

ChatCode main window

Quick start

Every model runs through the Claude Code CLI (v2+), so they all inherit its full harness of tools. It installs anywhere, including mainland China — the setup screen on first launch has a one-click install (behind the Great Firewall it detects that and switches to the npmmirror registry automatically).

claude --version   # already installed? this prints v2.x

Coding with a Claude model goes through subscription OAuth, so there's no API key to fill in. For any other model, set its API key under Settings → Models, and you can switch models mid-session at any time.

Features

One input box for everything

The reach of terminal commands with the comfort of a real UI.

  • ! runs shell, @ finds files, / sends commands, # picks a Skill, ↑ recalls the previous message — your terminal habits carry over unchanged
  • Paste images and quote messages inline with your text: compact, and tightly tied to what you're asking about
  • Don't want to sit and wait? Queue up to 3 messages — the agent works through them in order once it finishes what it's on

Multi-model support

Claude runs on subscription OAuth; everything else connects directly over Anthropic-compatible endpoints, sharing the same powerful Claude harness.

  • Nine models, switchable anytime, with multiple agents genuinely running in parallel
  • One independent query per session — nothing blocks anything else
  • Connect GitHub and SSH: local development and remote deployment from a single page

Project drawer

A drawer on the right side of each project: Branches, Files, Memory, Activity.

  • Branches — inspect the staging area and commit graph, push/pull in one click, let AI write the commit message
  • Activity — the processes and ports this session started; stop them the moment you're done
  • Files and memory can be viewed and edited in place, without leaving the project

Stays out of your way

It interrupts you for the calls that are actually yours to make, and handles the rest on its own.

  • Turn on auto-approve and a task runs start to finish without round trips
  • Context, 5-hour and weekly usage, and reset times live in the status bar — no token goes to waste
  • Every turn logs its duration, token spend, and cache hits

Fast and personal

A native Tauri window, not another Electron shell.

  • Cold start in a second or two
  • Tens of megabytes resident — write all day on battery without your lap getting hot
  • Five themes, or drop in a wallpaper and let it pick the palette for you

Skills · Plugins · MCP

The plugin system stays in sync with Claude Code, plus a built-in marketplace.

  • Search and install from the marketplace; disable temporarily or uninstall for good, all in one place
  • Annotate each entry so a crowded list still tells you what everything does
  • The agent reports which memories it saved or cited and which Skills it used
  • Type # in a session to pull up your Skills — each one shows the note you gave it, so a long list never becomes a guessing game

Interface

One window, and a lot inside it. Built for solo vibe coding or a small team.

Expand all 9 screenshots

Branch management — AI-written commit messages; manage the staging area, local and remote branches, and the commit graph right from the sidebar

Activity — see which processes a session started and which ports they hold, then stop them in one click; essential for local debugging

@ file references — @ opens a project-wide search; type a fragment to match files and show the AI exactly what you want changed

Images and quotes — paste images into the input box and quote earlier messages; inline rendering keeps the prompt tightly focused

Multi-model — Claude over subscription OAuth, everything else over Anthropic-compatible direct connections; add a key and switch anytime

Plugins · MCP · Skills — one place to search, install, disable, uninstall, and annotate

Themes — five color schemes, plus a custom background image with automatic palette extraction

Quick actions — URLs and file paths are parsed out for you: copy, open, or jump to the directory

Architecture

Deliberately small: one native window plus one local core. Your keys and your code never leave your machine.

ChatCode system architecture

Tauri webview (React + TypeScript)
        │ ws://127.0.0.1
Node sidecar (sidecar/server.mjs)
        │ @anthropic-ai/claude-agent-sdk (spawns the claude CLI, stream-json)
Claude Code harness (tools / permissions / hooks / MCP / sessions)

Session data is persisted under ~/.ChatCode/ (older ~/.chat-code/ installs are moved there automatically).

Security

  • Direct connections to official endpoints, with no baseUrl rewriting — closing off a prompt-injection vector
  • API keys stay on your machine with 0600 file permissions; nothing is uploaded, and no other process can read them
  • Claude needs no API key at all — it's built entirely on the CLI

Running from source

npm install
npm run dev        # starts sidecar + vite together; open http://localhost:5173
npm run tauri dev  # or run the Tauri window (the first Rust build is slow)

Feedback

Bug reports, feature requests, or just wanting to build something together — all welcome.

  • Issues usually get a reply within a day. Open an issue
  • Contact the author: dengteng2025@gmail.com
  • Author's homepage: https://dengteng.xyz
  • Other projects: Luna — a calendar, schedule, and fortune widget that lives in the Mac menu bar, with screenshots, screen recording, window management, quick web links, translation, currency conversion and more; best of all, it's under 5 MB and free

License

MIT

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages