terminalwire-rails

Drop-in Terminalwire integration for Rails — serve a Thor CLI over Terminalwire straight from your Rails app. You write your CLI in your app (calling your models and business logic directly); your users install one small, self-updating client with a single curl … | bash.

# Gemfile
gem "terminalwire-rails"

Then follow the Rails guide to mount your CLI and ship it.

Documentation

License

The Terminalwire server (this gem) is open source under the Apache License 2.0 — free to use, modify, and self-host, including commercially.

The Terminalwire client your users install is proprietary, and only Terminalwire distributes it. Shipping a commercial CLI to your users needs a subscription, priced per active client install: