Author:
Source
I’ve been cooking up a new way to build command-line apps with Rails that I call Terminalwire. Similar to Hotwire, Terminalwire doesn’t need an API because it streams STDIO (and a few other channels) over WebSockets. This means you can use Thor, or any other Ruby command-line parser, to build out a CLI on the server and updates are automatically deployed when you deploy your Rails server. This will lower the bar for developers who want to deploy a CLI app, like Github & Stripe, without having to manage an API.