# OpenCode Manager Mobile-first web interface for OpenCode AI agents. Manage, control, and code with OpenCode from any device - your phone, tablet, or desktop. Features Git integration, file management, and real-time chat in a responsive PWA. Deploy with Docker for instant setup. View diffs, edit files and much more. ## Features ### Repository Management - **Multi-Repository Support** - Clone and manage multiple git repos/worktrees in local workspaces - **Private Repository Support** - GitHub PAT configuration for cloning private repos - **Worktree Support** - Create and manage Git worktrees for working on multiple branches ### Git Integration - **Git Diff Viewer** - View file changes with unified diff, line numbers, and addition/deletion counts - **Git Status Panel** - See all uncommitted changes (modified, added, deleted, renamed, untracked) - **Branch Switching** - Switch between branches via dropdown - **Branch/Worktree Creation** - Create new branch workspaces from any repository - **Ahead/Behind Tracking** - Shows commits ahead/behind remote - **Push PRs to GitHub** - Create and push pull requests directly from your phone ### File Browser - **Directory Navigation** - Browse files and folders with tree view - **File Search** - Search files within directories - **Syntax Highlighting** - Code preview with syntax highlighting - **File Operations** - Create files/folders, rename, delete - **Drag-and-Drop Upload** - Upload files by dragging into the browser - **Large File Support** - Virtualization for large files - **ZIP Download** - Download repos as ZIP excluding gitignored files ### Chat & Session Features - **Slash Commands** - Built-in commands (`/help`, `/new`, `/models`, `/export`, `/compact`, etc.) - **Custom Commands** - Create custom slash commands with templates - **File Mentions** - Reference files with `@filename` autocomplete - **Plan/Build Mode Toggle** - Switch between read-only and file-change modes - **Mermaid Diagram Support** - Visual diagram rendering in chat messages - **Session Management** - Create, search, delete, and bulk delete sessions - **Real-time Streaming** - Live message streaming with SSE ### AI Model & Provider Configuration - **Model Selection** - Browse and select from available AI models with filtering - **Provider Management** - Configure multiple AI providers with API keys or OAuth - **OAuth Authentication** - Secure OAuth login for supported providers (Anthropic, GitHub Copilot) - **Context Usage Indicator** - Visual progress bar showing token usage - **Agent Configuration** - Create custom agents with system prompts and tool permissions ### MCP Server Management - **MCP Server Configuration** - Add local (command-based) or remote (HTTP) MCP servers - **Server Templates** - Pre-built templates for common MCP servers - **Enable/Disable Servers** - Toggle servers on/off with auto-restart ### Settings & Customization - **Theme Selection** - Dark, Light, or System theme - **Keyboard Shortcuts** - Customizable keyboard shortcuts - **OpenCode Config Editor** - Raw JSON editor for advanced configuration ### Mobile & PWA - **Mobile-First Design** - Responsive UI optimized for mobile use - **PWA Support** - Installable as Progressive Web App - **iOS Keyboard Support** - Proper keyboard handling on iOS - **Enter Key Send** - Press Enter to automatically close keyboard and send messages - **Swipe-to-Navigate** - Swipe right from left edge to navigate back ### Text-to-Speech (TTS) - **Dual Provider Support** - Browser-native Web Speech API + external OpenAI-compatible endpoints - **Browser-Native TTS** - Built-in Web Speech API for instant playback without API keys - **AI Message Playback** - Listen to assistant responses with TTS - **OpenAI-Compatible** - Works with any OpenAI-compatible TTS endpoint - **Voice & Speed Discovery** - Automatic voice detection with caching (1hr TTL) - **Voice & Speed Controls** - Configurable voice selection and playback speed - **Audio Caching** - 24-hour cache with 200MB limit for performance - **Markdown Sanitization** - Filters unreadable symbols for smooth playback - **Floating Controls** - Persistent stop button for audio control - **Custom Endpoints** - Connect to local or self-hosted TTS services ## Screenshots
| Files (Mobile) | Files (Desktop) |
| Chat (Mobile) | Chat (Desktop) |
| Inline Diff View | |