🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

nimtui

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nimtui

Live system dashboard built with loom, the reactive TUI framework for Nim. Ships the `nimtui` command — try the framework in one npx.

latest
Source
npmnpm
Version
0.2.1
Version published
Maintainers
1
Created
Source

nimtui

Live system dashboard built with loom, the reactive TUI framework for Nim.

One command, one zero-dependency native binary — a full terminal dashboard showing what the framework does: reactive signals, flex layout, a declarative macro DSL, mouse support, themes, and diffed rendering.

  • live process table (keyed selection — stays on your process while the list re-sorts)
  • type-to-filter with an autofocused input
  • load + memory gauges, history sparkline, scrolling log
  • tabs, scrollable help viewport, wide-glyph (CJK/emoji) rendering

Install

npm install -g nimtui
nimtui

or just try it:

npx nimtui

This installs a prebuilt native binary (the framework and dashboard are written in Nim; the binary links only libSystem).

Keys

keyaction
qquit
tabcycle focus (the filter starts focused)
↑/↓, click, wheel, dragselect processes
←/→switch tabs
tcycle themes (default → neon → mono)
mtoggle mouse capture (off = terminal text selection works)

The framework

The dashboard is ~100 lines of view code. The interesting part is loom itself — signals with automatic dependency tracking, a tui: macro where plain Nim control flow builds the widget tree, and cell-diffed ANSI output:

let cpu = signal(0.42)

proc view(): Widget =
  tui:
    vbox:
      panel(title = "stats", height = fixed(3)):
        gauge(cpu.get, label = "cpu")

Docs and source: https://github.com/adamsjack711-ux/NimTui

Platform support

Prebuilt binaries for macOS (arm64, x64) and Linux (arm64, x64 — static musl, runs anywhere). Other platforms can build from source with nim (nimble demo in the repo) and set NIMTUI_BIN to the built binary.

License

MIT

Keywords

tui

FAQs

Package last updated on 16 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts