mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 12:24:30 +01:00
f8e4cfe136d251f49958d6e16322722d9a579907
Settings -> Account gets "Connect a device", a paired-devices list, and a remote access headers editor, so the mobile app and other browsers can sign in without typing a password and pass a reverse proxy such as Cloudflare Access. - one-time pairing codes (3 min TTL) minted by a Better Auth plugin and redeemed into a new session that records the device name - POST /api/device-pairing/links builds the ocm://link app link with the stored headers as h= parameters and a browser /pair link; plain-HTTP and loopback origins are blocked or warned about - remote access headers are stored encrypted, returned by name only, and validated (8 headers, 512-char values, 1800 encoded characters, reserved transport names blocked); a Cloudflare Access service token preset fills CF-Access-Client-Id and CF-Access-Client-Secret - login offers "Sign in with QR code" and /pair redeems a scanned code, returning to the login redirect target - revoking a device deletes its session, closes its live connections and removes its push subscriptions; the current session cannot be revoked
OpenCode Manager
A self-hosted command center for OpenCode. Sessions, git, terminal, and schedules in one web app, on your desktop and your phone.
opencodemanager.app · Docs · Releases
Quick Start
Requires Docker with Compose v2.
curl -fsSL https://opencodemanager.app/install | sh
The installer starts OpenCode Manager on http://localhost:5003 and asks before sharing anything from your machine. Re-run it to update. On first launch you create an admin account.
Requirements, Compose and source installs, and every feature are covered at opencodemanager.app:
Development
This repository is a pnpm workspace: backend/ (Bun + Hono), frontend/ (React + Vite), shared/ (schemas and types) and ocm-cli/ (the ocm CLI).
pnpm install
pnpm dev
pnpm lint
pnpm typecheck
pnpm test
See the Development Guide for setup, scripts, database notes and testing.
License
MIT
Description
No description provided
agentai-agentsai-codingcoding-agentdeveloper-toolsdockerllmmobileopencodepwareactremote-developmentself-hostedterminalweb
Readme
MIT
77 MiB
0 Stars
1 Watchers
0 Forks
Languages
TypeScript
99.5%
Shell
0.3%
CSS
0.1%