chat-glow

command
v0.1.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2026 License: MIT Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Chat-glow is an assistant's window, lit as Apple Intelligence lights its own: while the assistant works, the window's edges glow in flowing colors, the field to write in glows in its ring, and "Thinking…" shimmers; the assistant's orb, a glass sphere of drifting light, quickens as it thinks.

go run ./examples/chat-glow

Each is a pattern of its own for an app. The edges' glow is views: the window's outline as borders painted with a conic gradient (BorderConicGradient), a sharp one and blurred ones over it (Blur), in boxes over the whole window that the pointer goes through (Absolute, PassThrough), as SwiftUI's recreations of the glow stack theirs. The rest is shaders written in Go (package ui/shader): a glowing focus ring drawn around a field, text filled with a shader (shader.Text), and an avatar drawn by one. The replies are canned; Escape stops one.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL