blessed-contrib
15,774
Stars
—
Forks
0
Watchers
—
Open Issues
待补全
许可证
JavaScript
语言
—
创建时间
最近更新
项目能做什么
使用 JavaScript 与 ASCII/ANSI 艺术构建终端仪表盘的库。
来源:基于仓库元数据
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
## blessed-contrib
Build dashboards (or any other application) using ascii/ansi art and javascript.
Friendly to terminals, ssh and developers. Extends [blessed](https://github.com/chjj/blessed) with custom [drawille](https://github.com/madbence/node-drawille) and other widgets.
You should also [check WOPR](https://github.com/yaronn/wopr): a markup for creating terminal reports, presentations and infographics.
**Contributors:**
Yaron Naveh ([@YaronNaveh](http://twitter.com/YaronNaveh))
Chris ([@xcezzz](https://twitter.com/xcezzz))
Miguel Valadas ([@mvaladas](https://github.com/mvaladas))
Liran Tal ([@lirantal](https://github.com/lirantal))
**Demo ([full size](https://raw.githubusercontent.com/yaronn/blessed-contrib/master/docs/images/term3.gif)):**
<img src="./docs/images/truload.png" alt="term" width="800">
<img src="./docs/images/term3.gif" alt="term" width="800">
([source code](./examples/dashboard.js))
**Running the demo**
git clone https://github.com/yaronn/blessed-contrib.git
cd blessed-contrib
npm install
node ./examples/dashboard.js
Works on Linux, OS X and Windows. For Windows follow the [pre requisites](http://webservices20.blogspot.co.il/2015/04/running-terminal-dashboards-on-windows.html).
## Installation (to build custom projects)
Please use the latest stable version of [Node.js LTS](https://nodejs.org/en/about/releases) and install `blessed-contrib` and its peer dependency `blessed` as follows:
```sh
npm install blessed blessed-contrib
```
## Usage
You can use any of the default widgets of [blessed](https://github.com/chjj/blessed) (texts, lists and etc) or the widgets added in blessed-contrib (described below). A [layout](#layouts) is optional but useful for dashboards. The widgets in blessed-contrib follow the same usage pattern:
`````javascript
var blessed = require('blessed')
, contrib = require('blessed-contrib')
, screen = blessed.screen()
, line = contrib.line(
{ style:
{ line: "yellow"
, text: "green"
, baseline: "black"}
, xLabelPadding: 3
, xPadding: 5
, label: 'Title'})
, data = {
x: ['t1', 't2', 't3', 't4'],
y: [5, 1, 7, 5]
}
screen.append(line) //must append before setting data
line.setData([data])
screen.key(['escape', 'q', 'C-c'], function(ch, key) {
return process.exit(0);
});
screen.render()
`````
See below for a complete list of widgets.
## Widgets
[Line Chart](#line-chart)
[Bar Chart](#bar-chart)
[Stacked Bar Chart](#stacked-bar-chart)
[Map](#map)
[Gauge](#gauge)
[Stacked Gauge](#stacked-gauge)
[Donut](#donut)
[LCD Display](#lcd-display)
[Rolling Log](#rolling-log)
[Picture](#picture)
[Sparkline](#sparkline)
[Table](#table)
[Tree](#tree)
[Markdown](#markdown)
### Line Chart
<img src="./docs/images/line.gif" alt="line" width="400">
`````javascript
var line = contrib.line(
{ style:
{ line: "yellow"
阅读完整原文
项目深度分析 规则生成(AI 未配置)
综合评分 49.9 分。该项目在“个人可实施性”维度得 60 分,“付费可能性”维度得 32.0 分,差异化空间 70.0 分(评分依据见评分卡)。
面向细分需求的二次开发产品
| 产品构想 | 基于 blessed-contrib 的核心能力,聚焦一个更窄的场景(如某平台、某行业)做差异化。 |
| 目标用户 | 该细分场景用户 |
| 难度/周期 | 中 · 2~6 周 |
| 收费模式 | 买断制 / 订阅制 / 广告 |
| 竞争风险 | 细分需求规模需验证 |
| 依据 | AI 推测:基于项目主题标签的判断 |
封装为在线小工具或 API 服务
| 产品构想 | 把项目最常用的一个功能做成网页小工具,靠流量变现或按量计费。 |
| 目标用户 | 搜索引擎带来的长尾用户 |
| 难度/周期 | 低 · 1~3 周 |
| 收费模式 | 免费引流 + 增值功能 / API 按量计费 |
| 竞争风险 | 同质化竞争,需做好 SEO |
| 依据 | AI 推测:基于技术栈与部署特征的判断 |
以上为规则引擎基于仓库公开数据生成的参考结论,包含推测成分,不构成投资或创业承诺;配置 AI 后可获得更深入的分析。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
| 项目 | 中文简介 | Stars | 语言 |
|---|---|---|---|
| dundalek/react-blessed-contrib | 中文介绍暂未生成 A wrapper for blessed-contrib widgets to be rendered with re |
64 | JavaScript |
| rajasegar/awesome-blessed | 中文介绍暂未生成 Awesome list of resources for blessed |
24 | - |
| yagop/bitcore-tx-blessed | 中文介绍暂未生成 Show live Bitcoin transactions on a fancy terminal |
5 | JavaScript |
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。
项目优势与风险
| 技术成熟度 | 创建时间待补全,最近推送 |
| 社区活跃 | Star 15,774 / Fork 0 / Issue 0(数据支持,可自行核实) |
| 许可证 | 未检测到(需人工确认) |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。