4 pointsby emi2k013 hours ago1 comment
  • emi2k013 hours 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