ahmadawais

A fast, functional TypeScript library for building terminal user interfaces.

87
5
100% credibility
Found Mar 02, 2026 at 85 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

terminui is a TypeScript library for building fast, functional terminal user interfaces with layouts, styles, and widgets like charts, lists, and tables.

How It Works

1
🔍 Discover terminui

You hear about a handy tool for making beautiful, interactive displays right in your command line window, perfect for dashboards or menus.

2
📦 Add it to your project

You easily bring terminui into your work area so it's ready to use.

3
Draw your first box

With a few simple lines, you create a neat bordered box with text inside, and see it pop up looking sharp and professional.

4
🎨 Build layouts and add pieces

You arrange sections side-by-side or stacked, then fill them with lists, charts, progress bars, and tables that fit perfectly.

5
Run ready-made examples

You try out sample screens like a live weather dashboard or full menu system, watching them update smoothly in real time.

6
🛠️ Shape your own screen

You mix and match the pieces, tweak colors and styles, and add scrolls or highlights to make exactly what you envision.

Enjoy your sleek terminal app

Your command line now shows a polished, responsive interface that feels modern and fun to use every day.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 85 to 87 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is terminui?

terminui is a TypeScript library for crafting terminal user interfaces with a pure functional approach—no classes or mutation, just composable plain objects. It handles double-buffered rendering for smooth updates, rich layouts via constraints like percentages and ratios, and full ANSI styling with 24-bit colors and modifiers. Developers get 10+ widgets out of the box: tables, lists, gauges, sparklines, barcharts, tabs, and scrollbars, plus pluggable backends for testing or Node.js terminals—ideal for fast functional analysis in CLI dashboards.

Why is it gaining traction?

Its functional purity keeps code predictable and testable, unlike class-heavy alternatives, while double-buffering ensures only changed cells redraw for blazing performance in loops. The constraint-based layout shines for responsive TUIs, and built-in stateful widgets like selectable lists/tables handle common interactions without boilerplate. Examples like weather dashboards and kitchen-sink demos make prototyping a fast functional assessment straightforward.

Who should use this?

Node.js CLI authors building interactive tools, like log analyzers or config editors needing tables and gauges. DevOps folks crafting real-time monitors with sparklines and barcharts. Anyone evaluating fast functional assessment staging tools in terminals, especially if you want TypeScript strictness without Ink.js overhead.

Verdict

With 28 stars and 1.0% credibility score, it's early-stage but battle-ready—strict TS, Vitest coverage, and polished README/examples make it worth a spin for prototypes. Skip for production unless you need its functional hooks; otherwise, clone the weather demo for a quick win.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.