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, and AsyncOps helpers (withTimeout, retry, debounce, throttle) 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 Anthropic / OpenAI / Ollama / shell-out adapter). Markdown rendering of replies via SugarMarkdown, scrollback viewport via SugarWidgets, input area via SugarWidgets 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
PHP port of charmbracelet/freeze — render code or terminal output to SVG (or PNG with ext-gd) screenshots with macOS-style window controls, drop shadow, line numbers, and inline ANSI SGR colour parsing.
-
PHP
sugarcraft/candy-codetime
Privacy-first coding-time tracker — design antecedent Rtarun3606k/TakaTime, native PHP on the SugarCraft stack.
-
-
PHP
sugarcraft/candy-files
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-flappy
Flappy-Bird-style game — port of kbrgl/flapioca on the SugarCraft stack.
-
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
Foundation lib for form primitives (TextInput, TextArea, ItemList, Viewport, FilePicker, Field interface, Confirm, Form) extracted from sugar-bits, with the interactive huh-style form engine folded in.
-
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 scored matched indices — Smith-Waterman + Sahilm algorithms. Unblocks filter-highlighting UI across the ecosystem.
-
PHP
sugarcraft/candy-gifview
Terminal GIF viewer (gifterm port) — the command-line front end of sugarcraft/sugar-animation.
-
PHP
sugarcraft/candy-git
Terminal Git client — port of jesseduffield/lazygit on the SugarCraft stack.
-
PHP
sugarcraft/candy-git-server
Scaffold library pieces for a self-hostable Git server: config, repo, user/access-control, git-daemon, smart-HTTP, ForceCommand SSH-gate and LFS classes, each individually tested. No assembled server ships yet — the serve command refuses; see README 'Known gaps'. Modeled on the charmbracelet/soft-se
-
PHP
sugarcraft/candy-hermit
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.
-
PHP
sugarcraft/candy-input
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.
-
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
PHP port of charmbracelet/skate — a personal key/value store with multi-database support, binary data, and glob/list filtering.
-
-
PHP
sugarcraft/candy-lister
PHP port of treilik/bubblelister — tree-list view component with customisable prefix/suffix rendering, line wrapping, cursor navigation, and per-item styling hooks.
-
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 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. 8 stock themes, 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 — port of maxpaulus43/go-sweep on the SugarCraft stack.
-
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
Self-contained Mark/Scan/Get mouse hit-testing (bubblezone pattern) plus ZoneClickTracker for press/release deduplication. No external Manager wiring needed.
-
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 subcommands: choose, confirm, file, filter, format, input, join, log, pager, spin, style, table, write.
-
PHP
sugarcraft/candy-serve
PHP port of charmbracelet/soft-serve — self-hostable Git server over SSH, Git daemon, and HTTP. Supports user management via SSH public keys, repo access control (public/private), collaborators, on-demand repo creation, Git LFS, and an SSH-accessible TUI for browsing repos/files/commits.
-
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`. Ships a runnable counter Model wired through Program, plus a docs-as-code walkthrough that maps each shipped file to the concept it demonstrates.
-
PHP
sugarcraft/candy-testing
Test harness for TEA programs — ProgramSimulator, golden-file assertions, and snapshot helpers for SugarCraft.
-
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 SugarCraft charting libs — PHP TUI port inspired by aristocratos/btop.
-
PHP
sugarcraft/candy-vcr
Record and replay sugar-core Program sessions into cassettes — 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, and AsyncOps helpers (withTimeout, retry, debounce, throttle) 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
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.
-
PHP
sugarcraft/sugar-calendar
PHP port of EthanEFung/bubble-datepicker — interactive date picker component for terminal UIs. Supports month/year navigation, keyboard navigation, date selection with visual cursor, and customizable styling.
-
PHP
sugarcraft/sugar-cellbuffer
Cell-grid value objects for terminal rendering — Buffer and Cell as immutable, fluent data model.
-
PHP
sugarcraft/sugar-charts
PHP port of NimbleMarkets/ntcharts — terminal charts (canvas, sparkline, bar, line, heatmap, scatter, time-series, OHLC, streamline, waveline) for SugarCraft.
-
PHP
sugarcraft/sugar-cli
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/sugar-colorprofile
PHP port of charmbracelet/colorprofile — magical terminal color profile detection and color degradation (TrueColor → ANSI256 → ANSI → ASCII).
-
PHP
sugarcraft/sugar-constraints
Constraint-based layout solver (Cassowary simplex + greedy fallback)
-
-
PHP
sugarcraft/sugar-crumbs
PHP port of KevM/bubbleo — NavStack and Breadcrumb components. Push/pop navigation stack with hierarchical breadcrumb rendering for terminal UIs.
-
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 bubble-grid, bubbletea-tilelayout, go-tealeaves, bubbleboxer, lattice, Homedash, and termui.
-
PHP
sugarcraft/sugar-datepicker
PHP port of EthanEFung/bubble-datepicker — interactive date picker component for terminal UIs. Supports month/year navigation, keyboard navigation, date selection with visual cursor, and customizable styling.
-
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 data table with column definitions) and a scrolling Viewport.
-
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
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.
-
PHP
sugarcraft/sugar-fuzzy
Fuzzy string matching with scored matched indices — Smith-Waterman + Sahilm algorithms. Unblocks filter-highlighting UI 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-image
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/sugar-input
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.
-
PHP
sugarcraft/sugar-log
PHP port of charmbracelet/log — minimal, colorful leveled logging with structured human-readable output, text/JSON/logfmt formatters, and stdlog adapter.
-
PHP
sugarcraft/sugar-markdown
PHP port of charmbracelet/glamour — Markdown → ANSI renderer with word-wrap, OSC 8 hyperlinks, syntax highlighting, and 9 stock themes (ansi/plain/dark/light/notty/dracula/tokyo-night/pink/ascii).
-
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 — counters, gauges, histograms with pluggable backends (in-memory, StatsD UDP, Prometheus textfile, JSON stream). Drop-in middleware for SSH session metrics.
-
PHP
sugarcraft/sugar-mouse
Self-contained Mark/Scan/Get mouse hit-testing (bubblezone pattern) plus ZoneClickTracker for press/release deduplication. No external Manager wiring needed.
-
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-post
PHP port of charmbracelet/pop — send emails from PHP via Resend API or direct SMTP. Compose from stdin, attach files, supports CC/BCC, HTML body.
-
PHP
sugarcraft/sugar-pty
PHP port of charmbracelet/x/xpty — pseudo-terminal abstraction (open / spawn / resize) for SugarCraft. Linux + macOS via FFI to libc.
-
PHP
sugarcraft/sugar-quickpick
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.
-
PHP
sugarcraft/sugar-readline
PHP port of erikgeiser/promptkit — interactive line-editing prompt library. Supports text input with validation/completion/hidden-password mode, selection prompts with filtering/pagination/cursor navigation, confirmation prompts, and textarea multi-line input.
-
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-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
PHP port of charmbracelet/harmonica — damped spring physics + Newtonian projectile simulation for terminal animation.
-
PHP
sugarcraft/sugar-ssh-server
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/sugar-stash
Terminal Git client — port of jesseduffield/lazygit on the SugarCraft stack.
-
PHP
sugarcraft/sugar-stickers
PHP port of 76creates/stickers — Lipgloss utility components. FlexBox (CSS flexbox-like responsive grid layout) and Table (sortable, filterable data table with column definitions).
-
PHP
sugarcraft/sugar-style
PHP port of charmbracelet/lipgloss — declarative terminal styling and layout.
-
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 TEA programs — ProgramSimulator, golden-file assertions, and snapshot helpers for SugarCraft.
-
PHP
sugarcraft/sugar-tick
Privacy-first coding-time tracker — port of Rtarun3606k/TakaTime on the SugarCraft stack.
-
PHP
sugarcraft/sugar-toast
PHP port of DaltonSW/bubbleup — floating alert notification component for terminal UIs. Supports error/warning/info/success alerts at 9 screen positions, dynamic width, NerdFont/Unicode/Ascii symbols, auto-dismiss timers.
-
PHP
sugarcraft/sugar-treelist
PHP port of treilik/bubblelister — tree-list view component with customisable prefix/suffix rendering, line wrapping, cursor navigation, and per-item styling hooks.
-
PHP
sugarcraft/sugar-veil
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.
-
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
PHP port of charmbracelet/bubbles — 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-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/sugarcraft
PHP ports of the Charmbracelet TUI ecosystem (umbrella monorepo) — install all 46 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!