Libraries tagged by caddy
sugarcraft/candy-log
12 Downloads
PHP port of charmbracelet/log — minimal, colorful leveled logging with structured human-readable output, text/JSON/logfmt formatters, and stdlog adapter.
sugarcraft/candy-layout
5752 Downloads
Constraint-based greedy layout solver for terminal grids (deprecated Cassowary shim retained for compatibility)
sugarcraft/candy-kit
37 Downloads
Opinionated CLI presentation helpers shaped after charmbracelet/fang's output layer: StatusLine (✓/✗/⚠/ℹ), Banner, Section header, Stage step, HelpText page, Frame, Logo, and stock themes (ansi/plain/charm/dracula/nord/catppuccin, plus terminal-adaptive auto).
sugarcraft/candy-hermit
2645 Downloads
Fuzzy finder / quick-pick overlay for terminal UIs. Wraps a background view, renders a filterable, rankable list overlay on top with borders and styles, background continues to update underneath. JSONL-backed selection history. Inspired by Genekkion/theHermit (Go); developed as a native PHP project.
sugarcraft/candy-fuzzy
3638 Downloads
Fuzzy string matching with matched character indices plus the match score — Smith-Waterman + Sahilm algorithms. Enables filter-highlighting UIs across the ecosystem.
sugarcraft/candy-forms
3315 Downloads
Canonical form engine (port of charmbracelet/huh) and foundation lib for form primitives (TextInput, TextArea, ItemList, Viewport, FilePicker, Field interface, Confirm, Form); sugar-widgets re-exports it via 22 class_alias shims.
sugarcraft/candy-focus
3397 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.
sugarcraft/candy-core
12936 Downloads
MVC-style Model–Update–View TUI runtime for PHP 8.3+ (formerly sugarcraft/candy-core).
sugarcraft/candy-code
79 Downloads
Chat-shell TUI for AI coding assistants — port of charmbracelet/crush. Pluggable Backend interface (ship your own provider or shell-out adapter — see docs/ADDING_A_PROVIDER.md). Markdown rendering of replies via SugarMarkdown, scrollback viewport via SugarWidgets, input area via SugarForms TextArea.
sugarcraft/candy-buffer
7998 Downloads
Cell-grid value objects for terminal rendering — Buffer and Cell as immutable, fluent data model.
sugarcraft/candy-async
4771 Downloads
Shared async utilities for SugarCraft — cancellation tokens, subscriptions, timeout/deadline combinators, fan-in, debounce/throttle handles, retry, and a bounded cache-aside store, built on ReactPHP.
sugarcraft/candy-ansi
4780 Downloads
ECMA-48 VT500 state machine — ANSI byte-stream parser with abstract Handler interface. Shared extraction from sugar-vterm.
candygs/candy-grid-system
18 Downloads
The simple and intuitive grid, configurable layout for your every need... Designed and optimized to improve the development of a website. You can choose for 12, 16 or 24 columns.
sugarcraft/candy-zone
6188 Downloads
PHP port of lrstanley/bubblezone — mouse zone tracker for TUI apps.
likebtn/referralcandy
20 Downloads
LikeBtn / ReferralCandy