Making language on GitHub more inclusive one bot at a time 🤖
MIT License
Making language on GitHub more inclusive one bot at a time
To get your own Glitch-hosted Guys Bot up-and-running, start by clicking the "Remix on Glitch" button above, and follow the steps below:
Configure a new app on Github.
https://www.example.com
. This will be replaced later.openssl rand -base64 32
. Copy/paste the outputted value to the Webhook Secret box. Keep this handy until Step 3.You will need to download your private key near the end of the page. In order to use Glitch's environmental variables feature, we will need to make the private key into a single line, including a trailing \n
character.
-----BEGIN RSA PRIVATE KEY-----\ndfkls83jrfsdf\nndfkls83jrfsdf\ndfkls83jrfsdf\n-----END RSA PRIVATE KEY-----\n
gawk
on some distributions), you can do this in your command line in the folder where your private key file is saved by running the command: awk '{printf "%s\\n", $0}' private_key_file_name.pem
and it will look similar to the example.Now, go to your Glitch project and edit the .env
file (at left) with your app credentials.
APP_ID
can be found in the About section of your Github app.WEBHOOK_SECRET
is the value you generated in Step 1.PRIVATE_KEY
should be set to your single line private key from Step 2. Remember to put quotation marks '
around the key, otherwise, it won't work.NODE_ENV=
should be set to production
.Wait for app to load. A green Live
label should show up next to the Show button when it's finished loading.
The docs are a work in progress. If you get stuck, please open an issue and I'll try to help you.