{"id":48531431,"url":"https://github.com/skydiver/ghostcode","last_synced_at":"2026-04-26T04:01:28.721Z","repository":{"id":349870172,"uuid":"1199166196","full_name":"skydiver/GhostCode","owner":"skydiver","description":"macOS AI coding terminal manager based on Ghostty","archived":false,"fork":false,"pushed_at":"2026-04-07T22:10:39.000Z","size":70644,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"GhostCode","last_synced_at":"2026-04-08T00:06:53.413Z","etag":null,"topics":["ai-coding","claude-code","codex","ghostty","macos","opencode","swiftui","terminal","terminal-emulator"],"latest_commit_sha":null,"homepage":"","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skydiver.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-02T05:23:23.000Z","updated_at":"2026-04-07T22:07:20.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/skydiver/GhostCode","commit_stats":null,"previous_names":["skydiver/ghostcode"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/skydiver/GhostCode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skydiver%2FGhostCode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skydiver%2FGhostCode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skydiver%2FGhostCode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skydiver%2FGhostCode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skydiver","download_url":"https://codeload.github.com/skydiver/GhostCode/tar.gz/refs/heads/GhostCode","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skydiver%2FGhostCode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32285283,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T18:29:39.964Z","status":"online","status_checked_at":"2026-04-26T02:00:05.962Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-coding","claude-code","codex","ghostty","macos","opencode","swiftui","terminal","terminal-emulator"],"created_at":"2026-04-08T00:01:29.181Z","updated_at":"2026-04-26T04:01:28.715Z","avatar_url":"https://github.com/skydiver.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003e\n\u003cp align=\"center\"\u003e\n  GhostCode\n  \u003cbr\u003e\n  \u003csub\u003emacOS AI coding terminal manager based on Ghostty\u003c/sub\u003e\n\u003c/p\u003e\n\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#about\"\u003eAbout\u003c/a\u003e\n  ·\n  \u003ca href=\"#features\"\u003eFeatures\u003c/a\u003e\n  ·\n  \u003ca href=\"#install\"\u003eInstall\u003c/a\u003e\n  ·\n  \u003ca href=\"#building\"\u003eBuilding\u003c/a\u003e\n  ·\n  \u003ca href=\"#license-and-attribution\"\u003eLicense\u003c/a\u003e\n\u003c/p\u003e\n\n\u003e [!IMPORTANT]\n\u003e **GhostCode is an independent, unofficial fork of [Ghostty](https://github.com/ghostty-org/ghostty) v1.3.1.**\n\u003e\n\u003e All terminal emulation is provided by Ghostty's core engine. GhostCode adds a SwiftUI application layer on top for AI coding workflows. It does not track upstream Ghostty changes.\n\u003e\n\u003e GhostCode is **not affiliated with, endorsed by, or supported by** the Ghostty project or Mitchell Hashimoto. The original Ghostty source code is licensed under the MIT License — Copyright (c) 2024 Mitchell Hashimoto, Ghostty contributors.\n\n## About\n\nGhostCode is a macOS-native application that wraps [Ghostty's](https://ghostty.org) terminal engine in a purpose-built interface for AI-assisted coding workflows. It provides a three-panel layout — project sidebar, terminal, and command palette — designed around managing multiple projects where each runs an AI coding assistant.\n\nRather than being a general-purpose terminal emulator, GhostCode is opinionated: it launches AI CLI tools ([Claude Code](https://docs.anthropic.com/en/docs/claude-code), [Codex](https://github.com/openai/codex), or [OpenCode](https://github.com/opencode-ai/opencode)) inside Ghostty-powered terminals, with project-aware context and quick-access commands alongside them.\n\nGhostCode is **macOS only**, built entirely with SwiftUI and AppKit.\n\n## Install\n\nDownload the latest universal binary from the [Releases](https://github.com/skydiver/GhostCode/releases) page.\n\n**The app is signed and notarized by Apple** — you can run it immediately without Gatekeeper warnings.\n\n1. Download `GhostCode-\u003cversion\u003e-universal.zip`\n2. Unzip and drag `GhostCode.app` to your Applications folder\n3. Launch GhostCode\n\nRequires macOS 13.0 or later. Runs natively on both Apple Silicon and Intel Macs.\n\n## Screenshots\n\n|                                                                                             |                                                                                           |\n| ------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |\n| [![Splash screen](.assets/screenshot-splash.png)](.assets/screenshot-splash.png)            | [![Project landing page](.assets/screenshot-landing.png)](.assets/screenshot-landing.png) |\n| Splash screen with project list and command palette                                         | Project landing page with binary picker                                                   |\n| [![Claude Code terminal](.assets/screenshot-terminal.png)](.assets/screenshot-terminal.png) | [![OpenCode terminal](.assets/screenshot-opencode.png)](.assets/screenshot-opencode.png)  |\n| Active Claude Code session                                                                  | OpenCode session with command palette                                                     |\n\n## Features\n\n### Project Management\n\n- Project list with live git status — branch name, dirty state, ahead/behind counts\n- Per-project AI binary preference (Claude Code, Codex, or OpenCode)\n- Project landing page showing session count and last-used date\n- \"Open With\" context menu integration (VS Code, Tower)\n\n### Terminal Sessions\n\n- Powered by Ghostty's terminal engine (`libghostty`)\n- Multiple tabs per project (AI and shell) with standard macOS keyboard shortcuts\n- Session resume support for Claude Code (`--continue`)\n- Background session indicators (active/inactive/visible state tracking)\n- Terminal exit detection with automatic return to landing page\n\n### Command Palette\n\n- Configurable command buttons defined in JSONC\n- Flow and list layout modes with section headers\n- File watcher — auto-reloads on save, no restart needed\n- Tooltip support on command buttons\n\n### Configuration\n\nAll configuration lives in `~/.config/ghostcode/`:\n\n| File             | Purpose                                               |\n| ---------------- | ----------------------------------------------------- |\n| `config`         | Terminal settings, layered on top of Ghostty defaults |\n| `projects.jsonc` | Project directory list                                |\n| `commands.jsonc` | Command palette buttons and sections                  |\n\nJSONC (JSON with Comments) is supported across all config files.\n\n## Supported Binaries\n\n| Binary      | Resume Session     | Session Info |\n| ----------- | ------------------ | ------------ |\n| Claude Code | Yes (`--continue`) | Yes          |\n| Codex       | —                  | —            |\n| OpenCode    | —                  | —            |\n\n## Building\n\nGhostCode requires building the Ghostty core (Zig) and then the macOS app (Xcode).\n\n1. **Build the Ghostty core** — follow the instructions in [HACKING.md](HACKING.md) to set up the Zig toolchain and build `libghostty`.\n2. **Build the macOS app** — open `macos/Ghostty.xcodeproj` in Xcode and build the **GhostCode** scheme.\n\nThe bundle identifier is `com.flydev.ghostcode`, so GhostCode can be installed alongside Ghostty without conflict.\n\n## License and Attribution\n\nGhostCode is a derivative work of [Ghostty](https://github.com/ghostty-org/ghostty), distributed under the **MIT License**.\n\nThe original Ghostty source code and its copyright belong to its authors:\n\n\u003e Copyright (c) 2024 Mitchell Hashimoto, Ghostty contributors\n\nSee the [LICENSE](LICENSE) file for the full license text.\n\nGhostCode is **not affiliated with, endorsed by, or supported by** the Ghostty project, Mitchell Hashimoto, or any Ghostty contributors. Any issues with GhostCode should be directed to the [GhostCode repository](https://github.com/skydiver/GhostCode), not to the upstream Ghostty project.\n\n## Acknowledgments\n\nGhostCode exists because of the excellent work by [Mitchell Hashimoto](https://mitchellh.com) and the [Ghostty contributors](https://github.com/ghostty-org/ghostty). Thank you for building a fast, native, and well-architected terminal emulator.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskydiver%2Fghostcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskydiver%2Fghostcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskydiver%2Fghostcode/lists"}