Dynamic Action Framework

Gem Version Build Status Inline docs Code Climate

https://rubygems.org/gems/daf

Dynamic Action Framework, or DAF, is a flexible, extensible system to let a user trigger actions based on events, either on a system or through anything else you can write in Ruby. Some examples of things you can automate using DAF:

  • When my bus is 10 minutes away, text me
  • When I get an email from my mother, text me the contents
  • When I'm five minutes away from a meeting, send me the agenda
  • Automatically create a blog entry based on my tweets
  • Automatically download any picture from facebook that has me tagged
  • Alert me when the weather changes via text message

In addition, you could use it as a library to develop other action systems, including things like:

  • Server monitoring systems
  • Email filtering systems

DAF integrates with other action systems such as IFTTT in numerous ways, the easiest probably being through use of Dropbox and monitoring file modification times. Using DAF with these services permits an even greater level of integration and customizability.

Planned Features

  • Additional plugins for input/output
  • A robust Erlang daemon that uses Ruby framework to provide high availability monitor
  • Additional input sources (SQL, Socket/Listening API, etc)
  • REST API layer

Contributing

If you're interested in contributing custom actions or monitors you've written, please just submit a pull request - http://github.com/klmcarthur/DAF - and I'll happily have a look.

If you're interested in using DAF in something else, or have a different front-end experience, please let me know as well, for front-ends, I'd love to bring it into the core if it's interesting or useful, and for third party projects I'd love to link to you.

Thanks!