# Vomit：用本地 LLM 把 Claude 的 token 呕吐物翻译成英文

- 来源：Hacker News 热门（buzzing.cc 中文翻译）
- 作者：Bluestein
- 发布时间：2026-08-21 02:30
- AIHOT 分数：34
- AIHOT 链接：https://aihot.virxact.com/items/cmt1vr3lx0a0iroovzy75i0t0
- 原文链接：https://github.com/zachahn/vomit

## AI 摘要

Vomit 通过管道连接本地 LLM，将 Claude 输出的 token 流翻译成可读英文，完全本地运行、无遥测且无外部依赖。该项目仅支持 Mac，速度较慢，且本地 LLM 只能看到 Claude 的通信内容，可能产生幻觉或遗漏信息。可通过 `go install` 安装，兼容 Llama.app、Ollama 及任何 OpenAI API 兼容服务，采用 GNU GPLv3 许可。

## 正文

Vomit converts Claude's token vomit into English by piping it through a local LLM. It's fully local (no telemetry) and has no external dependencies.

I wrote a small blog post about this project: https://zachahn.com/posts/1787191554

Disclaimer:

The local LLM can only see what Claude tries to communicate (no access to any actions or files), so it hallucinates a bit

It's pretty slow

This is totally vibe-coded, only tested on Mac

There is a possibility you'll completely miss Claude's message. You can use something like AgentsView to get the original messages, as Vomit does not touch anything during runtime (except technically it writes files to your TMPDIR)

Install

# Install the binary to your GOPATH go install github.com/zachahn/vomit@latest

# Setup connection details to your LLM vomit init

# Instructions on how to replace Claude's output via hooks vomit scrub -claude

Usage

In addition, there's a non-invasive mode if you want to run Vomit on the side.

vomit list. List Claude session identifiers

vomit tail [<session_identifier>]. Translate Claude's tokens for the specified session, or follow the latest one

vomit help. See for more commands

This should work with:

Llama.app

Ollama

Anything that uses the OpenAI API?

If you don't have a local LLM set up already, I think I recommend using Llama.app, then downloading GPT-OSS 20B through it. Run the init subcommand after you set this up.

License

GNU GPLv3
