Skip to main content
Disclaimer: This is a personal project and is not related to the official OpenCode team. OpenCode Portal is a community-built interface for interacting with OpenCode instances.

What is OpenCode Portal?

OpenCode Portal is a mobile-first web UI for OpenCode, the AI coding agent. While OpenCode comes with an official web interface, it’s currently under development and has limited mobile support. Portal bridges this gap by providing a responsive, touch-optimized interface you can access from any device. Whether you’re on your phone, tablet, or desktop, Portal gives you full control over your OpenCode sessions with an interface designed for the modern web.

Key features

Mobile-first design

Fully responsive interface optimized for touch interactions and small screens

Session management

Create, view, and manage multiple OpenCode sessions with real-time chat

File mentions

Reference files using @filename syntax with autocomplete powered by fuzzy search

Git integration

View unified diffs with syntax highlighting and file-by-file changes

Multi-instance support

Connect to multiple OpenCode instances across different projects

Model selection

Switch between AI models and providers on the fly

How it works

OpenCode Portal connects to a running OpenCode server via the OpenCode SDK. The portal provides a web interface that communicates with your local or remote OpenCode instance. You can run Portal locally alongside OpenCode, or deploy it to a server and access it remotely via VPN (like Tailscale) for secure mobile access.

Use cases

Remote coding from mobile

Deploy Portal and OpenCode on a VPS, then connect securely via Tailscale or another VPN. Now you can review changes, chat with your AI assistant, and manage sessions from your phone or tablet.
[Your Phone] ---(Tailscale)---> [VPS running Portal + OpenCode]

Multi-project workflows

Run OpenCode instances across multiple projects and switch between them seamlessly. Portal’s instance manager shows all running instances with their ports and directories.

Collaborative sessions

Share your Portal URL with team members (over a secure network) to let them view sessions, inspect diffs, and collaborate on AI-assisted development.

Tech stack

Portal is built with modern web technologies:

Next steps

Quickstart

Get started in under 5 minutes

GitHub Repository

View source code and contribute

OpenCode Docs

Learn more about OpenCode

Discord Community

Join the community

Build docs developers (and LLMs) love