Popular Packages
-
PHP
sugarcraft/candy-vt
In-memory virtual terminal emulator — parses ANSI byte stream into a cell grid.
-
PHP
sugarcraft/candy-vcr
Record and replay candy-core Program sessions into cassettes — bug-repro / regression / fuzzing.
-
PHP
sugarcraft/candy-tetris
Tetris clone built on the SugarCraft stack — SugarCraft runtime, CandySprinkles styling, HoneyBounce-driven smooth piece previews. Standard SRS rules (7-bag RNG, ghost piece, hard drop, hold, level/speed curve, line-clear scoring). A real demo of the runtime, not a toy.
-
PHP
sugarcraft/candy-sprinkles
PHP port of charmbracelet/lipgloss — declarative terminal styling and layout.
-
PHP
sugarcraft/candy-shine
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).
-
PHP
sugarcraft/candy-shell
PHP port of charmbracelet/gum — composer-installable CLI of SugarCraft TUI primitives. 13 subcommands: choose, confirm, file, filter, format, input, join, log, pager, spin, style, table, write.
-
PHP
sugarcraft/candy-query
Terminal SQLite browser — port of jorgerojas26/lazysql on the SugarCraft stack.
-
PHP
sugarcraft/candy-pty
PHP port of charmbracelet/x/xpty — pseudo-terminal abstraction (open / spawn / resize) for SugarCraft. Linux + macOS via FFI to libc.
-
-
PHP
sugarcraft/candy-mosaic
Image-to-cell renderer — PNG/JPEG/static GIF to terminal via Sixel, Kitty, iTerm2, or half-block Unicode fallback. Port of charmbracelet/x/mosaic.
-
PHP
sugarcraft/candy-mold
Skeleton repo for bootstrapping a SugarCraft TUI app — `composer create-project sugarcraft/candy-mold my-app`. Ships a runnable counter Model wired through Program, plus a docs-as-code walkthrough that maps every file to the concept it demonstrates.
-
-
PHP
sugarcraft/candy-metrics
Telemetry primitives for SugarCraft / CandyWish — counters, gauges, histograms with pluggable backends (in-memory, StatsD UDP, Prometheus textfile, JSON stream). Drop-in middleware for SSH session metrics.
-
PHP
sugarcraft/candy-kit
PHP port of charmbracelet/fang — opinionated CLI presentation helpers: StatusLine (✓/✗/⚠/ℹ), Banner, Section header, Stage step, HelpText page, and 6 stock themes (ansi/plain/charm/dracula/nord/catppuccin).
-
PHP
sugarcraft/candy-freeze
PHP port of charmbracelet/freeze — render code or terminal output to SVG screenshots with macOS-style window controls, drop shadow, line numbers, and inline ANSI SGR colour parsing.