Skip to content

redstone-md/Gale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gale

Gale is an experimental Go UI toolkit with a small declarative component API, reactive signals, flex-style layout, and native rendering backends.

The project is still early. The public API, renderer internals, and demo surface are expected to change while the core architecture settles.

Requirements

  • Go 1.26 or newer
  • A platform supported by GLFW 3.3 and WebGPU through go-webgpu

Install the CLI

go install github.com/redstone-md/Gale/cmd/gale@latest

From a local checkout:

go build -o gale ./cmd/gale

On Windows, use gale.exe as the output binary name.

Run the demo

gale build ./cmd/demo
gale dev ./cmd/demo

When working from a local checkout on Windows:

go build -o gale.exe ./cmd/gale
.\gale.exe dev ./cmd/demo

Package example

package main

import "github.com/redstone-md/Gale"

func main() {
	_ = gale.Column(
		gale.Style{
			Width:  gale.Percent(100),
			Height: gale.Percent(100),
		},
		gale.Children(
			gale.Text("Hello Gale", gale.TextStyle{Size: 18}),
		),
	)
}

Development

go test ./...
go build ./...

Build outputs, local runtime state, logs, and Continuum metadata are ignored by Git so they do not leak into the public repository.

License

MIT

About

Gale is an experimental Go UI toolkit with a small declarative component API, reactive signals, flex-style layout, and native rendering backends.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages