Show HN: CacheZero – Karpathy 的 LLM Wiki 理念,一键 NPM 安装实现
1 分•作者: swarajbachu•4 个月前
Karpathy 最近关于 LLM 知识库的推文火了(1700 万浏览量)。他描述了一个系统,你将原始内容倾倒到一个文件夹中,LLM 将其编译成一个相互关联的维基,然后你通过 Obsidian 搜索/查询它。
我将整个流程构建成了一个单一的 CLI 工具:
* Chrome 扩展程序,用于收藏推文、文章、YouTube 等任何内容
* Hono 服务器 + LanceDB 用于向量搜索
* Claude Code 将你的书签编译成带有维基链接和引用的维基页面
* 在 Obsidian 中使用图谱视图浏览
* 使用 Quartz 发布为静态网站
```bash
npm i -g cachezero
```
[https://github.com/swarajbachu/cachezero](https://github.com/swarajbachu/cachezero)
非常希望收到关于编译步骤的反馈——维基的质量很大程度上取决于 SCHEMA.md 提示,我仍在不断迭代。
查看原文
Karpathy's recent tweet about LLM knowledge bases went viral (17M views). He described a system where you dump raw content into a folder, an LLM compiles it into an interconnected wiki, and you search/query it through Obsidian.<p>I built the whole pipeline as a single CLI tool:<p>- Chrome extension to bookmark tweets, articles, YouTube, anything
- Hono server + LanceDB for vector search
- Claude Code compiles your bookmarks into wiki pages with wikilinks and citations
- Browse in Obsidian with graph view
- Publish as a static site with Quartz<p>npm i -g cachezero<p><a href="https://github.com/swarajbachu/cachezero" rel="nofollow">https://github.com/swarajbachu/cachezero</a><p>Would love feedback on the compile step specifically — the wiki quality depends heavily on the SCHEMA.md prompt and I'm still iterating on it.