demo-mobile.mp4
A native (really fast!!) cross-platform client for OpenCode server mode. Built with Flutter, it provides a conversational interface for session-based AI coding interactions over HTTP APIs and streaming events.
- π Fully translated into 14 languages: English, PortuguΓͺs (Brasil), EspaΓ±ol, Deutsch, FranΓ§ais, Italiano, Π ΡΡΡΠΊΠΈΠΉ, δΈζ, ζ₯ζ¬θͺ, νκ΅μ΄, ΰ€Ήΰ€Ώΰ€¨ΰ₯ΰ€¦ΰ₯, বাΰ¦ΰ¦²ΰ¦Ύ, Ψ§ΩΨΉΨ±Ψ¨ΩΨ©, Ψ§Ψ±Ψ―Ω
- π Speech-to-text on every platform, including Linux
- π Text-to-speech read-aloud for assistant messages
- π Host quota monitoring through official/OpenChamber REST when available, plus shell fallback probes for Claude, OpenRouter, Codex/OpenAI, Gemini, GitHub Copilot, OpenCode Go, NanoGPT, Wafer, Kimi, ZhipuAI, MiniMax, z.ai, Cursor, and Ollama Cloud
- π Inline Mermaid diagram rendering from fenced markdown blocks
- π¬ Canned answers for faster replies
- β©οΈ Easier undo and redo
- π§ OpenCode setup wizard
- π’ LaTeX math rendering β typeset inline and block equations via pure-Dart KaTeX port
- π€ Share messages as images β export any chat message as a themed PNG with native share
- π Cloudflare Access OAuth β PKCE-based auth for servers behind Cloudflare Access
- π Session export as Markdown/JSON β full conversation export with paginated loading
- π₯ Server-hosted PTY terminal β embedded terminal running on the OpenCode host
- β©οΈ Inline revert to any prior turn β undo with draft restoration via official revert endpoint
- Realtime AI chat with streaming responses (SSE) and robust turn reconciliation
- Queued
Send nowhandoff without false abort error noise or duplicate chat bubbles - Instant session reopen with cached grouped history, direct bottom landing, and background delta-style revalidation
- Load older message history by scrolling to the top of chat
- Project-centric sidebar with conversations grouped by open projects
- Context-scoped conversation pinning to keep priority sessions at top
- Canned answers with global/project scope
- Project context support for both Git repositories and non-Git folders
- Per-project New Chat draft isolation with lazy session bootstrap
- Multi-server profile management (health checks, default/active switching, auth)
- Install and Run OpenCode Server directly from Settings
- Model/provider selection with variants, favorites, and reasoning controls
- In-app update flow with auto-check, startup notification, and direct install
- Physical-keyboard productivity shortcuts, including Alt+Tab-style session cycling
- Mobile external-keyboard send keeps composer focus for rapid follow-up input
- Interactive server permission/question prompts with attention badges
- Responsive Material 3 experience across Linux, Windows, macOS, Web, and Android
- 14-language support with instant language switching, system-default detection, and RTL layout for Arabic and Urdu
- Text-to-speech read-aloud for assistant responses with adjustable speed and pitch
- Mermaid diagram rendering from fenced code blocks with copy-source fallback
- Density-aware UI with 5 spacing tiers (compact β spacious) across chrome and composer
- Smart session state restore β re-selects last agent/model/variant from message metadata
- Reactive notification dismissal β auto-clears on SSE events, no stale alerts
- Rich diff review surface with syntax highlighting, line gutters, and lazy hunk loading
- Cloudflare Access OAuth with PKCE for secure enterprise reverse-proxy auth
- Server-hosted PTY terminal streamed to client for in-app command-line access
Install using the install.cat pattern:
-
Linux & macOS
curl -fsSL install.cat/verseles/codewalk | sh -
Windows (PowerShell)
irm install.cat/verseles/codewalk | iex
Run the same command again any time to update/reinstall to the latest GitHub release.
Installers automatically pick the right release for your platform.
-
Android
Open this in your Android browser to download the APK: install.cat/verseles/codewalk
-
Linux & macOS
curl -fsSL https://raw.githubusercontent.com/verseles/codewalk/main/uninstall.sh | sh -
Windows (PowerShell)
irm https://raw.githubusercontent.com/verseles/codewalk/main/uninstall.ps1 | iex
- Flutter SDK (>=3.8.1)
- Dart SDK
- An OpenCode-compatible server instance
- Platform toolchain for your target:
- Linux desktop:
clang,cmake,ninja,pkg-config - Windows desktop: build from a Windows host
- macOS desktop: build from a macOS host
- Linux desktop:
-
Install dependencies:
flutter pub get
-
Run the app (examples):
flutter run -d linux flutter run -d chrome flutter run -d android
-
Build artifacts (examples):
flutter build linux flutter build web
make check # deps + codegen + analyze + test
make check-fast # deps + codegen + analyze + test-fast
make test-fast # excludes slow/integration tags
make web # build Flutter web app into build/web
make android # build arm64 APK
make release V=patch # bump pubspec, update CHANGELOG.md, commit, tag, pushUse make check for normal validation. When you need a testable Android artifact, run HEY_CAPTION="specific caption" make android after checks pass.
CodeWalk's web build is a static Flutter app. The build does not need Cloudflare secrets or compile-time OpenCode credentials; users add their OpenCode server profile inside the app after opening the deployed site.
-
Build the web app:
make web
This runs
flutter build web --release --base-href "/"and writes the static site tobuild/web. -
For a subpath deployment, set a base href that starts and ends with
/:WEB_BASE_HREF="/codewalk/" make web -
Preview the static output locally for root-hosted builds:
python3 -m http.server 8080 --directory build/web
If you build with a subpath
WEB_BASE_HREF, preview it under the same path prefix; otherwise browser asset URLs will not match the local server root. -
Publish
build/webto Cloudflare Pages.Direct upload with Wrangler:
npx wrangler pages deploy build/web --project-name codewalk
Cloudflare Pages Git settings, if your Pages build image has Flutter available:
Build command: make web Build output directory: build/web Root directory: (leave blank) -
Configure the OpenCode server that the browser app will connect to. For a Pages deployment at
https://your-codewalk.pages.dev, allow that exact origin:export OPENCODE_SERVER_PASSWORD="choose-a-password" opencode serve --hostname 0.0.0.0 --port 4096 --cors "https://your-codewalk.pages.dev"
-
Add a CodeWalk server profile in the web app using your reachable server URL and Basic Auth credentials.
Known limitations:
- An HTTPS-hosted CodeWalk site cannot call a plain HTTP OpenCode server on a LAN IP because browsers block mixed content. Use HTTPS for the OpenCode origin, a trusted reverse proxy/tunnel, or run the CodeWalk web build from a local HTTP origin during private testing.
- CORS must allow the exact CodeWalk origin when Basic Auth or other credentials are used; do not rely on wildcard CORS for authenticated browser requests.
- The OpenCode server URL must be reachable from the user's browser, not from Cloudflare's build system.
- Launch the app and open Settings from the sidebar
- Tap Add Server and run the Quick setup command in your terminal
- Keep the default
Server URL(http://127.0.0.1:4096) or set your server URL - Configure Basic Auth only if your server requires it
- Save and switch active/default profiles as needed
When you run OpenCode from this repository, the repo ships a project agent at .opencode/agents/opencodeNews.md:
@opencodeNewsreviews the latest OpenCode release for CodeWalk impact@opencodeNews review vX.Y.Zor@opencodeNews check https://github.com/anomalyco/opencode/releases/tag/...reviews a specific release target mentioned in the same prompt
The agent returns a release summary, impact/risk by area, proposed adjustments, and an execution plan only when CodeWalk work is needed.
The project follows Clean Architecture with three layers: Domain, Data, and Presentation. Dependency injection via get_it, HTTP via dio, state management via provider.
For the ADR-023 compatibility baseline and current OpenCode contract inventory, see CONTRACT_MATRIX.md.
For full technical details, see CODEBASE.md.
- Framework: Flutter
- Language: Dart
- State Management: Provider
- HTTP Client: Dio
- Local Storage: SharedPreferences
- Dependency Injection: GetIt
- Design System: Material Design 3
This project is dual-licensed:
- Open Source: GNU Affero General Public License v3.0 (AGPLv3) -- free for everyone.
- Commercial: A separate commercial license is available for organizations with annual revenue exceeding USD 1M that wish to use the software without AGPLv3 obligations.
CodeWalk is a fork of OpenMode, originally created by easychen. The original project is licensed under MIT.
Substantial modifications have been made since the fork, including licensing changes, code restructuring, rebranding, full English standardization, and documentation rewrites. All modifications are licensed under AGPLv3 (or the commercial license, where applicable).
See NOTICE for full attribution details.

