This is a work-in-progress GitHub Probot application to automate some common busywork. I'm primarily writing this for personal use, but ideas and contributions are welcome. Documentation of current features can be found in the docs subfolder.
The project is released as free and open-source software under the Parity Public License, as defined in LICENSE.txt. Private licenses and a relicensing option are available for purchase at https://licensezero.com/ids/81dfef8b-125c-473e-b5d9-7a527f99acff.
You can either build this project using npm
or nix
.
-
When using
npm
, runnpm install
followed bynpm run build
. The output is then placed in thelib
directory. -
When building with
nix
, runnix-build -A package
. The output is then placed in theresult
directory.
It is also possible to invoke nix-shell -A shell
to be placed in a new shell
environment with all dependencies in places. However, if inside a nix shell,
one has to run ln -s $NODE_PATH node_modules
before any npm
commands work.
Once built (preferably using nix
), the application can be deployed to a
Google Cloud Function using terraform. To deploy, run terraform init
followed
by terraform apply
.
Note that terraform depends on a service account on Google Cloud. However, it will generally output debugging information if that service account is missing permissions. Walking through the individual settings needed on Google Cloud is beyond the scope of this readme.
All work and communication is being handled through Github issues. For the time
being, contributing is as easy as opening a Pull Request. Of course, both
linting (npm run lint
) and testing (npm run test
) need to pass.
If this code is helpful to you, consider a small donation to support future development using https://paypal.me/pierrebeaucamp