A real, native desktop web browser — a window, tabs, an address bar — built on go-webengine/engine through go-webengine/browserproxy. No Chromium, no system WebView, no embedded browser engine from any other project: the page is parsed, laid out and rasterised by go-webengine's own pure-Go engine, and the window, widgets and input come from go-widgets/window and go-widgets/toolkit.
- A native window with a closeable tab strip (
+opens a new tab). - Each tab keeps its own session: its own history, scroll position and rendered page, kept alive while another tab is in front.
- An address bar (type a URL, press Enter) and back / forward / reload.
- Click a link, scroll, resize the window — the page re-renders at the new size.
Bookmarks, persistent history across restarts, a settings UI, find-in-page, zoom, downloads and extensions are out of scope for this first version.
go build .
./browserRequires Go ≥ 1.27.4 (see go.mod). CGO_ENABLED=0 works on every platform
go-widgets/window supports: the macOS back-end is pure Go, via
go-macos/objc over purego, not cgo.
| Action | How |
|---|---|
| Navigate | click the address bar, type a URL, press Enter |
| Follow a link | click it on the page |
| Scroll | mouse wheel / trackpad over the page |
| Back/forward | the < / > toolbar buttons |
| Reload | the "Reload" toolbar button |
| New tab | the + button at the end of the tab strip |
| Close a tab | the tab strip's close affordance |
| Resize | drag a window edge, like any window |
One browserproxy.Session per
tab renders pages server-side (in-process, no network RPC of its own) to a
PNG, which this app decodes into RGBA and hands to a toolkit.Surface for
the window to show 1:1. Only the active tab's widgets are mounted in the
window's widget tree at a time; the rest keep their session and widgets
alive, unmounted.
go-widgets/window's Backend has no resize event — only a Size() a
caller can read — so a small ticker (App.tick, 100ms) polls it and
re-renders the active tab's page when the size changes. The same ticker
drives the toolkit's Animator convention (TickTree/TreeAnimating) for
the loading spinner, only while something is actually animating.
Built and verified by automated tests (fake-session unit tests covering navigate/back/forward/click/scroll/resize/reload, and tab-strip add/close/select bookkeeping) plus a manual run of the compiled binary. Full branding, landing page and docs-site entries are a tracked fast-follow, not a blocker for this first version.