contents · Settings
reference

Settings

The environment variables GLAD reads on the machine it runs on.

Setting them

Put them in front of glad serve when you start it:

terminal
$ GLAD_LINEAR_KEY_FILE=/etc/glad/linear-key glad serve <repository>

GLAD remembers them, so when it restarts on its own it uses the same values. To change one, start glad serve again with the new value.

Judge

GLAD_JUDGE_BACKENDoptionalSet it to endpoint to judge with your own model server. Default jev.
GLAD_JUDGE_ENDPOINTrequired with endpointYour model server’s URL.
GLAD_JUDGE_MODELrequired with endpointThe model your server answers with.
GLAD_JUDGE_KEY_FILEoptionalSet it when your model server needs a key.
your own model
$ GLAD_JUDGE_BACKEND=endpoint \
  GLAD_JUDGE_ENDPOINT=https://judge.internal/v1 \
  GLAD_JUDGE_MODEL=<model> \
  glad serve <repository> --tls-cert cert.pem --tls-key key.pem

Linear

GLAD_LINEAR_KEY_FILEoptionalSet it when the Linear API key isn’t at ~/.glad/linear-api-key. Read only until you run glad linear connect or disconnect.
GLAD_LINEAR_API_KEYoptionalSet it to pass the Linear API key directly. Ignored when a key file exists.

Login

GLAD_GITHUB_CLIENT_IDoptionalSet it to log in through your own GitHub OAuth app, or empty to turn GitHub login off so people log in with keys only.
GLAD_CREDENTIALS_FILEoptionalSet it to keep this machine’s login somewhere other than ~/.glad/credentials.json.

7 days free

you can try GLAD solo for free this week, no credit card needed!

sign up