Hacker News new | ask | show | jobs
by speakingmoistly 96 days ago
Did you identify the kind of performance problems you were solving for? Curious to hear whether the source of the lag is known.

The local / "runs entirely on my machine" claim should probably come with an asterisk: the TUI part is local, but this still relies on an LLM API existing somewhere outside the machine (unless you're running an Ollama instance on the same host).

Nonetheless, this is neat!

1 comments

Thanks for the feedback. The main performance focus was rendering.

Claude Code and other TUIs (except Codex) use a layer of abstraction over the raw terminal escape sequences.

I directly used `crossterm`, which gave me more control and lower latency.

For example if nothing is going on, I don't render anything in the terminal. Or only render at keypress.