经 AI Skill Hub 精选评估,LLUI 获评「推荐使用」。这款AI工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 7.5 分,适合有一定技术背景的用户使用。
LLUI 是一款基于 TypeScript 开发的开源工具,专注于 framework、frontend、typescript 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
LLUI 是一款基于 TypeScript 开发的开源工具,专注于 framework、frontend、typescript 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 方式一:npm 全局安装 npm install -g llui # 方式二:npx 直接运行(无需安装) npx llui --help # 方式三:项目依赖安装 npm install llui # 方式四:从源码运行 git clone https://github.com/fponticelli/llui cd llui npm install npm start
# 命令行使用
llui --help
# 基本用法
llui [options] <input>
# Node.js 代码中使用
const llui = require('llui');
const result = await llui.run(options);
console.log(result);
# llui 配置说明 # 查看配置选项 llui --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export LLUI_CONFIG="/path/to/config.yml"
A compile-time-optimized web framework built on The Elm Architecture, designed for LLM-first authoring.
No virtual DOM. Effects as data. Compile-time bitmask optimization.
import { component, mountApp, div, button } from '@llui/dom'
type State = { count: number }
type Msg = { type: 'inc' } | { type: 'dec' }
const Counter = component<State, Msg, never>({
name: 'Counter',
init: () => [{ count: 0 }, []],
update: (state, msg) => {
switch (msg.type) {
case 'inc':
return [{ ...state, count: state.count + 1 }, []]
case 'dec':
return [{ ...state, count: state.count - 1 }, []]
}
},
view: ({ send, text }) => [
div({ class: 'counter' }, [
button({ onClick: () => send({ type: 'dec' }) }, [text('-')]),
text((s) => String(s.count)),
button({ onClick: () => send({ type: 'inc' }) }, [text('+')]),
]),
],
})
mountApp(document.getElementById('app')!, Counter)
```bash
cat > vite.config.ts << 'EOF' import { defineConfig } from 'vite' import llui from '@llui/vite-plugin' export default defineConfig({ plugins: [llui()] }) EOF
| Package | Description |
|---|---|
[@llui/dom](packages/dom) | Runtime — component, mount, scope tree, bindings, structural primitives, HTML/SVG/MathML helpers |
[@llui/compiler](packages/compiler) | Engine — 3-pass TypeScript transform + 41 compile-time lint rules (all error severity) |
[@llui/vite-plugin](packages/vite-plugin) | Vite adapter — wires the compiler into Vite, surfaces diagnostics via this.error() |
[@llui/compiler-introspection](packages/compiler-introspection) | Opt-in compiler module — agent schemas, msg annotations, schema hash emission |
[@llui/compiler-devtools](packages/compiler-devtools) | Opt-in compiler module — __componentMeta emission for source navigation |
[@llui/compiler-ssr](packages/compiler-ssr) | Opt-in compiler module — 'use client' directive handling and SSR emission |
[@llui/effects](packages/effects) | Effect system — http, cancel, debounce, sequence, race + Async<T,E>, ApiError |
[@llui/router](packages/router) | Routing — structured path matching, history/hash mode, link helper |
[@llui/transitions](packages/transitions) | Animation helpers for branch/show/each — transition(), fade, slide, scale, collapse |
[@llui/components](packages/components) | 58 headless components + locale i18n + format utilities + Standard Schema forms + opt-in theme |
[@llui/test](packages/test) | Test harness — testComponent, testView, propertyTest, replayTrace |
[@llui/vike](packages/vike) | Vike SSR adapter — onRenderHtml, onRenderClient |
[@llui/mcp](packages/mcp) | MCP server — LLM debug tools via Model Context Protocol |
[@llui/agent](packages/agent) | LAP server + browser client runtime for driving LLui apps from LLM clients |
[llui-agent](packages/agent-bridge) | MCP CLI bridging Claude / other LLM clients to a running @llui/agent server |
npx vite ```
创新性的LLM UI框架,值得关注
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
AI Skill Hub 点评:LLUI 的核心功能完整,质量良好。对于AI 技术爱好者来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | llui |
| 原始描述 | 开源AI工具:The LLM first UI framework 。⭐7 · TypeScript |
| Topics | frameworkfrontendtypescriptuiweb |
| GitHub | https://github.com/fponticelli/llui |
| License | MIT |
| 语言 | TypeScript |
收录时间:2026-06-05 · 更新时间:2026-06-05 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。