libvaxis
2,043
Stars
—
Forks
0
Watchers
—
Open Issues
待补全
许可证
Zig
语言
—
创建时间
最近更新
项目能做什么
使用 Zig 语言编写的现代化 TUI(终端用户界面)库。
来源:AI 基于仓库事实生成
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# libvaxis
```
It begins with them, but ends with me. Their son, Vaxis
```

Libvaxis _does not use terminfo_. Support for vt features is detected through
terminal queries.
Vaxis uses zig `0.17.1`. Support for zig master (`0.18.0-dev`) is tracked on
the [`zig-0.18`](https://github.com/rockorager/libvaxis/tree/zig-0.18) branch.
## Features
libvaxis supports all major platforms: macOS, Windows, Linux/BSD/and other
Unix-likes.
- RGB
- [Hyperlinks](https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda) (OSC 8)
- Bracketed Paste
- [Kitty Keyboard Protocol](https://sw.kovidgoyal.net/kitty/keyboard-protocol/)
- [Fancy underlines](https://sw.kovidgoyal.net/kitty/underlines/) (undercurl, etc)
- Mouse Shapes (OSC 22)
- System Clipboard (OSC 52)
- System Notifications (OSC 9)
- System Notifications (OSC 777)
- [Program Status](https://www.superlogical.com/rex/docs/build/program-status) (OSC 7501)
- Synchronized Output (Mode 2026)
- [Unicode Core](https://github.com/contour-terminal/terminal-unicode-core) (Mode 2027)
- Color Mode Updates (Mode 2031)
- [In-Band Resize Reports](https://gist.github.com/rockorager/e695fb2924d36b2bcf1fff4a3704bd83) (Mode 2048)
- Images ([kitty graphics protocol](https://sw.kovidgoyal.net/kitty/graphics-protocol/))
- [Explicit Width](https://github.com/kovidgoyal/kitty/blob/master/docs/text-sizing-protocol.rst) (width modifiers only)
## Usage
[Documentation](https://rockorager.github.io/libvaxis/#vaxis.Vaxis)
The library provides both a low level API suitable for making applications of
any sort as well as a higher level framework. The low level API is suitable for
making applications of any type, providing your own event loop, and gives you
full control over each cell on the screen.
The high level API, called `vxfw` (Vaxis framework), provides a Flutter-like
style of API. The framework provides an application runtime which handles the
event loop, focus management, mouse handling, and more. Several widgets are
provided, and custom widgets are easy to build. This API is most likely what you
want to use for typical TUI applications.
### Add libvaxis to your project
```console
zig fetch --save git+https://github.com/rockorager/libvaxis.git
```
Add this to your build.zig
```zig
const vaxis = b.dependency("vaxis", .{
.target = target,
.optimize = optimize,
});
exe.root_module.addImport("vaxis", vaxis.module("vaxis"));
```
or for ZLS support
```zig
// create module
const exe_mod = b.createModule(.{
.root_source_file = b.path("src/main.zig"),
.target = target,
.optimize = optimize,
});
// add vaxis dependency to module
const vaxis = b.dependency("vaxis", .{
.target = target,
.optimize = optimize,
});
exe_mod.addImport("vaxis", vaxis.module("vaxis"));
//create executable
const exe = b.addExecutable(.{
.name = "project_foo",
.root_module = exe_mod,
});
// i
阅读完整原文
项目深度分析 AI 生成
商业级 TUI 高级数据可视化与企业级组件库
| 产品构想 | 在 libvaxis/vxfw 之上构建闭源或双许可的高级组件扩展包,提供开箱即用的大数据量虚拟滚动表格、树形视图、交互式图表等。 |
| 核心功能 | 高性能虚拟滚动数据表格、实时时序数据折线/柱状图渲染、跨终端兼容的导出能力、可主题化商业组件包。 |
| 目标用户 | 使用 Zig 开发高性能监控运维、金融高频监控或数据库管理工具的企业开发者及独立开发者。 |
| 难度/周期 | 高 · 2-3个月 · 成本:极低(主要为个人工时与测试环境) |
| 收费模式 | 商业许可授权协议(按席位或按分发项目收费)、企业源码订阅。 |
| 竞争风险 | Zig 生态仍处于早期且语言变动较快(如 README 中展示的 0.17/0.18 变动),企业级付费客户基数目前偏小。 |
| 依据 | 已验证事实 |
基于 Zig 的多机房/边缘节点轻量级运维看板与终端管理器
| 产品构想 | 利用 libvaxis 极低的系统开销与跨平台免 terminfo 优势,构建零外部依赖、单二进制文件的多云/边缘主机集中式 TUI 监控与诊断工具。 |
| 核心功能 | 多节点 SSH/Agent 连接管理、硬件指标与日志实时监控(Kitty 协议图表展示)、跨平台零运行时依赖部署、一键网络诊断。 |
| 目标用户 | SRE 工程师、DevOps 团队、边缘计算设备运维人员。 |
| 难度/周期 | 中等 · 1-2个月 · 成本:服务器测试资源开销(低于每月 $50) |
| 收费模式 | Open-core 模式(基础监控免费,多节点集中告警与团队协同配置功能按月订阅)。 |
| 竞争风险 | 市场上已有成熟的 Rust/Go 编写的开源 CLI/TUI 监控工具(如 btop、k9s),竞争激烈。 |
| 依据 | AI推测 |
高性能本地数据库 / 日志结构化 TUI 调试工作台
| 产品构想 | 基于 libvaxis 开发针对嵌入式数据库(SQLite、DuckDB)或本地海量日志(JSON/Parquet)的高性能极速交互式浏览与调试器。 |
| 核心功能 | SQL 查询即时交互与富文本表格展示、千万级日志秒级加载与正则过滤、Kitty 图像协议支持的内嵌数据图表生成。 |
| 目标用户 | 数据工程师、后端开发者、嵌入式系统调试人员。 |
| 难度/周期 | 中等 · 1-2个月 · 成本:开发设备与常规运营成本 |
| 收费模式 | 个人买断制(Lifetime License)或专业版许可。 |
| 竞争风险 | 开发者更倾向使用现成的 GUI 桌面软件(如 DBeaver)或免费命令行工具。 |
| 依据 | 尚需验证的假设 |
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
| 项目 | 中文简介 | Stars | 语言 |
|---|---|---|---|
| rockorager/libvaxis-starter | 中文介绍暂未生成 Starter project for a libvaxis project |
16 | Zig |
| rockorager/vaxis-launcher | 中文介绍暂未生成 TUI launcher based on libvaxis and pop-launcher |
14 | Zig |
| Uzaaft/libvaxis-rs | 中文介绍暂未生成 | 7 | Rust |
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。
项目优势与风险
| 技术成熟度 | 创建时间待补全,最近推送 ,发布过 7 个 Release |
| 社区活跃 | Star 2,043 / Fork 0 / Issue 0(数据支持,可自行核实) |
| 许可证 | 未检测到(需人工确认) |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。