X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=README.md;h=da012439d977c3983792be9cabe66a1a6a3d4c03;hb=610881d0df0171859c373252a986d59cf12ce836;hp=1a011458a5173faf3cb9a5f1e9e1cc23b1abb1dd;hpb=6f69aff66ba5617d0bb27874014b4274bc551ab8;p=rhynodge.git diff --git a/README.md b/README.md index 1a01145..da01243 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Rhynodge is a tool that lets you periodically execute tasks that depend on certa Its concept is quite similar to websites like ifttt (“if this then that”): you evaluate an input condition (e. g. data from a website, Facebook or Twitter posts, incoming emails, existence of a file), and if it evaluates to “yes” you execute a certain action. -## Concepts +## Internal Concepts The core of Rhynodge comprises ``Reaction``s which in turn consist of ``Query``s, ``Filter``s, ``Trigger``s, and ``Action``s. @@ -28,6 +28,12 @@ A trigger decides if, given the current state and the previous state, a notewort The result of a ``Trigger`` is an ``Output``. +### Watcher + +A watcher combines a query, a list of filters, and a trigger into a single unit which can be configured a lot easier than the separate components. For example, you could have a “Twitter” that finds new status updates for a username and that only needs to be configured with that username; the rest of the configuration is contained in the watcher. + +A ``Watcher`` does not do any processing but instead offers a ``Query``, a list of ``Filter``s, and a ``Trigger``. + ### Action If a trigger found a change, the action is then executed. Again, an action can be almost anything: it can send an email, it can execute programs, print documents, initiate phone calls, take a picture from a webcam — anything you can program can be used an an action.