blessed-widget-generator

Solid

Generate blessed widgets for Node.js terminal UIs with boxes, lists, forms, and dashboard layouts.

AI & Automation 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 95/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Blessed Widget Generator Generate blessed widgets for Node.js terminal UIs. ## Capabilities - Generate blessed widget definitions - Create dashboard layouts - Set up interactive forms - Implement custom components - Configure styling and borders - Create event handling patterns ## Usage Invoke this skill when you need to: - Build terminal dashboards with Node.js - Create complex TUI layouts - Implement monitoring interfaces - Set up blessed project structure ## Inputs | Parameter | Type | Required | Description | |-----------|------|----------|-------------| | projectName | string | Yes | Project name | | layout | string | No | Layout type (dashboard, form, list) | | widgets | array | No | Widget definitions | ## Generated Patterns ### Dashboard Layout ```javascript const blessed = require('blessed'); const contrib = require('blessed-contrib'); // Create screen const screen = blessed.screen({ smartCSR: true, title: 'System Dashboard', }); // Create grid layout const grid = new contrib.grid({ rows: 12, cols: 12, screen: screen, }); // CPU Line Chart const cpuLine = grid.set(0, 0, 4, 6, contrib.line, { style: { line: 'yellow', text: 'green', baseline: 'black' }, xLabelPadding: 3, xPadding: 5, showLegend: true, label: 'CPU Usage', }); // Memory Gauge const memGauge = grid.set(0, 6, 4, 6, contrib.gauge, { label: 'Memory Usage', stroke: 'green', fill: 'white', }); // Log Box const logBox = grid.set(4, 0, 4, 12, contrib.log, { fg: 'green...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Related Skills