chriswritescode-dev/opencode-manager

A self-hosted command center for OpenCode. Sessions, git, terminal, and schedules in one web app, from your phone or desktop.

OpenCode Manager – Quick Overview

What it is – A self‑hosted web‑app that acts as a personal “command centre” for the OpenCode platform. It bundles together session management, Git integration, a terminal emulator, and a scheduling view, and it can be accessed from both a desktop browser and a phone.

Why it matters – Developers who use OpenCode (an AI‑assisted coding assistant) often need a place to keep their work sessions, version‑control history, and terminal commands organized. OpenCode Manager provides that glue in one locally‑run UI, keeping all data under the user’s control rather than in a cloud service.

Key components

  • Backend – Built with Bun (a fast JavaScript runtime) and Hono (a lightweight web framework). Handles authentication, API endpoints, and persistence.
  • Frontend – A React app bundled with Vite, delivering a responsive interface that works on laptops and phones.
  • Shared library – Types and JSON schemas that keep the front‑ and back‑ends in sync.
  • ocm CLI – A command‑line tool (ocm) for scripting and automating the same actions you can do in the web UI.

How to get started

  1. Install Docker (Compose v2 required).
  2. Run the one‑liner installer:
    curl -fsSL https://opencodemanager.app/install | sh
    
    This spins up the service on http://localhost:5003 and walks you through creating an admin account.
  3. Use the web UI or the ocm CLI to manage sessions, run Git commands, open a terminal, and schedule work.

Development workflow – The repo is a pnpm workspace. Typical commands:

pnpm install   # install all workspace deps
pnpm dev       # start backend + frontend in watch mode
pnpm lint      # run ESLint
pnpm typecheck # TypeScript check
pnpm test      # run the test suite

Detailed setup instructions are in the online docs.

License – MIT, so you’re free to modify and self‑host.


OpenCode Manager is a genuine software project aimed at developers who work with the OpenCode AI coding assistant, providing a locally hosted UI and CLI for session, Git, terminal, and schedule management.

Related

  • Project
  • Project
  • Project
  • Project
  • Project