Libraries tagged by tui
sugarcraft/sugar-video
15 Downloads
Terminal video player for SugarCraft — plays mp4 (and more) by decoding frames on the fly and rendering them to ASCII / ANSI / truecolor half-block / sixel / kitty output.
sugarcraft/sugar-testing
15 Downloads
Test harness for TEA programs — ProgramSimulator, golden-file assertions, and snapshot helpers for SugarCraft.
sugarcraft/sugar-style
16 Downloads
PHP port of charmbracelet/lipgloss — declarative terminal styling and layout.
sugarcraft/sugar-spring
15 Downloads
PHP port of charmbracelet/harmonica — damped spring physics + Newtonian projectile simulation for terminal animation.
sugarcraft/sugar-quickpick
15 Downloads
PHP port of Genekkion/theHermit — fuzzy finder / quick-fix overlay for terminal UIs. Wraps a background view, renders a filterable list overlay on top, background continues to update underneath.
sugarcraft/sugar-pty
17 Downloads
PHP port of charmbracelet/x/xpty — pseudo-terminal abstraction (open / spawn / resize) for SugarCraft. Linux + macOS via FFI to libc.
sugarcraft/sugar-panels
15 Downloads
PHP port of treilik/bubbleboxer — box-drawing layout engine. Compose terminal content into H/V panels with box-drawing borders, padding, and dynamic dimension calculation.
sugarcraft/sugar-overlay
15 Downloads
PHP port of rmhubbert/bubbletea-overlay — modal/overlay compositing for terminal UIs. Composite foreground content over a background at any position (Top/Right/Bottom/Left/Center) with optional cell (column/row) offsets.
sugarcraft/sugar-navstack
15 Downloads
PHP port of KevM/bubbleo — NavStack and Breadcrumb components. Push/pop navigation stack with hierarchical breadcrumb rendering for terminal UIs.
sugarcraft/sugar-mouse
17 Downloads
Self-contained Mark/Scan/Get mouse hit-testing (bubblezone pattern) plus ZoneClickTracker for press/release deduplication. No external Manager wiring needed.
sugarcraft/sugar-markdown
15 Downloads
PHP port of charmbracelet/glamour — Markdown → ANSI renderer with word-wrap, OSC 8 hyperlinks, syntax highlighting, and 8 stock themes (ansi/plain/dark/light/notty/dracula/tokyo-night/pink).
sugarcraft/sugar-input
17 Downloads
Terminal escape sequence decoder for keyboard (legacy + Kitty progressive) and mouse (SGR 1006). Provides InputDriver interface and EscapeDecoder implementation. Unblocks sugar-readline migration to real-TTY input.
sugarcraft/sugar-image
15 Downloads
Image-to-cell renderer — PNG/JPEG/static GIF to terminal via Sixel, Kitty, iTerm2, or half-block Unicode fallback. Port of charmbracelet/x/mosaic.
sugarcraft/sugar-forms
18 Downloads
Foundation lib for form primitives (TextInput, TextArea, ItemList, Viewport, FilePicker, Field interface, Confirm, Form) extracted from sugar-widgets, with the interactive huh-style form engine folded in.
sugarcraft/sugar-focus
21 Downloads
Focus-ring state machine — an ordered set of focusable regions with wrap-around Tab/Shift-Tab traversal for full-window TUI layouts. Dependency-free.