The GitHub app that we use in Sapphire for automating various tasks.
# Install dependencies
yarn install
You will need to configure the Wrangler secrets for Cloudflare Workers environment. You will need the following secrets:
-
APP_ID
-
WEBHOOK_SECRET
-
PRIVATE_KEY
The private-key.pem file from GitHub needs to be transformed from the PKCS#1 format to PKCS#8, as the crypto APIs do not support PKCS#1:
openssl pkcs8 -topk8 -inform PEM -outform PEM -nocrypt -in private-key.pem -out private-key-pkcs8.pem
Then set the private key
cat private-key-pkcs8.pem | wrangler secret put PRIVATE_KEY
For information on what these values are and how to get them see this guide
Sapphire Community is and always will be open source, even if we don't get donations. That being said, we know there are amazing people who may still want to donate just to show their appreciation. Thank you very much in advance!
We accept donations through Open Collective, Ko-fi, Paypal, Patreon and GitHub Sponsorships. You can use the buttons below to donate through your method of choice.
Donate With | Address |
---|---|
Open Collective | Click Here |
Ko-fi | Click Here |
Patreon | Click Here |
PayPal | Click Here |
Please make sure to read the Contributing Guide before making a pull request.
Thank you to all the people who already contributed to Sapphire!