Packages from sugarcraft · Transparency log
-
PHP
sugarcraft/candy-ansi
ECMA-48 VT500 state machine — ANSI byte-stream parser with abstract Handler interface. Shared extraction from sugar-vterm.
-
PHP
sugarcraft/candy-ansi-inspect
ANSI escape-sequence inspector — decodes SGR / CSI / OSC / DCS / APC / SS3 sequences into human-readable labels, modeled on the charmbracelet/sequin Go tool.
-
PHP
sugarcraft/candy-async
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.
-
PHP
sugarcraft/candy-buffer
Cell-grid value objects for terminal rendering — Buffer and Cell as immutable, fluent data model.
-
PHP
sugarcraft/candy-code
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.
-
TypeScript
sugarcraft/candy-code-web
Browser UI for candy-code's WebSocket server mode, shipped as a pre-built Vite + Vue 3 bundle with a one-class PHP shim that locates it. `candy-code serve` serves it on the same port, so PHP users need no Node.
-
PHP
sugarcraft/candy-codeshot
Render code or ANSI-decorated terminal output to SVG (or PNG with ext-gd) screenshots with macOS-style window controls, drop shadow, line numbers, and inline SGR colour parsing — inspired by charmbracelet/freeze.
-
PHP
sugarcraft/candy-codetime
Privacy-first coding-time tracker — design antecedent Rtarun3606k/TakaTime, native PHP on the SugarCraft stack.
-
-
PHP
sugarcraft/candy-discord
Discord channel bundle for candy-code serve: dialogs from Discord into a served session through the serve's in-process host - pairing gates, guild allowlists, threaded sessions, queue modes, chunked redacted replies, approval buttons, native slash commands. Policy in the user-tier channels.discord s
-
PHP
sugarcraft/candy-files
Dual-pane terminal file manager on the SugarCraft stack: copy, move, rename, delete with undo, tabs and fuzzy search, next to plain two-directory browsing. Inspired by superfile and Midnight Commander.
-
PHP
sugarcraft/candy-flappy
Flappy-Bird-style terminal game on the SugarCraft stack, inspired by kbrgl/flapioca.
-
PHP
sugarcraft/candy-flip
ANSI/GIF animation toolkit — GIF decode and frame playback (antecedent: gifterm) plus .ansi art playback (AnsiArt/ArtLibrary/ArtLoop). The viewer CLI lives in sugarcraft/candy-gifview.
-
PHP
sugarcraft/candy-focus
Focus-ring state machine — an ordered set of focusable regions with wrap-around Tab/Shift-Tab traversal for full-window TUI layouts. Dependency-free.
-
PHP
sugarcraft/candy-forms
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.
-
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.
-
PHP
sugarcraft/candy-fuzzy
Fuzzy string matching with matched character indices plus the match score — Smith-Waterman + Sahilm algorithms. Enables filter-highlighting UIs across the ecosystem.
-
PHP
sugarcraft/candy-gifview
Terminal GIF viewer — the command-line front end of sugarcraft/sugar-animation.
-
PHP
sugarcraft/candy-git
Terminal Git client — a TUI for staging, branching, log, diff, stash, worktrees and rebase on the SugarCraft stack.
-
PHP
sugarcraft/candy-git-server
Self-hostable Git server: smart-HTTP clone, fetch and push with Git LFS, behind fail-closed access gates. PHP port of the charmbracelet/soft-serve Go project; the git-daemon, SSH dispatcher and stats faces ship as classes, with serve --http the assembled listener (README Known gaps).
-
PHP
sugarcraft/candy-hermit
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.
-
PHP
sugarcraft/candy-image
Terminal image viewer CLI — the chafa-independent front end of sugarcraft/sugar-image: file in, best-protocol image out, zero new render logic.
-
PHP
sugarcraft/candy-input
Terminal escape sequence decoder for keyboard (legacy, Kitty progressive protocol, xterm modifyOtherKeys) and mouse (X10, urxvt 1015, SGR 1006/1016), with typed terminal-reply draining. Provides the InputDriver interface and the EscapeDecoder implementation.
-
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-kv
Personal key/value store — a native PHP project inspired by charmbracelet/skate (Go), with multi-database support, binary-safe values, and glob/list filtering.
-
PHP
sugarcraft/candy-layout
Constraint-based greedy layout solver for terminal grids (deprecated Cassowary shim retained for compatibility)
-
PHP
sugarcraft/candy-lister
Tree-list view component for terminal UIs in PHP — customisable prefix/suffix rendering, whitespace-faithful line wrapping, cursor navigation, and per-row delta repaint. Design antecedent: treilik/bubblelister.
-
PHP
sugarcraft/candy-log
PHP port of charmbracelet/log — minimal, colorful leveled logging with structured human-readable output, text/JSON/logfmt formatters, and stdlog adapter.
-
PHP
sugarcraft/candy-mail
Email sender for PHP, modeled on the charmbracelet/pop Go tool — send via the Resend HTTP API, the Mailgun HTTP API or direct SMTP. Compose from stdin, attach files, supports CC/BCC, HTML body.
-
PHP
sugarcraft/candy-mdview
Markdown CLI viewer / pager composing SugarMarkdown + Viewport, modeled on charmbracelet/glow. 12 stock themes including an ascii accessibility tier, word-wrap, OSC 8 hyperlinks.
-
PHP
sugarcraft/candy-metrics
Telemetry primitives for SugarCraft / SugarSshServer — counters, gauges, histograms with pluggable backends (in-memory, StatsD UDP, Prometheus textfile, JSON stream). Drop-in middleware for SSH session metrics.
-
-
PHP
sugarcraft/candy-minesweeper
Minesweeper TUI on the SugarCraft stack, inspired by maxpaulus43/go-sweep.
-
PHP
sugarcraft/candy-mold
Skeleton repo for bootstrapping a SugarCraft TUI app — `composer create-project sugarcraft/candy-starter 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-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-mouse
Mouse support for terminal UIs: sentinel-tagged Mark/Scan/Get hit-testing primitives (ZoneClickTracker press/release dedup, Selection) plus the bubblezone-style Zones Manager layer with hover, drag, and multi-click trackers — both layers in one package.
-
PHP
sugarcraft/candy-msteams
Microsoft Teams channel bundle for candy-code serve: chat with a served session from Teams personal chats, group chats and channel posts. Webhook inbound with in-bundle Bot Framework JWT validation, activity-referenced REST outbound, pairing gates, group allowlists, queue modes, chunked redacted rep
-
PHP
sugarcraft/candy-palette
PHP port of charmbracelet/colorprofile — magical terminal color profile detection and color degradation (TrueColor → ANSI256 → ANSI → ASCII).
-
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-query
Terminal SQLite browser — port of jorgerojas26/lazysql on the SugarCraft stack.
-
PHP
sugarcraft/candy-scriptui
Interactive terminal widgets for shell scripts — composer-installable CLI of SugarCraft TUI primitives, modeled on charmbracelet/gum. 13 interactive subcommands plus completion and version: choose, confirm, file, filter, format, input, join, log, pager, spin, style, table, write.
-
PHP
sugarcraft/candy-serve
Self-hostable Git server: smart-HTTP clone/fetch/push plus LFS run today via 'serve --http' behind fail-closed access gates; config, accounts, repos, git-daemon advertisement and a ForceCommand SSH dispatcher round out the library. Modeled on the charmbracelet/soft-serve Go project.
-
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-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-sprinkles
PHP port of charmbracelet/lipgloss — declarative terminal styling and layout.
-
PHP
sugarcraft/candy-sql
Terminal SQL client for SQLite, MySQL and PostgreSQL — port of jorgerojas26/lazysql on the SugarCraft stack.
-
PHP
sugarcraft/candy-ssh-launcher
SSH endpoint launcher — a TUI directory of `ssh user@host` shortcuts. Port of charmbracelet/wishlist. Loads endpoints from YAML/JSON, renders an interactive picker, then `exec`s into the chosen ssh client (with full host-key prompt / agent forwarding fidelity).
-
PHP
sugarcraft/candy-starter
Skeleton repo for bootstrapping a SugarCraft TUI app — `composer create-project sugarcraft/candy-starter my-app --stability=dev` (`--stability=dev` is required until a `candy-starter/*` tag exists; Packagist then serves the tagged release). Ships a runnable counter Model wired through Program, plus
-
PHP
sugarcraft/candy-testing
Test harness for SugarCraft programs — ProgramSimulator, scripted input, golden/snapshot assertions, VHS tape building, and graphics-stream decoding.
-
PHP
sugarcraft/candy-tetris
Tetris clone built on the SugarCraft stack — SugarCraft runtime, SugarStyle styling. 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-top
Terminal system monitor (btop-style) built on the SugarCraft stack — PHP TUI port inspired by aristocratos/btop.
-
PHP
sugarcraft/candy-vcr
Record and replay sugar-core Program sessions into cassettes, render VHS .tape scripts to GIFs — bug-repro / regression / fuzzing.
-
PHP
sugarcraft/candy-vt
In-memory virtual terminal emulator — parses ANSI byte stream into a cell grid.
-
PHP
sugarcraft/candy-wish
SSH server middleware framework — port of charmbracelet/wish. Build TUIs that anyone can `ssh user@host` to run, with composable middleware (auth, logging, rate-limiting, ext-ssh2 client wrappers, mount a SugarCraft Program).
-
PHP
sugarcraft/honey-bounce
PHP port of charmbracelet/harmonica — damped spring physics + Newtonian projectile simulation for terminal animation.
-
-
PHP
sugarcraft/sugar-animation
ANSI/GIF animation toolkit — GIF decode and frame playback (antecedent: gifterm) plus .ansi art playback (AnsiArt/ArtLibrary/ArtLoop). The viewer CLI lives in sugarcraft/candy-gifview.
-
PHP
sugarcraft/sugar-ansi-parser
ECMA-48 VT500 state machine — ANSI byte-stream parser with abstract Handler interface. Shared extraction from sugar-vterm.
-
PHP
sugarcraft/sugar-async
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.
-
PHP
sugarcraft/sugar-bits
PHP port of charmbracelet/bubbles — 17 pre-built TUI components (text input, dynamic-height textarea, list, table with per-cell styleFunc, tree, viewport, file picker, progress, spinner, etc.) for SugarCraft.
-
PHP
sugarcraft/sugar-boxer
Box-drawing layout engine — composes terminal content into horizontal and vertical panels with box-drawing borders, padding, and dynamic dimension calculation.
-
PHP
sugarcraft/sugar-calendar
Interactive date picker component for terminal UIs. Supports month/year navigation with min/max selection constraints, single and range selection via a TEA-ready model wrapper, keyboard navigation with a visible cursor, i18n month/day names, and customizable styling. Design antecedent: EthanEFung/bu
-
PHP
sugarcraft/sugar-cellbuffer
Cell-grid value objects for terminal rendering — Buffer and Cell as immutable, fluent data model.
-
PHP
sugarcraft/sugar-charts
Terminal charts for PHP — sparkline, bar, line, heatmap, scatter, time-series, streamline, waveline, OHLC, and inline Sixel/Kitty/iTerm2 images. Design antecedent: NimbleMarkets/ntcharts.
-
PHP
sugarcraft/sugar-cli
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).
-
PHP
sugarcraft/sugar-clipboard
Clipboard access for SugarCraft: one API for reading and writing the system clipboard, with an OSC 52 terminal backend.
-
PHP
sugarcraft/sugar-codec
YAML codec for SugarCraft: one parser and emitter for the YAML subset that SugarCraft tools read and write, shared instead of per-tool copies.
-
PHP
sugarcraft/sugar-colorprofile
Terminal color profile detection and color degradation (TrueColor → ANSI256 → ANSI → ASCII), inspired by charmbracelet/colorprofile.
-
PHP
sugarcraft/sugar-constraints
Constraint-based greedy layout solver for terminal grids (deprecated Cassowary shim retained for compatibility)
-
PHP
sugarcraft/sugar-core
MVC-style Model–Update–View TUI runtime for PHP 8.3+ (formerly sugarcraft/candy-core).
-
PHP
sugarcraft/sugar-crumbs
Navigation breadcrumbs for terminal UIs — a push/pop navigation stack with width-aware breadcrumb rendering, directory-driven stacks, and mouse-click crumb zones. Design antecedent: KevM/bubbleo.
-
PHP
sugarcraft/sugar-crush
Chat-shell TUI for AI coding assistants — port of charmbracelet/crush. Pluggable Backend interface (ship your own Anthropic / OpenAI / Ollama / shell-out adapter). Markdown rendering of replies via SugarMarkdown, scrollback viewport via SugarWidgets, input area via SugarWidgets TextArea.
-
TypeScript
sugarcraft/sugar-crush-web
Browser UI for candy-code's WebSocket server mode, shipped as a pre-built Vite + Vue 3 bundle with a one-class PHP shim that locates it. `candy-code serve` serves it on the same port, so PHP users need no Node.
-
PHP
sugarcraft/sugar-dash
Dashboard TUI library — column grid, constraint layout, ratio grid, data grid, tree, modal, status bar, tabs, plot/canvas, and module/plugin system. Ports patterns from bubble-grid, bubbletea-tilelayout, go-tealeaves, bubbleboxer, lattice, Homedash, and termui.
-
PHP
sugarcraft/sugar-dashboard
Dashboard TUI library — column grid, constraint layout, ratio grid, data grid, tree, modal, status bar, tabs, plot/canvas, and module/plugin system. Ports patterns from shahar3/bubble-grid, aristocratos/btop, treilik/bubbleboxer, gizak/termui, floatpane/lattice, mko88/bubbletea-tilelayout, mikeschin
-
PHP
sugarcraft/sugar-datepicker
Interactive month-grid date picker for terminal UIs. Supports month/year navigation with min/max selection constraints, single and range selection via a model wrapper implementing the MVC-style Model-Update-View (TEA) loop, keyboard navigation with a visible cursor, i18n month/day names, and customi
-
PHP
sugarcraft/sugar-diff
Unified-diff engine — LCS line diff, context hunks, GNU diff -u writer and scanner. Extracted from candy-code.
-
PHP
sugarcraft/sugar-flexbox
Terminal-cell layout utilities: FlexBox (CSS-flexbox-like responsive row/column layout), Table (sortable, filterable grid with cursor, styled columns and a delta-rendering TableRenderer), a scrolling Viewport with sticky regions, and Scrollbar indicators.
-
PHP
sugarcraft/sugar-focus
Focus-ring state machine — an ordered set of focusable regions with wrap-around Tab/Shift-Tab traversal for full-window TUI layouts. Dependency-free.
-
PHP
sugarcraft/sugar-forms
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.
-
PHP
sugarcraft/sugar-fuzzy
Fuzzy string matching with matched character indices plus the match score — Smith-Waterman + Sahilm algorithms. Enables filter-highlighting UIs across the ecosystem.
-
PHP
sugarcraft/sugar-gallery
Poster grids and rails for media TUIs — a 2-D virtualized PosterGrid with sparse range paging, a horizontal Rail carousel, and a PosterCard tile. Renderer-agnostic (holds pre-rendered poster cells).
-
PHP
sugarcraft/sugar-glow
PHP port of charmbracelet/glow — Markdown CLI viewer / pager composing CandyShine + Viewport. 8 stock themes, word-wrap, OSC 8 hyperlinks.
-
PHP
sugarcraft/sugar-ignore
gitignore-style ignore matching over injected file contents (no IO): negation, dir-only, anchoring, **, escapes, nested ignore files, git/info/exclude precedence, and a backtrack-free matcher that fails closed on hostile patterns. Extracted from candy-code.
-
PHP
sugarcraft/sugar-image
Image-to-cell renderer for terminals — PNG/JPEG/GIF/APNG/WebP/BMP decoded via ext-gd and pure-PHP animated-container decoders and rendered through the best available protocol: Sixel, Kitty, iTerm2, the chafa CLI, or Unicode text tiers (half/quarter block, ASCII character ramp, chafa-style symbol cov
-
PHP
sugarcraft/sugar-input
Terminal escape sequence decoder for keyboard (legacy, Kitty progressive protocol, xterm modifyOtherKeys) and mouse (X10, urxvt 1015, SGR 1006/1016), with typed terminal-reply draining. Provides the InputDriver interface and the EscapeDecoder implementation.
-
PHP
sugarcraft/sugar-jwt
JWT and JWK verification for SugarCraft: signature and claim checks for JSON Web Tokens and key sets, shared by the channel bundles instead of per-bundle copies.
-
PHP
sugarcraft/sugar-log
PHP logger inspired by charmbracelet/log — minimal, colorful leveled logging with structured human-readable output, text/JSON/logfmt formatters, and stdlog adapter.
-
PHP
sugarcraft/sugar-markdown
Markdown → ANSI renderer for PHP terminals — word-wrap, OSC 8 hyperlinks, syntax highlighting, 9 stock themes (notty aliases plain); originally inspired by charmbracelet/glamour.
-
PHP
sugarcraft/sugar-mcp
MCP client core — JSON-RPC 2.0 codec, newline-delimited stdio transport and initialize/tools protocol layer. Extracted from candy-code.
-
PHP
sugarcraft/sugar-mcp-client
MCP client core — JSON-RPC 2.0 codec, newline-delimited stdio transport and initialize/tools protocol layer. Extracted from candy-code.
-
PHP
sugarcraft/sugar-metrics
Telemetry primitives for SugarCraft / SugarSshServer — six instrument kinds (counter, gauge, histogram, up/down counter, async counter, async gauge) with pluggable backends (in-memory, StatsD UDP, Prometheus textfile, JSON stream, multi fan-out). Drop-in middleware for SSH session metrics.
-
PHP
sugarcraft/sugar-mouse
Mouse support for terminal UIs: sentinel-tagged Mark/Scan/Get hit-testing primitives (ZoneClickTracker press/release dedup, Selection) plus the bubblezone-style Zones Manager layer with hover, drag, and multi-click trackers — both layers in one package.
-
PHP
sugarcraft/sugar-navstack
Navigation breadcrumbs for terminal UIs — a push/pop navigation stack with width-aware breadcrumb rendering, directory-driven stacks, and mouse-click crumb zones. Design antecedent: KevM/bubbleo.
-
PHP
sugarcraft/sugar-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, backdrop dimming, animated transitions, border chrome and click-zone hit-testing. Antecedent design: rmhubbert/bubbletea-
-
PHP
sugarcraft/sugar-panels
Box-drawing layout engine — composes terminal content into horizontal and vertical panels with box-drawing borders, padding, and dynamic dimension calculation.
-
PHP
sugarcraft/sugar-plugin-installer
Composer installer for SugarCraft plugin packages (type sugar-plugin): stages each package to the user or project bundle directory that the root project's extra selects, and never runs plugin code.
-
PHP
sugarcraft/sugar-plugins
Generic plugin core for SugarCraft hosts: the plugin and channel contracts, the plugin launch context, the prompt-fence escape, and the generic loader, quarantine ledger, registry and manifest reader.
-
PHP
sugarcraft/sugar-post
Email sender for PHP, modeled on the charmbracelet/pop Go tool — send via the Resend API or direct SMTP. Compose from stdin, attach files, supports CC/BCC, HTML body.
-
PHP
sugarcraft/sugar-pty
PHP pseudo-terminal primitives (open / spawn / resize) inspired by creack/pty and charmbracelet/x/xpty for SugarCraft. Linux + macOS via FFI to libc, Windows via ConPTY.
-
PHP
sugarcraft/sugar-quickpick
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.
-
PHP
sugarcraft/sugar-readline
Interactive line-editing prompts for terminal UIs — text input with validation/completion/hidden-password mode, selection prompts with filtering/pagination/cursor navigation, multi-select prompts, confirmation prompts and multi-line textarea input. Design antecedent: erikgeiser/promptkit; developed
-
PHP
sugarcraft/sugar-reel
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.
-
PHP
sugarcraft/sugar-releases
Phar self-update engine and launch-time update notice for SugarCraft apps: GitHub release selection (stable + rolling latest channel), sha256 sidecar + Ed25519 verification before the swap, one-shot .old rollback, Windows relaunch-dance swap helper. Extracted from candy-code.
-
PHP
sugarcraft/sugar-serve-protocol
Wire contract for the candy-code.v1 serve protocol: subprotocol names, frame cap, discovery and token readers, and WebSocket URL normalisation.
-
PHP
sugarcraft/sugar-skate
PHP port of charmbracelet/skate — a personal key/value store with multi-database support, binary data, and glob/list filtering.
-
PHP
sugarcraft/sugar-spark
PHP port of charmbracelet/sequin — ANSI escape-sequence inspector. Decodes SGR / CSI / OSC / DCS / APC / SS3 sequences into human-readable labels.
-
PHP
sugarcraft/sugar-spring
Damped spring physics for PHP — spring core mirrors charmbracelet/harmonica, extended with projectile simulation, easing/Bezier timing curves, spring chains, collections and reduced-motion snapping for spring-driven types; pure math, no terminal dependency.
-
PHP
sugarcraft/sugar-ssh-server
SSH server middleware framework — inspired by charmbracelet/wish, developed as a native PHP project. Composable middleware (auth, logging, rate-limiting, channel handling) and a PTY supervisor that runs a shell or a SugarCraft Program under a host OpenSSH daemon's ForceCommand. It does not implement
-
PHP
sugarcraft/sugar-stash
Terminal Git client — port of jesseduffield/lazygit on the SugarCraft stack.
-
PHP
sugarcraft/sugar-stickers
Terminal-cell layout utilities: FlexBox (CSS-flexbox-like responsive row/column layout), Table (sortable, filterable data table with column definitions) and a scrolling Viewport.
-
PHP
sugarcraft/sugar-style
Declarative styling and layout for terminal UIs, inspired by charmbracelet/lipgloss.
-
PHP
sugarcraft/sugar-table
PHP port of Evertras/bubble-table — customizable interactive table component for terminal UIs. Supports column definitions with keys/titles/widths, rows as key-value maps, styled cells, selection, pagination, sorting, filtering, frozen columns, horizontal scrolling, zebra striping, and ANSI border s
-
PHP
sugarcraft/sugar-testing
Test harness for SugarCraft programs — ProgramSimulator, scripted input, golden/snapshot assertions, VHS tape building, and graphics-stream decoding.
-
PHP
sugarcraft/sugar-tick
Privacy-first coding-time tracker — port of Rtarun3606k/TakaTime on the SugarCraft stack.
-
PHP
sugarcraft/sugar-toast
Floating alert notification component for terminal UIs (design antecedent: DaltonSW/bubbleup). Supports error/warning/info/success alerts at 9 screen positions, fixed or content-fit width (via minWidth), NerdFont/Unicode/Ascii symbols, host-driven auto-dismiss.
-
PHP
sugarcraft/sugar-treelist
Tree-list view component for terminal UIs in PHP — customizable prefix/suffix rendering, whitespace-faithful line wrapping, cursor navigation, live filtering, and per-row delta repaint. Primary design source: charmbracelet/bubbles/list; naming and tree-gutter context: treilik/bubblelister.
-
PHP
sugarcraft/sugar-veil
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, backdrop dimming, animated transitions, border chrome and click-zone hit-testing. Antecedent design: rmhubbert/bubbletea-
-
PHP
sugarcraft/sugar-video
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.
-
PHP
sugarcraft/sugar-vterm
In-memory virtual terminal emulator — parses ANSI byte stream into a cell grid.
-
PHP
sugarcraft/sugar-widgets
Pre-built terminal UI components for SugarCraft — text input, dynamic-height textarea, list, table with per-cell styleFunc, tree, viewport, file picker, progress, spinner (originally inspired by charmbracelet/bubbles).
-
PHP
sugarcraft/sugar-wishlist
SSH endpoint launcher — a TUI directory of `ssh user@host` shortcuts. Port of charmbracelet/wishlist. Loads endpoints from YAML/JSON, renders an interactive picker, then `exec`s into the chosen ssh client (with full host-key prompt / agent forwarding fidelity).
-
PHP
sugarcraft/sugar-ws-rpc
WebSocket RPC transport for SugarCraft: a request/response channel with server-push frames over a WebSocket connection, for bundles and hosts that talk to a remote SugarCraft peer.
-
PHP
sugarcraft/sugarcraft
PHP ports of the Charmbracelet TUI ecosystem (umbrella monorepo) — install the SugarCraft libraries at once.
-
PHP
sugarcraft/super-candy
Dual-pane terminal file manager built on the SugarCraft stack. Inspired by superfile and Midnight Commander. Navigate two directories side-by-side, sort by name / mtime / size, multi-select, delete with confirmation, swap focus with Tab.
-
PHP
sugarcraft/candy-zone
PHP port of lrstanley/bubblezone — mouse zone tracker for TUI apps.
Abandoned!
-
PHP
sugarcraft/sugar-prompt
PHP port of charmbracelet/huh — interactive form library (Note, Input, Confirm, Select, MultiSelect, Text, FilePicker, Date, Slider, Color) with multi-page Group support, 7 stock themes, and form-level KeyMap override per binding.
Abandoned!