1 comment

[ 3.2 ms ] story [ 11.0 ms ] thread
I spent this weekend writing a terminal emulator to run `claude` on it and generate an API around the TUI.

This is the equivalent of not being able to use X's API and using a browser to scrape it instead.

It's pretty cool what you can do once you emulate the terminal.

I only made it work with Claude Code but this approach can easily be adapted to Gemini CLI