Arroyo is a server that accepts GitHub webhooks.
-
Python 3.3 or newer
-
Linux
-
Start the daemon
$ ./arroyo.py Started server on :8144 Started worker thread -
Create a handler script
$ mkdir -p scripts/myname $ cat >scripts/myname/myrepo <<EOF #!/bin/sh echo 'Hello, world!' EOF $ chmod +x scripts/myname/myrepo -
Generate a secret key
$ ./add-secret myname/myrepo Added myname/myrepo to /srv/arroyo/secrets -
Tell GitHub about your hook
A sample systemd unit file is provided in arroyo.service.
A sample Upstart job file is provided in arroyo.conf.
AGPL version 3 or newer.