Tutorials
From installation to packaging a script into a standalone executable takes about ten minutes. Every example has been verified by actually running it.
All three entry points install the same binary: npm install (with prebuilt binaries for 5 platforms bundled, no Go environment needed), the gox create scaffold, or building from source with go build. There are two command names, gox and goxjs (aliases of each other); a source build produces Gox.
Quick Navigation
Just want to get it running → Installation and Creating a Project; want to build UIs → GUI Desktop Apps; want to embed it in a Go program or learn how the runtime works → API Reference.
Contents
| # | Section | What's covered |
|---|---|---|
| 1 | Installation and Creating a Project | npm install, the gox create scaffold, building from source |
| 2 | REPL and CLI | Interactive environment, command cheat sheet, script echo semantics |
| 3 | Language Basics and Boundaries | ES6+ subset, what's not supported (import as / Date) |
| 4 | ES Modules | import/export, dynamic import(), no CommonJS |
| 5 | Async and the Event Loop | async/await, timer family, exit semantics |
| 6 | Built-in Objects at a Glance | Global objects like Object/Array/Map/Set/Promise/Temporal |
| 7 | Files and System | fs / path / process, both sync and async |
| 8 | HTTP Requests and Servers | Global fetch, serving with http.createServer |
| 9 | Reactive Programming | GetX-style obs and SolidJS-style createSignal |
| 10 | GUI Desktop Apps | JSX + gx/gfx + gx/solid, built-in elements, routing, built-in module cheat sheet |
| 11 | Packaging Standalone Executables | The jsbuild packager, cross-compilation, single-file distribution |
| 12 | FAQ | Relationship with Node, macOS support, debugging tips |
Next stop: Component Reference — full props and examples for all 44 built-in GUI elements.