https://github.com/bjesus/opencode-gtk
A modern GNOME/GTK/Adwaita interface for OpenCode
https://github.com/bjesus/opencode-gtk
Last synced: 4 months ago
JSON representation
A modern GNOME/GTK/Adwaita interface for OpenCode
- Host: GitHub
- URL: https://github.com/bjesus/opencode-gtk
- Owner: bjesus
- Created: 2025-10-18T20:45:36.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-10-18T21:21:08.000Z (9 months ago)
- Last Synced: 2026-02-18T00:21:25.646Z (5 months ago)
- Language: Rust
- Size: 43.9 KB
- Stars: 5
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OpenCode GTK
A modern GTK4/libadwaita desktop client for OpenCode.

## Features
- Session management (create, list, delete, fork, rename)
- Real-time chat with streaming responses via SSE
- Model and Agent selector
- Show message information like tokens count, costs etc
- Responsive interface
## Prerequisites
You need to have [OpenCode](https://github.com/sst/opencode) installed and configured before using this client.
## Installation
Download the latest binary from the [releases page](https://github.com/bjesus/opencode-gtk/releases).
## Running
OpenCode GTK will automatically launch `opencode serve` unless you specify a server using the `--server` flag.
```bash
./opencode-gtk
```
Connect to a custom server:
```bash
./opencode-gtk --server 127.0.0.1:42165
```
## Manual Compilation
### Requirements
- Rust toolchain
- GTK4 development libraries
- libadwaita development libraries
### Installation on Linux
**Fedora/RHEL:**
```bash
sudo dnf install gtk4-devel libadwaita-devel
```
**Ubuntu/Debian:**
```bash
sudo apt install libgtk-4-dev libadwaita-1-dev
```
**Arch:**
```bash
sudo pacman -S gtk4 libadwaita
```
### Building
```bash
cargo build
```
### Running
```bash
cargo run
```
Connect to a custom server:
```bash
cargo run -- --server 127.0.0.1:42165
```