Hacker News new | ask | show | jobs
by emi2k01 118 days ago
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