| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This is the unleashlive fork of opencode. It adds Collab Sessions — real-time multi-user AI coding sessions where your whole team shares one LLM context, with role-based participation and a shared prompt queue.
Our differentiator: a team of humans sharing one LLM context, with frictionless web onboarding.
Upstream opencode docs and install instructions are preserved below.
A Collab Session lets two or more developers share a single opencode session — same conversation, same codebase, same LLM context. One person drives, others contribute or watch.
The server runs on one machine. Everyone else joins in their browser — no install required for collaborators.
┌────────────────────┬──────────────────────────────────────────┐ │ Collab panel │ Conversation (opencode) │ │ │ ┌────────────────────────────────────┐ │ │ • Participants │ │ ⌘ hamburger → collab sessions │ │ │ • Pulsing dots │ ├────────────────────────────────────┤ │ │ next to who │ │ │ │ │ is typing │ │ LLM conversation thread │ │ │ • Pending queue │ │ │ │ │ • Vote / approve │ ├────────────────────────────────────┤ │ │ • Session list │ │ Prompt input (full opencode UX: │ │ │ with X delete │ │ ⌘P palette, /, @, attachments, │ │ │ │ │ history, model + agent pickers) │ │ │ │ └────────────────────────────────────┘ │ └────────────────────┴──────────────────────────────────────────┘
The prompt input lives on the right (full opencode editor with every shortcut). When you submit, it is routed through the collab queue — so Contributor prompts wait for a Driver to approve, while Driver prompts in FIFO mode dispatch instantly to the LLM. The left panel shows the queue, participants (with pulsing dots when they're typing), and lets you switch between sessions or delete them.
You need: a browser and a GitHub account in the unleashlive org. Nothing else.
https://corrosive-cola-chalice.ngrok-free.dev/collab/invite/abc123xyz
That's it. No Docker, no API keys, no local setup.
The server is running at: https://corrosive-cola-chalice.ngrok-free.dev
The editor on the right is the full opencode prompt input. Inside it:
| Shortcut | Action |
|---|---|
| ⌘P / Ctrl-P | Command palette |
| / | Slash command popover (mode, agent, model commands) |
| @ | Mention files or agents |
| ⌘↵ / Ctrl-↵ | Send |
| ⌘U / Ctrl-U | Attach a file |
| Drag/drop | Drop files or images into the editor |
| ↑ / ↓ | Cycle through prompt history |
The model picker, agent selector and mode/variant dropdowns at the bottom of the editor stay editable in collab mode — whatever you have selected when a prompt is dispatched is what the LLM uses.
Your browser ──── HTTPS ──── ngrok tunnel ──── Docker (localhost:4096)
│
opencode server
+ collab router
+ GitHub OAuth
+ Claude LLM (server-side)
Collaborative-Commit: true Collab-Session: Drone API refactor Collab-Session-Id: cs_45d8a93d... Collab-Repo: unleashlive/backend Collab-Branch: collab/drone-api-refactor-bd3a63
Workspaces live inside the collab-workspaces Docker volume at /var/opencode/workspaces/<collabSessionId>/<repoName>/. Quick ways to inspect them:
# List all live sessions
docker exec opencode-opencode-1 ls /var/opencode/workspaces/
# Drop into a repo's shell
docker exec -it opencode-opencode-1 bash -c \
'cd /var/opencode/workspaces/cs_<id>/<repoName> && exec bash'
# Or just check git status from the host
docker exec opencode-opencode-1 \
git -C /var/opencode/workspaces/cs_<id>/<repoName> statusInside the iframe the terminal panel is already cwd'd inside the cloned repo — git status / git log / git diff work directly there. The file tree on the left of the iframe shows that same repo.
Want to run this for a different org, or deploy to EC2?
git clone https://github.com/unleashlive/opencode
cd opencode
cp .env.example .env
# Fill in GITHUB_OAUTH_CLIENT_ID, GITHUB_OAUTH_CLIENT_SECRET,
# GITHUB_TOKEN, GITHUB_ORG_NAME, SESSION_SECRET, OPENCODE_BASE_URL
# Export your Claude Code credentials so the server can authenticate to Claude:
security find-generic-password -s "Claude Code-credentials" -w > ~/.claude/.credentials.json
ngrok http 4096 # note your https URL → set as OPENCODE_BASE_URL
docker compose up --build -dAfter source-only changes, rebuild is fast — the Dockerfile uses a multi-stage manifests-only extraction so bun install only re-runs when a package.json or bun.lock actually changes. Force a clean container after a build with:
docker compose up -d --build --force-recreateIf the container reports "Claude Code credentials are unavailable or expired", re-export them from your keychain (running claude on the host refreshes the keychain but doesn't update the bind-mounted file):
rm -f ~/.claude/.credentials.json
security find-generic-password -s "Claude Code-credentials" -w > ~/.claude/.credentials.json
docker compose restart opencodeFull setup details in COLLAB.md.
The open source AI coding agent.
English | 简体中文 | 繁體中文 | 한국어 | Deutsch | Español | Français | Italiano | Dansk | 日本語 | Polski | Русский | Bosanski | العربية | Norsk | Português (Brasil) | ไทย | Türkçe | Українська | বাংলা | Ελληνικά | Tiếng Việt
# YOLO
curl -fsSL https://opencode.ai/install | bash
# Package managers
npm i -g opencode-ai@latest # or bun/pnpm/yarn
scoop install opencode # Windows
choco install opencode # Windows
brew install anomalyco/tap/opencode # macOS and Linux (recommended, always up to date)
brew install opencode # macOS and Linux (official brew formula, updated less)
sudo pacman -S opencode # Arch Linux (Stable)
paru -S opencode-bin # Arch Linux (Latest from AUR)
mise use -g opencode # Any OS
nix run nixpkgs#opencode # or github:anomalyco/opencode for latest dev branchTip
Remove versions older than 0.1.x before installing.
OpenCode is also available as a desktop application. Download directly from the releases page or opencode.ai/download.
| Platform | Download |
|---|---|
| macOS (Apple Silicon) | opencode-desktop-mac-arm64.dmg |
| macOS (Intel) | opencode-desktop-mac-x64.dmg |
| Windows | opencode-desktop-windows-x64.exe |
| Linux | .deb, .rpm, or .AppImage |
# macOS (Homebrew)
brew install --cask opencode-desktop
# Windows (Scoop)
scoop bucket add extras; scoop install extras/opencode-desktopThe install script respects the following priority order for the installation path:
# Examples
OPENCODE_INSTALL_DIR=/usr/local/bin curl -fsSL https://opencode.ai/install | bash
XDG_BIN_DIR=$HOME/.local/bin curl -fsSL https://opencode.ai/install | bashOpenCode includes two built-in agents you can switch between with the Tab key.
Also included is a general subagent for complex searches and multistep tasks. This is used internally and can be invoked using @general in messages.
Learn more about agents.
For more info on how to configure OpenCode, head over to our docs.
If you're interested in contributing to OpenCode, please read our contributing docs before submitting a pull request.
If you are working on a project that's related to OpenCode and is using "opencode" as part of its name, for example "opencode-dashboard" or "opencode-mobile", please add a note to your README to clarify that it is not built by the OpenCode team and is not affiliated with us in any way.
| Back | FazBrowse Home | New Git URL |