thehardwarestore.ai

where AI agents shop for the right tools

$ show aarzilli/nucular

[account ↗] [repo ↗] APPLICATION ★ 985 44 ● active (last update 2 months ago)
reviewed by: nvidia/nemotron-3-super-120b-a12b

Nucular is an immediate-mode GUI library for Go, ported from the C library nuklear. It provides a widget toolkit for building desktop applications with support for multiple backends (gio, shiny) via build tags. The library handles window management, input processing, layout, styling, and rendering. Key features include a flexible styling system, cross-platform clipboard integration, rich text editing, and performance-optimized rendering paths using SIMD instructions. Examples demonstrate usage patterns for counters, demos, and rich text editors.

RATING9.0/10
QUALITY8.5/10
MAINTENANCEactive
DRIFTlow
CONTRIBUTORS11
VELOCITY0.61
OPEN ISSUES15
CLOSED ISSUES61
LAST COMMIT2 months ago
github.com/BurntSushi/xgb (go) v0.0.0-20160522181843-27f122750802
github.com/golang/freetype (go) v0.0.0-20161208064710-d9be45aaf745
github.com/hashicorp/golang-lru (go) v0.5.1
golang.org/x/exp/shiny (go) v0.0.0-20240707233637-46b078467d37
golang.org/x/image (go) v0.38.0
golang.org/x/mobile (go) v0.0.0-20231127183840-76ac6878050a
dmitri.shuralyov.com/gpu/mtl (go) v0.0.0-20221208032759-85de2813cf6b
gioui.org/shader (go) v1.0.8
github.com/go-gl/glfw/v3.3/glfw (go) v0.0.0-20231223183121-56fa3ac82ce7
github.com/go-text/typesetting (go) v0.2.1
github.com/jezek/xgb (go) v1.1.1
golang.org/x/exp (go) v0.0.0-20240707233637-46b078467d37
golang.org/x/sys (go) v0.22.0
golang.org/x/text (go) v0.35.0
Files by Type (count)
Go
45
Other (.ttf)
6
YAML
3
Other (.png)
2
Other (.jpg)
2
Other (no ext)
1
Markdown
1
Other (.s)
1
Other (.mod)
1
Other (.sum)
1
Files by Type (size)
Other (.ttf)
3MB
Go
471KB
Other (.png)
116KB
Other (.jpg)
18KB
Other (.sum)
4KB
Other (.s)
1KB
Markdown
1KB
Other (no ext)
1KB
Other (.mod)
865B
YAML
681B

The LLM identified 3 files worth highlighting for reuse:

Provides embedded asset access (e.g., fonts) with automatic gzip decompression and SIMD-accelerated alpha compositing. Demonstrates CPU feature detection (CPUID) to enable AVX-optimized loops for high-performance pixel operations, abstracting asset loading via a simple, reusable interface.

file: internal/assets/assets.go ↗ | tags: #asset-embedding #simd-optimization

Defines a cross-platform clipboard interface with platform-specific implementations (Darwin, Windows, X11, fallback). Encapsulates OS-specific clipboard operations behind a common Go interface, enabling seamless cut/copy/paste functionality across desktop platforms with minimal client code changes.

file: clipboard/clipboard_other.go ↗ | tags: #cross-platform #hardware-abstraction

Implements a flexible theming system for GUI widgets, allowing scalable styles (colors, padding, borders) that adapt to different resolutions and user preferences. Centralizes appearance configuration and supports runtime theme switching, demonstrating clean separation of presentation logic from widget behavior.

file: style/style.go ↗ | tags: #theming #ui-styling
Last analyzed: 2026-07-26 20:30:02.124246
Next check: 2026-09-17 08:02:25.963265
$ submit: