<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Tui on D7 的知识库</title><link>https://blog.eastseven.cn/tags/tui/</link><description>Recent content in Tui on D7 的知识库</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Mon, 11 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.eastseven.cn/tags/tui/index.xml" rel="self" type="application/rss+xml"/><item><title>llmfit</title><link>https://blog.eastseven.cn/posts/03-ai/llmfit---%E6%9C%AC%E5%9C%B0%E7%A1%AC%E4%BB%B6%E9%80%82%E9%85%8D%E7%9A%84-llm-%E6%A8%A1%E5%9E%8B%E6%8E%A8%E8%8D%90%E5%B7%A5%E5%85%B7/</link><pubDate>Mon, 11 May 2026 00:00:00 +0000</pubDate><guid>https://blog.eastseven.cn/posts/03-ai/llmfit---%E6%9C%AC%E5%9C%B0%E7%A1%AC%E4%BB%B6%E9%80%82%E9%85%8D%E7%9A%84-llm-%E6%A8%A1%E5%9E%8B%E6%8E%A8%E8%8D%90%E5%B7%A5%E5%85%B7/</guid><description>&lt;h2 id="简介">简介&lt;/h2>
&lt;p>llmfit 是一个用于“根据本机硬件选择合适 LLM 模型”的开源终端工具。它会检测系统的 CPU、内存、GPU/显存与推理后端，然后从大量模型与 provider 中评估哪些模型能跑、跑得好不好，并给出推荐排序。&lt;/p></description></item><item><title>CodeBurn</title><link>https://blog.eastseven.cn/posts/03-ai/codeburn---ai%E7%BC%96%E7%A8%8Btoken%E6%88%90%E6%9C%AC%E5%8F%AF%E8%A7%86%E5%8C%96%E4%BB%AA%E8%A1%A8%E7%9B%98/</link><pubDate>Wed, 15 Apr 2026 00:00:00 +0000</pubDate><guid>https://blog.eastseven.cn/posts/03-ai/codeburn---ai%E7%BC%96%E7%A8%8Btoken%E6%88%90%E6%9C%AC%E5%8F%AF%E8%A7%86%E5%8C%96%E4%BB%AA%E8%A1%A8%E7%9B%98/</guid><description>&lt;h2 id="简介">简介&lt;/h2>
&lt;p>CodeBurn 是一个交互式 TUI 仪表盘，用于分析 Claude Code / Codex / Cursor 的会话记录，提供详细的 token 消耗和成本拆解。直接读取磁盘上的会话数据，无需代理、包装器或 API Key。&lt;/p>
&lt;h2 id="核心特性">核心特性&lt;/h2>
&lt;ul>
&lt;li>&lt;strong>多 IDE 支持&lt;/strong>：Claude Code（&lt;code>~/.claude/projects/&lt;/code>）、Claude Desktop（code tab）、Cursor IDE&lt;/li>
&lt;li>&lt;strong>13 类任务分类&lt;/strong>：基于工具使用模式和关键词的确定性分类（Coding、Debugging、Feature Dev、Refactoring、Testing、Exploration 等），不调用 LLM&lt;/li>
&lt;li>&lt;strong>多维度拆解&lt;/strong>：按日、项目、模型（Opus/Sonnet/Haiku/GPT-4o/Gemini）、活动类型、核心工具、MCP 服务器分解成本&lt;/li>
&lt;li>&lt;strong>定价数据&lt;/strong>：从 LiteLLM 自动获取（24h 缓存），覆盖 input/output/cache write/cache read/web search 成本&lt;/li>
&lt;li>&lt;strong>macOS 菜单栏小组件&lt;/strong>：支持 SwiftBar/xbar，显示今日花费火焰图标，5 分钟刷新&lt;/li>
&lt;li>&lt;strong>导出&lt;/strong>：支持 CSV 和 JSON 格式导出&lt;/li>
&lt;/ul>
&lt;h2 id="安装与使用">安装与使用&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-shell" data-lang="shell">&lt;span style="display:flex;">&lt;span>npm install -g codeburn
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>codeburn &lt;span style="color:#75715e"># 交互式仪表盘（默认7天）&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>codeburn today &lt;span style="color:#75715e"># 今日用量&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>codeburn month &lt;span style="color:#75715e"># 本月用量&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>codeburn status &lt;span style="color:#75715e"># 紧凑一行输出&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>codeburn export &lt;span style="color:#75715e"># CSV 导出&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="链接">链接&lt;/h2>
&lt;ul>
&lt;li>GitHub: &lt;a href="https://github.com/AgentSeal/codeburn">https://github.com/AgentSeal/codeburn&lt;/a>&lt;/li>
&lt;li>许可证: MIT&lt;/li>
&lt;/ul></description></item></channel></rss>