Sandbox
@spacecake-labs/spacecake

Desktop app for Claude Code with terminal and editor

Spacecake is a desktop workspace for Claude Code that puts a terminal, markdown editor, git tools, and task panels together. It also adds Claude Code-specific integration like plan mode, file context, live status, and opening files from the agent.

373 stars16 forksTypeScriptUpdated 4mo ago
Who it's for

Builders who want Claude Code and other CLI agents in a visual workspace instead of a plain terminal.

What it delivers

You can run agents, edit specs, and follow live task progress without switching between separate tools.

What it does

Integrated terminal

Runs Ghostty inside the app with multi-tab support and dockable placement on the left, right, or bottom.

Claude Code integration

Shows the current file and line, enables plan mode by default, adds a live status line, and lets Claude open files in the editor.

Markdown editor

Supports code blocks, slash commands, frontmatter, checklists, diagrams, WYSIWYG mode, live preview, and wikilinks.

Git panel

Shows changes, diffs, commits, branches, sync actions, stash controls, history, merge conflict handling, clone, init, and GitHub links.

Tasks panel

Tracks live Claude Code tasks from the active session with filters and sortable columns.

Search and file editing

Provides find in file, workspace search with ripgrep, autosave, code folding, linting, and keyboard shortcuts.

README

spacecake

spacecake is an open-source desktop app for Claude Code.
It combines an integrated terminal, visual markdown editor, and live task tracking.
You can run agents, write specs, and see what's happening in one place.

For full documentation, visit spacecake.ai.

ℹ️ spacecake is in public alpha. If you find any bugs, please open an issue in this repo or join us on Discord.

🚀 getting started

Download an installer for your platform from the latest release:

  • macOS: Download the .dmg file (arm64 for Apple Silicon, x64 for Intel)
  • Windows: Download the .exe installer
  • Linux: Download the .deb file (for Debian-based distributions like Ubuntu) or .AppImage for other distros
  • macOS (ZIP): Download the .zip file for manual installation

linux & windows users: for best file watching performance, install watchman. spacecake will show a tip in the status bar recommending this.

On first launch, spacecake opens the home folder (~/.spacecake) for general notes.
Press ⌘O (macOS) or ctrl+O (Windows/Linux) to open your project as a workspace.

📖 markdown features

  • proper code blocks with syntax highlighting and your favourite keyboard shortcuts (ctrl+D, anyone?)
  • slash command menu (/) for inserting code blocks, headings, frontmatter, and more
  • frontmatter support with table and code view modes
  • checklists and badges for agent execution plans
  • diagrams with mermaid
  • WYSIWYG and 'live preview' modes
  • wikilinks ([[page name]]) for linking between workspace files, with heading and block anchors
  • URL links for external resources

🖥️ integrated terminal

spacecake comes with Ghostty terminal embedded.

  • run your favourite CLI agents (Claude Code, Codex, Gemini)
  • go beyond vibe-coding with Spec Kit
  • multi-tab support (⌘T / ctrl+T to open, ctrl+Tab to cycle)
  • dockable left, right, or bottom

Claude Code integration

spacecake provides deep integration with Claude Code:

  • context awareness: tells Claude which file and line you're editing
  • plan mode: enabled by default when running in the spacecake terminal
  • status line: auto-configured on first launch, shows live metrics (model, context %, cost)
  • plans panel: press ctrl+G to view and manage plans
  • open files: Claude can open files directly in the editor and wait for you to save and close before continuing

See the Claude Code integration docs for more details.

🔀 git

built-in git integration with a dockable panel:

  • changes: view modified, staged, and untracked files with inline diffs
  • commit: select files, write a message, and commit (with amend support)
  • branches: create, switch, and delete branches from a popover
  • sync: fetch, pull, and push with ahead/behind indicators
  • stash: quick stash, pop, and drop
  • history: browse recent commits and view per-commit diffs
  • merge conflicts: dedicated conflict editor for resolving conflicts
  • clone / init: clone a repo (⌘⇧C) or initialise a new one from the menu bar
  • GitHub: links to view on GitHub and create pull requests

📋 tasks

the tasks panel shows live Claude Code tasks from the active session, with status filters and sortable columns.
dock it left, right, or bottom alongside the terminal and git panels.

🧑‍💻 code-editing features

spacecake uses CodeMirror internally to provide a rich code-editing experience:

  • syntax highlighting
  • autocompletion
  • bracket closing
  • code folding
  • linting
  • the usual keyboard shortcuts

🔍 search

  • find in file (⌘F / ctrl+F) — search within the current file with match highlighting, navigation, and case/word/regex toggles
  • find in workspace (⌘⇧F / ctrl+shift+F) — ripgrep-powered search across all files, with file include/exclude filters and results grouped by file

⚙️ other features

  • autosave: auto-save files on edit (enable in workspace settings)
  • light / dark mode: toggle from the status bar

keyboard shortcuts

shortcutaction
⌘Oopen workspace
⌘Pquick open file
⌘Ffind in file
⌘⇧Ffind in workspace
⌘Nnew file
⌘1focus editor
⌘Btoggle sidebar
⌘Wclose tab
⌘Ssave file
⌘⇧Ssave all files
ctrl+`toggle terminal
⌘Tnew terminal tab
ctrl+Gopen plans

See the full keyboard shortcuts list for more.

🛠️ building from source

want to contribute or build spacecake yourself? see CONTRIBUTING.md for prerequisites and setup instructions.

📦 project structure

This is a monorepo:

folderdescription
spacecake-app/desktop app
website/landing page & docs (spacecake.ai)
cli/command-line tool

📋 changelog

See the desktop app changelog for a list of releases and changes.

Star History

Star History ChartStar History Chart

Product Hunt

spacecake - Run Claude Code agents in terminal with a visual editor | Product Hunt

Files in the repo

Repository payload10 top-level entries
  • .devcontainer
  • .github
  • cli
  • spacecake-app
  • website
  • .gitattributes
  • .gitignore
  • CONTRIBUTING.md
  • LICENSE
  • README.md

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More tools

JuliusBrussee/
caveman

🪨 why use many token when few token do trick — Claude Code skill that cuts 65% of tokens by talking like caveman

105k
1 add
MemPalace/
mempalace

The best-benchmarked open-source AI memory system. And it's free.

59k
stablyai/
orca

Orca is the ADE for working with a fleet of parallel agents. Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.

66k

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

132k

Never stop coding. Free MIT AI gateway: one endpoint, 352 providers (150+ free), 1200+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 550+ contributors

64k
headroomlabs-ai/
headroom

Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.

71k