Packages from sugarcraft

  • PHP

    sugarcraft/candy-core

    PHP port of charmbracelet/bubbletea — Elm-architecture TUI runtime.

  • PHP

    sugarcraft/candy-flip

    ASCII GIF viewer — port of namzug16/gifterm on the SugarCraft stack.

  • 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-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-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-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-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-mines

    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-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-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-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-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-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-vcr

    Record and replay candy-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/candy-zone

    PHP port of lrstanley/bubblezone — mouse zone tracker for TUI apps.

  • PHP

    sugarcraft/honey-bounce

    PHP port of charmbracelet/harmonica — damped spring physics + Newtonian projectile simulation for terminal animation.

  • PHP

    sugarcraft/honey-flap

    Flappy-Bird-style game — port of kbrgl/flapioca on the SugarCraft stack.

  • PHP

    sugarcraft/sugar-bits

    PHP port of charmbracelet/bubbles — 15 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-charts

    PHP port of NimbleMarkets/ntcharts — terminal charts (canvas, sparkline, bar, line, heatmap, scatter, time-series, OHLC, streamline, waveline) for SugarCraft.

  • 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 CandyShine, scrollback viewport via SugarBits, input area via SugarBits TextArea.

  • 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-glow

    PHP port of charmbracelet/glow — Markdown CLI viewer / pager composing CandyShine + Viewport. 8 stock themes, word-wrap, OSC 8 hyperlinks.

  • 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-prompt

    PHP port of charmbracelet/huh — interactive form library (Note, Input, Confirm, Select, MultiSelect, Text, FilePicker) with multi-page Group support, 6 stock themes, and form-level KeyMap override per binding.

  • 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-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-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-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-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 6 screen positions, dynamic width, NerdFont/Unicode/ASCII symbols, auto-dismiss timers.

  • 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 pixel offsets.

  • 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.