macOS
brew install imessage-rubylocal Homebrew formula metadata
brew
Command-line tool to send text and attachment in Message.app. Version 0.4.0 via Homebrew; verified 2026-06-06.
install
brew install imessage-rubylocal Homebrew formula metadata
overview
Command-line tool to send text and attachment in Message.app
history
imessage-ruby is a small Ruby command-line tool and gem for sending text and attachments through macOS Message.app. Its scope is intentionally narrow: expose Apple's desktop messaging app to shell commands.
The GitHub repository was created in November 2013, and the RubyGems API records version 0.0.1 on the same day. The changelog describes the initial implementation as sending iMessage, followed by attachment support in 0.1.0 and standalone execution support in 0.2.0.
The project presents itself as the imessage gem, while Homebrew packages it as imessage-ruby to avoid ambiguity with Apple's service name and to make the executable installable through brew.
Adoption appears modest and Mac-specific, which matches the tool's dependency on Message.app. The README documents installation as either a Homebrew package or a Ruby gem, and RubyGems records tens of thousands of total downloads across the gem's lifetime.
The changelog shows a small maintenance burst in 2015, then later packaging fixes in 2022, including Homebrew installation behavior and gem builds without git installed.
The CLI accepts text, an optional attachment, and comma-separated contacts. A typical invocation sends a message body to an email address or phone contact and optionally includes a file attachment.
Because it drives Message.app on macOS, it belongs to local automation and developer convenience scripts rather than cross-platform messaging infrastructure.
imessage-ruby is interesting as a tiny wrapper around a proprietary desktop capability. It is the sort of package that exists because a platform has a useful local automation hook and users want it in cron jobs, shell scripts, or quick developer workflows.
Its Homebrew formula is arguably as important as the gem: brew gives Mac users a one-command install path for a tool whose usefulness is inherently tied to macOS.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
imessage | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/linjunpop/imessage
install metadata
| Package key | brew:imessage-ruby |
|---|---|
| Version | 0.4.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/imessage-ruby |
| Homepage | https://github.com/linjunpop/imessage |
| Repository | https://github.com/linjunpop/imessage |
| Upstream docs | https://github.com/linjunpop/imessage#readme |
| License | MIT |
| Source archive | https://github.com/linjunpop/imessage/archive/refs/tags/v0.4.0.tar.gz |
| Last updated | 2026-06-06T17:23:03Z |
| Pulse | updated |
| Dependencies | ruby |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | imessage-ruby |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.