detain member since: Sep 13, 2013

detain's packages

  • PHP

    sugarcraft/candy-buffer

    Cell-grid value objects for terminal rendering — Buffer and Cell as immutable, fluent data model.

  • PHP

    sugarcraft/candy-core

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

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

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

  • 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 and sugar-prompt.

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

    Constraint-based layout solver (Cassowary simplex + greedy fallback)

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