Skip to content

v0.3.2 - rewritten home screen with block digits and a braille waveform

Choose a tag to compare

@programmersd21 programmersd21 released this 04 Oct 12:10
· 10 commits to main since this release

the largest visual and structural release so far.

added

  • a rewritten home screen: 5x5 bitmap block digits for download and upload,
    adapted from the timr-tui technique, with a mirrored braille waveform,
    download above the axis and upload below.
  • per half auto scaling, a dotted centre axis, time labels, and a stats row
    for today, ping, and top talker.
  • internal/render: a braille canvas, a solid area fill renderer with
    catmull-rom smoothing, per row gradient bands, ema display smoothing, and
    blocks and ascii fallback glyphs.
  • internal/format: a --format template engine with rate, bytes, bits, pad,
    color, and spark, plus fixed width --width output for status bars.
  • new keys: w for time window, s for snapshot export, S for graph scale, and G
    for gridlines, each confirmed by a toast.
  • new flags: --view, --window, --no-anim, --theme, --format, --width, and
    --reset-history.
  • vumeter peak hold, burst ripple, launch sequence, and an idle breathing
    pulse, all disabled by --no-anim, the environment, or config.
  • golden frame tests at 60x20, 80x24, 100x30, and 140x40, plus a frozen footer
    contract test.
  • semantic theme tokens with automatic derivation, so existing custom themes
    keep working.
  • config sections for ui, graph, latency, storage, processes, geoip, and
    export, which clamp bad values and warn instead of crashing.
  • docs for themes, json, integrations, and architecture.

changed

  • hero numbers are centered as a single group, fixing a double subtraction
    that broke the centering it claimed.
  • theme picker swatches use the accent tokens the hero digits render in.
  • the header is centered by the frame rather than pre padded by itself.
  • the arrow and unit moved off the baseline digit row onto the caption row, so
    every digit row is the same width.
  • the status row reports only deviations from defaults.
  • the home screen dropped boxed panels in favor of gradients and whitespace.
  • theme switches crossfade over roughly 180ms.
  • the hero layout stacks on terminals narrower than 60 columns.
  • non tty stdout defaults to a single plain line, so pipes never receive ansi.
  • waveform values are smoothed for display only; raw samples still feed peaks,
    today totals, and json.

removed

  • the command palette, the latency, heatmap, and particle views, demo mode, and
    the unused internal/data and internal/motion packages.
  • the peak hold line, which drew a full width row of isolated glyphs over the
    waveform while the peak value was already shown numerically.

fixed

  • the ansi theme rendered the whole graph black, because palette indices were
    read as zeroed rgb stops.
  • latency color now follows the theme status tokens everywhere.
  • the theme picker was clipped by its own more indicators.

install

  • go install github.com/programmersd21/flow/cmd/flow@v0.3.2
  • or download a prebuilt archive and checksums.txt for linux, macos, and
    windows on amd64 and arm64.

full detail is in changelog.md.