Skip to content
private or public group text messaging and push notifications rubygem
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
pkg
spec
.gitignore
.rspec
.rvmrc
Gemfile
Gemfile.lock
README.md
Rakefile
flocky.gemspec
tropo_script_flocky.rb

README.md

Flocky - open source group messaging

Work in progress! More docs later

This is a RubyGem that facilitates group text message using Tropo and Resque. This project exists to make it easy to deploy your own private group messaging service.

Usage

require 'flocky'
flocky = Flocky.new "your_tropo_sms_number", "your_tropo_outbound_sms_token"

# queue up a message
flocky.message "yo dog", "(123) 456-7890"

# queue up a message to a bunch of numbers
flocky.message "hay you guys", ["(123) 456-7890", "+44 4565-127890", "1234567890"]

# process queue; send messages
rake jobs:work

# ===============

# or, don't use Resque
flocky = Flocky.new "number", "token", :queue => false

# synchronously sends message
flocky.message "yo dog", "1234567890"
Something went wrong with that request. Please try again.