0.0
No release in over a year
Given a text file with a list of names, this CLI will find their phone numbers from your Contacts app and then send a message to each of them.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 0.4.0
~> 2.6
~> 1.1
~> 2.2
~> 2.19
~> 1.4
~> 0.1.0
~> 0.23.1
 Project Readme

manymessage

Hi! This is a simple program that sends a message to many people all at once. (Or at least in very, very quick succession.)

Installation

You can install with RubyGems or Homebrew!

For Homebrew:

brew install jltml/tap/manymessage

For RubyGems:

gem install manymessage

Usage

Here's an example:

manymessage --to input_names.txt --message message.txt

input_names.txt (or whatever you name the file) should be a plain-text list of names, like First Last, with a name on each line. Manymessage will download and run contacts-cli to get all your contacts, then will filter them according to the names in the aforementioned text file before pairing each name with that person's phone number. Then, it uses the imessage gem to send your message to each person, which in turn actually uses AppleScript.

message.txt is… surprise, the message you'd like to send (it also doesn't have to be named message.txt)


Note: all of the stuff below is from the default README generated by Bundler, so it wasn't written by me, but all of it is applicable!


Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and the created tag, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/jltml/manymessage.

License

The gem is available as open source under the terms of the MIT License.