Pure Go Native Desktop IDE for ForgeADE powered by MyGo Native UI
ForgeADE Native is a high-performance native desktop port of ForgeADE. It targets a 100% pure Go native UI stack with CGO_ENABLED=0, eliminating Chromium/WebKit webviews, Node.js toolchains, and IPC serialization in favor of direct GPU rendering and zero-copy in-memory architecture.
| Metric | Original ForgeADE (Wails v3 + React + WebView) | ForgeADE Native (Pure Go + MyGo UI) | Improvement |
|---|---|---|---|
| Idle Memory (RSS) | ~110 – 180 MB | ~55.9 MB | ~65% less memory |
| Idle CPU Usage | 0.5% – 2.0% | 0.7% | Near-zero idle overhead |
| Binary Executable Size | 28 MB | 15 MB | ~46% smaller |
| Test Suite Execution | ~12.5s (Vitest) | 0.009s (Go Native) | >1000x faster |
ForgeADE Native implements ForgeADE's exact Dual-Surface Architecture:
┌────────────────────────────────────────────────────────────────────────────────────────┐
│ WorkspaceHeader │
│ ◧ [Active Title] 📁 forge-ade-native ⎇ main * … │ [✨ Agent | 💻 Editor] 🔍 ⌨ ◨ ⚙│
├────────────────────────────┬───────────────────────────────────────────┬───────────────┤
│ Mode: ✨ AGENT │ AgentContainer │ Right Drawer │
│ ┌────────────────────────┐ │ ┌───────────────────────────────────────┐ │ (Collapsible) │
│ │ + New Task (⌘N) │ │ │ Session Header (Title · Status · Model)│ │ │
│ │ 🔍 Search (⌘P) │ │ ├───────────────────────────────────────┤ │ ⎇ Git Changes │
│ │ │ │ │ Message Stream (Streaming Markdown) │ │ 🗄 Database │
│ │ TASKS [Active|Pin|Arc] │ │ │ User Bubbles │ │ 📋 Task Board │
│ │ • Port to Native UI 🟢 │ │ │ Assistant Markdown Blocks │ │ │
│ │ • GPU Profiling ✔ │ │ ├───────────────────────────────────────┤ │ │
│ ├────────────────────────┤ │ │ Floating Task Checklist (Docked) │ │ │
│ │ Model Profile & Quotas │ │ ├───────────────────────────────────────┤ │ │
│ │ 📋 ⎇ ⚙ │ │ │ Composer: /goal, /tasks, /model... │ │ │
│ └────────────────────────┘ │ └───────────────────────────────────────┘ │ │
│ │ Bottom Terminal (Collapsible, Ghostty) │ │
├────────────────────────────┴───────────────────────────────────────────┴───────────────┤
│ Mode: 💻 EDITOR │
│ ┌────┬───────────────────┐ │ EditorView │ Right Drawer │
│ │ 📁 │ WORKSPACE [FILES] │ │ ┌───────────────────────────────────────┐ │ (Collapsible) │
│ │ ⎇ │ app.go • │ │ │ [app.go • ×] [main.go ×] ◫Split Diff 💾│ │ │
│ │ 🗄 │ main.go │ │ ├───────────────────────────────────────┤ │ ✨ Agent Chat │
│ │ │ engine.go │ │ │ Virtualized Code Buffer (Zed-style) │ │ ⎇ Git Changes │
│ │ ⚙ │ editor.go │ │ │ (Syntax highlighted, live diff gutters│ │ 🗄 Database │
│ └────┴───────────────────┘ │ └───────────────────────────────────────┘ │ │
│ │ Bottom Terminal (Collapsible, Ghostty) │ │
├────────────────────────────┴───────────────────────────────────────────┴───────────────┤
│ StatusBar (Editor Mode): 📁 forge-ade-native · app.go · Ln 42, Col 18 · 860 lines · Go · UTF-8 │
└────────────────────────────────────────────────────────────────────────────────────────┘
- Unified Top Header (
WorkspaceHeader):- Segmented Mode Switcher:
[✨ Agent]and[💻 Editor] - Workspace and branch chips with dirty state indicators (
⎇ main *) - Task actions menu (
…), Quick open search (🔍 ⌘P), collapsible terminal toggle (⌨), right pane drawer toggle (◨), and settings modal (⚙ ⌘,).
- Segmented Mode Switcher:
- Autonomous Agent Mode (
ModeAgent):- Full-height
AgentSidebarwith+ New Taskprimary button, filter tabs (active,pinned,archived), and real-time task sessions list with status indicators (🟢 Running,⚪ Idle,✔ Completed). - Streaming Markdown turns with user bubbles and assistant responses.
- Docked floating Task Checklist decomposing objectives into subtasks.
- Interactive prompt composer with slash command shortcuts (
/goal,/tasks,/model,/clear,/status,/help).
- Full-height
- Code Editor Mode (
ModeEditor):- 48px Activity bar with Explorer (
📁), Source Control (⎇), Database (🗄), and Settings (⚙). - File tree explorer with dirty modification badges (
•), search filter,+ File, and↻ Refresh. - Tab bar with open files, close buttons (
×), multi-pane split (◫ Split), live diff view (Diff), and file saving (⌘S). - Zed-style virtualized editor buffer with syntax highlighting and live diff gutters.
- Bottom Status Bar showing line/column, encoding, line count, language detection, and active LLM model.
- 48px Activity bar with Explorer (
- Collapsible Bottom & Right Drawers:
- Collapsible bottom Ghostty terminal drawer running bash.
- Collapsible right drawer with tabs for Git changes, SQLite/DuckDB inspector, task checklist, and agent chat.
- Go 1.23+
- Linux with X11/Wayland (
libgtk-3), macOS, or Windows
# Run unit tests (9 test suites, passes in ~0.009s)
make test
# Build stripped release executable (15MB)
make build
# Launch application
./build/bin/forge-native| Shortcut | Action |
|---|---|
| ⌘S / Ctrl+S | Save active editor file |
| ⌘P / Ctrl+P | Quick open file palette |
| ⌘, / Ctrl+, | Open settings modal |
| ⌘B / Ctrl+B | Toggle left sidebar |
| ⌘N / Ctrl+N | Create new task session |
| ⌘J / Ctrl+J | Toggle right action drawer |
| ⌘1 / Ctrl+1 | Switch to Agent Mode |
| ⌘2 / Ctrl+2 | Switch to Editor Mode |
MIT