Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
glyph
command
Package main is the glyph CLI entry point.
|
Package main is the glyph CLI entry point. |
|
components
|
|
|
chat-bubble
Package chatbubble renders a role-aware speech bubble with width-aware wrap.
|
Package chatbubble renders a role-aware speech bubble with width-aware wrap. |
|
chat-input
Package chatinput renders a single-line chat prompt with a placeholder, cursor, and submit/escape key bindings.
|
Package chatinput renders a single-line chat prompt with a placeholder, cursor, and submit/escape key bindings. |
|
chat-thread
Package chatthread renders a vertically-stacked conversation of role-aware chat bubbles with viewport-style scrolling.
|
Package chatthread renders a vertically-stacked conversation of role-aware chat bubbles with viewport-style scrolling. |
|
command-palette
Package commandpalette renders a fuzzy-filtered command picker as a modal surface.
|
Package commandpalette renders a fuzzy-filtered command picker as a modal surface. |
|
confirmation
Package confirmation renders a two-button yes/no prompt with focus-managed buttons, single-keystroke y/n shortcuts, and dangerous-action styling.
|
Package confirmation renders a two-button yes/no prompt with focus-managed buttons, single-keystroke y/n shortcuts, and dangerous-action styling. |
|
diff-view
Package diffview renders a unified diff as a color-coded, scrollable terminal block.
|
Package diffview renders a unified diff as a color-coded, scrollable terminal block. |
|
kbd
Package kbd renders single keystrokes and chords as terminal-styled keycap glyphs.
|
Package kbd renders single keystrokes and chords as terminal-styled keycap glyphs. |
|
key-hints
Package keyhints renders a compact footer of "<key> <description>" pairs separated by a thin divider.
|
Package keyhints renders a compact footer of "<key> <description>" pairs separated by a thin divider. |
|
list
Package list renders a vertical list of items with a single selected cursor.
|
Package list renders a vertical list of items with a single selected cursor. |
|
log-stream
Package logstream renders a bounded, scrollable log view.
|
Package logstream renders a bounded, scrollable log view. |
|
markdown-viewer
Package markdownviewer renders a small markdown subset to a styled terminal block with theme tokens.
|
Package markdownviewer renders a small markdown subset to a styled terminal block with theme tokens. |
|
modal
Package modal renders a bordered overlay container with an optional inlaid title, framed body, optional footer, and a configurable close key.
|
Package modal renders a bordered overlay container with an optional inlaid title, framed body, optional footer, and a configurable close key. |
|
notification-toast
Package notificationtoast renders a stack of dismissible, level-aware notifications.
|
Package notificationtoast renders a stack of dismissible, level-aware notifications. |
|
panel
Package panel wraps arbitrary content in a bordered container with an optional title and footer.
|
Package panel wraps arbitrary content in a bordered container with an optional title and footer. |
|
progress-bar
Package progressbar renders a determinate progress indicator with an optional label, percentage readout, and color-tunable fill.
|
Package progressbar renders a determinate progress indicator with an optional label, percentage readout, and color-tunable fill. |
|
select
Package selectinput renders a bounded single-choice popover with an optional substring filter.
|
Package selectinput renders a bounded single-choice popover with an optional substring filter. |
|
spinner
Package spinner renders a small animated glyph next to an optional label, the way an agent UI signals "working on it".
|
Package spinner renders a small animated glyph next to an optional label, the way an agent UI signals "working on it". |
|
stat-card
Package statcard renders a dashboard metric tile: a single bordered card with a small uppercase label, a big bold value, and an optional trend row (glyph + delta + italic sublabel).
|
Package statcard renders a dashboard metric tile: a single bordered card with a small uppercase label, a big bold value, and an optional trend row (glyph + delta + italic sublabel). |
|
status-bar
Package statusbar renders a single-line, three-segment status bar.
|
Package statusbar renders a single-line, three-segment status bar. |
|
table
Package table renders a column-aligned data grid with sortable headers, keyboard navigation, internal scrolling, and optional row selection.
|
Package table renders a column-aligned data grid with sortable headers, keyboard navigation, internal scrolling, and optional row selection. |
|
tabs
Package tabs renders a horizontal row of labeled tabs with one active label.
|
Package tabs renders a horizontal row of labeled tabs with one active label. |
|
text-input
Package textinput renders a multi-line text input with a 2D cursor, placeholder, focus, word-jumps on Alt+Left/Right, and Ctrl-U to kill the current line up to the cursor.
|
Package textinput renders a multi-line text input with a 2D cursor, placeholder, focus, word-jumps on Alt+Left/Right, and Ctrl-U to kill the current line up to the cursor. |
|
theme
Package theme provides the token palette every glyph component reads from.
|
Package theme provides the token palette every glyph component reads from. |
|
examples
|
|
|
chat-cli
command
Command chat-cli is a realistic agent-style chat REPL composed from thirteen glyph components.
|
Command chat-cli is a realistic agent-style chat REPL composed from thirteen glyph components. |
|
dashboard
command
dashboard is an "engagements" control room composed from nine glyph components: a tab row across the top, a four-card metric strip, a sortable engagement table in the center, a status-bar pinned to the bottom, a hint row below it, and a floating toast tray that fires on row selection.
|
dashboard is an "engagements" control room composed from nine glyph components: a tab row across the top, a four-card metric strip, a sortable engagement table in the center, a status-bar pinned to the bottom, a hint row below it, and a floating toast tray that fires on row selection. |
|
log-viewer
command
Command log-viewer is a journalctl-style live log viewer composed from nine glyph components: log-stream, tabs, status-bar, key-hints, select, notification-toast, text-input, panel, and theme.
|
Command log-viewer is a journalctl-style live log viewer composed from nine glyph components: log-stream, tabs, status-bar, key-hints, select, notification-toast, text-input, panel, and theme. |
|
reel
command
Command reel is the glyph marketing demo: a self-playing TUI that walks through the library's headline components on a fixed timeline.
|
Command reel is the glyph marketing demo: a self-playing TUI that walks through the library's headline components on a fixed timeline. |
|
showcase
command
Command showcase is a single-binary demo: the chat, command-palette, markdown-viewer, log-stream, diff-view, notification-toast, and status-bar components composed into one navigable TUI.
|
Command showcase is a single-binary demo: the chat, command-palette, markdown-viewer, log-stream, diff-view, notification-toast, and status-bar components composed into one navigable TUI. |
|
tools
|
|
|
build
command
Build flattens components/*/*.json manifests into a registry tree under ./r.
|
Build flattens components/*/*.json manifests into a registry tree under ./r. |
Click to show internal directories.
Click to hide internal directories.























