Skip to content

zomglings/pollster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pollster

Hurry up and wait


Travis

pollster allows you to set up polls for any kind of event or change, with custom handlers.

Getting started

In order to run pollster, you will need node.js (v9.11).

To install it, run:

npm install @nkashy1/pollster

You can define your predicates (what you poll on) in any language -- if they can be run from the command line, you can use the spawnPredicate utility to use them with pollster.

Currently, pollster requires you to define your handlers in node. This can change if there is sufficient demand for it (just open an issue).

Examples

  1. Poll for file creation -- set up a poll on the creation of a specific file and send an SMS in response

  2. Poll on Google Compute Engine VM termination -- set up a poll on the termination of a GCE instance and send an SMS in response