Terminal install progress
Vista previa de Terminal install progress
Primitiva

Terminal install progress

@opus-motion-library/terminal-install-progress

De Opus Motion Library

A terminal window: a command types in and runs, progress rows appear one by one (spinner, label, filling bar, percentage and size readout, each ending in a green check), then success lines and a fresh blinking prompt.

Instalación

node cli/mgl.mjs add terminal-install-progress --to <your-project>/src

Cuándo usarlo

Ideal para
Install / setup / "get started in one command" beats, CLI and package-manager promos, developer onboarding, build or deploy output, release trailers.

Especificaciones

Duración
300f · 10s
Tipo de duración
Fija
FPS
30
Licencia
MIT

Props (16)

  • titlestring= "zsh — 96×28"

    window title

  • cwdstring= "~/project"

    working-directory text before the prompt

  • promptstring= "$"

    prompt symbol

  • commandstring= "pkg install awesome-toolkit"

    the command that is typed and run

  • stepsarray= [{"label":"Resolving dependencies","detail":"142 packages"},{"label":"Downloading packages","size":84,"unit":"MB"},{"…

    progress rows [{label, size? (total, counts up), unit? (default MB), detail? (text instead of size)}]

  • successLinesarray= ["Installed 142 packages in 6.4s","Run `awesome --help` to get started"]

    lines printed after the steps (wrap `code` in backticks to highlight it)

  • stepFramesnumber= 32

    frames each progress bar takes

  • typeSpeednumber= 26

    command typing speed in chars/s

  • speednumber= 1

    timing multiplier

  • startAtnumber= 0

    frame the terminal starts

  • backgroundstring= "#0B0E14"

    page colour or 'transparent'

  • panelstring= "#12161F"

    window colour (dark or light)

  • inkstring= "#E6EAF2"

    text colour

  • accentstring= "#79B8FF"

    prompt / progress colour

  • okColorstring= "#3FD68F"

    success colour

  • fontFamilystring= ""

    monospace font override (empty = JetBrains Mono)

Categorías