snare 0.3.0

GitHub webhooks runner daemon
snare-0.3.0 is not a library.
Visit the last successful build: snare-3.5.1

snare is a GitHub webhooks daemon. Architecturally it is split in two:

  • The httpserver listens for incoming hooks, checks that they're valid, and adds them to a Queue.
  • The jobrunner pops elements from the Queue and runs them in parallel. These two components run as two different threads: the httpserver writes a solitary byte to an "event pipe" to wake up the jobrunner when the queue has new elements. This allows the jobrunner to use a single interface for listen for completed jobs as well as new jobs.