@gateorixjs/cli
v0.3.2
Published
Gateorix CLI — scaffold, develop, and build Gateorix desktop applications
Maintainers
Readme
@gateorixjs/cli
Gateorix CLI — scaffold, develop, and build cross-platform desktop apps with web UI and native power.
Gateorix pairs modern web frontends (React, Vue, Svelte) with native OS access through Rust/Tauri, and lets you write backend logic in any language you prefer.
Install
npm install -g @gateorixjs/cliThis installs two binaries — gateorix and its short alias gx. They are identical; use whichever you prefer.
gateorix --version # 0.3.2
gx --version # 0.3.2 (same binary)Commands
| Command | Alias | Description |
|---|---|---|
| gateorix init <name> | gx init <name> | Scaffold a new project (interactive prompts for backend & UI) |
| gateorix dev | gx dev | Start the app in development mode with hot reload |
| gateorix build | gx build | Build the app for production |
| gateorix doctor | gx doctor | Check environment and dependencies |
| gateorix add runtime <lang> | gx add runtime <lang> | Add a runtime adapter |
| gateorix add plugin <name> | gx add plugin <name> | Add a plugin |
Quick Start
# Interactive — prompts for project name, backend language, and UI framework
gx init my-app
cd my-app
gx devSupported Templates (25 combinations)
gx init prompts for a UI framework and a backend language. Any combination works — 25 in total.
UI frameworks: react, vue, svelte, solid, vanilla
Backend languages: python, go, c#, f#, c++
Each combination maps to an example at examples/hello-<ui>-<lang> — for instance:
gx init my-app→ pickvue+go→ scaffolds fromhello-vue-gogx init my-app→ picksvelte+c#→ scaffolds fromhello-svelte-csgx init my-app→ pickvanilla+python→ scaffolds fromhello-vanilla-python
Adding Runtimes & Plugins
gx add runtime python # or: go, dotnet, cpp, swift
gx add plugin filesystem # or: process, notifications, clipboardWhat You Get
- 5 UI frameworks — React, Vue 3, Svelte, SolidJS, or plain HTML/TS (Vanilla)
- 5 backend languages — Python, Go, C#, F#, C++
- Native host runtime — windows, menus, file access, notifications via Rust/Tauri
- Plugin system — filesystem, clipboard, notifications, process, and custom plugins
- Secure IPC bridge — JSON messages with permission-based access control
Requirements
- Node.js >= 18
- Rust (for Tauri compilation)
- Python 3.10+ (for Python backend adapter)
Links
License
MIT
