{"id":47669535,"url":"https://github.com/cfal/garcon","last_synced_at":"2026-04-02T12:27:32.775Z","repository":{"id":344714221,"uuid":"1164789912","full_name":"cfal/garcon","owner":"cfal","description":"Garcon is a coding workspace for Claude Code, Codex, OpenCode, and Amp.","archived":false,"fork":false,"pushed_at":"2026-03-25T09:07:29.000Z","size":3812,"stargazers_count":6,"open_issues_count":21,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-25T14:33:00.026Z","etag":null,"topics":["ampcode","claude-code","codex","git-workflow","opencode"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cfal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-02-23T13:42:57.000Z","updated_at":"2026-03-25T09:07:53.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/cfal/garcon","commit_stats":null,"previous_names":["cfal/garcon"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/cfal/garcon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfal%2Fgarcon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfal%2Fgarcon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfal%2Fgarcon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfal%2Fgarcon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cfal","download_url":"https://codeload.github.com/cfal/garcon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfal%2Fgarcon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31306032,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T09:48:21.550Z","status":"ssl_error","status_checked_at":"2026-04-02T09:48:19.196Z","response_time":89,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ampcode","claude-code","codex","git-workflow","opencode"],"created_at":"2026-04-02T12:27:32.023Z","updated_at":"2026-04-02T12:27:32.759Z","avatar_url":"https://github.com/cfal.png","language":"TypeScript","readme":"# Garcon\n\nGarcon is a coding workspace for Claude Code, Codex, OpenCode, and Amp.\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"screenshots/main-screen.png\"\u003e\n        \u003cimg src=\"screenshots/main-screen.png\" alt=\"Garcon main workspace\" width=\"200\" /\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"screenshots/git-screen.png\"\u003e\n        \u003cimg src=\"screenshots/git-screen.png\" alt=\"Garcon git panel\" width=\"200\" /\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"screenshots/main-screen-mobile.png\"\u003e\n        \u003cimg src=\"screenshots/main-screen-mobile.png\" alt=\"Garcon mobile layout\" width=\"70\" /\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"screenshots/main-screen-dark.png\"\u003e\n        \u003cimg src=\"screenshots/main-screen-dark.png\" alt=\"Garcon main workspace in dark theme\" width=\"200\" /\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003cem\u003eMain workspace\u003c/em\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003cem\u003eBuilt-in Git workbench\u003c/em\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003cem\u003eMobile layout\u003c/em\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003cem\u003eMain workspace (dark theme)\u003c/em\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n## Capabilities\n\n- Multi-provider chat sessions (`claude`, `codex`, `opencode`) with per-chat model selection\n- Unified coding workspace tabs: chat, files, terminal, and git\n- Full Git workbench: status, diff, staging/hunks, branches, history, commit/push/pull/fetch, worktrees, revert\n- Persistent chat history with pin/archive/reorder/read-state/fork operations\n- Per-chat message queueing (enqueue, pause, resume, clear) with recovery after restart\n- File workspace: tree/list/browse, text editing, binary/image viewing, and image upload for prompts\n- Built-in terminal tab (PTY over WebSocket) with reconnectable sessions\n- Configurable project access boundary for filesystem safety\n\n## Architecture\n\n- `web/`: SvelteKit frontend (chat, files, shell, git panels)\n- `server/`: Bun server + WebSocket orchestration + provider adapters\n- `common/`: shared WS contracts and chat/event types\n\n## Requirements\n\n- [Bun](https://bun.sh/)\n- At least one agent backend:\n  - Claude CLI (`claude`) and local Claude auth\n  - Codex auth (`~/.codex/auth.json`) or `OPENAI_API_KEY`\n  - OpenCode provider keys/config (through OpenCode SDK)\n\n## Quick Start\n\n```bash\ngit clone https://github.com/cfal/garcon.git\ncd garcon\nbun run install\nbun run start\n```\n\nDefault URL: `http://127.0.0.1:8080` (override with `GARCON_PORT` or `--port`)\n\nOn first launch, create the single local account at `/setup`, then configure providers in Settings.\nIf you start the server with auth disabled, onboarding/login is skipped and you enter the app directly.\n\n## Run and Configuration\n\n### CLI\n\n```bash\nbun run start --port 8080 --bind-address 127.0.0.1 --project-base-dir /path/to/repos\n```\n\nDisable auth at startup (requires server restart to change):\n\n```bash\nbun run start -- --disable-auth\n# or GARCON_DISABLE_AUTH=true bun run start\n```\n\nRun `bun run help` to see all flags and supported environment variables.\n\n### Build Executable\n\nBuild a standalone Bun executable (server + embedded static frontend assets):\n\n```bash\nbun run build-exe\n```\n\nThis command runs checks/tests, builds `web/build`, compiles `dist/garcon`, and runs a smoke test against the executable.\n\nAt server startup, static assets are served from embedded assets when `Bun.embeddedFiles` is non-empty.\nOtherwise the server reads from `web/build`.\n\n### Docker\n\nDocker Hub images are published periodically but may lag behind the latest commits.\nFor the most up-to-date version, build the image locally with `docker compose build` (see the Docker Compose section below).\n\nTest with Docker Hub image:\n\n```bash\ndocker run -d \\\n  --name garcon \\\n  --init \\\n  --restart unless-stopped \\\n  -p 8080:8080 \\\n  -e GARCON_PORT=8080 \\\n  -e GARCON_BIND_ADDRESS=0.0.0.0 \\\n  -e GARCON_PROJECT_BASE_DIR=/projects \\\n  -e OPENAI_API_KEY=\"${OPENAI_API_KEY:-}\" \\\n  -v garcon-data:/home/garcon/.garcon \\\n  -v \"$HOME/repos\":/projects \\\n  -v \"$HOME/.claude\":/home/garcon/.claude \\\n  -v \"$HOME/.codex\":/home/garcon/.codex \\\n  -v \"$HOME/.opencode\":/home/garcon/.opencode \\\n  -v \"$HOME/.opencode/opencode-data\":/home/garcon/.local/share/opencode \\\n  -v \"$HOME/.opencode/opencode-state\":/home/garcon/.local/state/opencode \\\n  -v \"$HOME/.opencode/opencode-cache\":/home/garcon/.local/cache/opencode \\\n  -v \"$HOME/.amp\":/home/garcon/.amp \\\n  garconide/garcon:latest\n```\n\nRun with Docker Compose (builds local image):\n\n```bash\nGARCON_PROJECT_DIR=~/repos docker compose up -d\n```\n\nCustom port:\n\n```bash\nGARCON_PROJECT_DIR=~/repos GARCON_PORT=3000 docker compose up -d\n```\n\nSet `GARCON_PROJECT_DIR` (compose) or the `/projects` bind mount (`docker run`) to the directory containing your repos. Pass any API keys (e.g. `OPENAI_API_KEY`) as needed. Config is persisted in `garcon-data`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcfal%2Fgarcon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcfal%2Fgarcon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcfal%2Fgarcon/lists"}