Skip to main content
The gateway is an HTTP server that receives incoming webhooks and normalizes them into signals for the Forge to process.

Subcommands

gateway start

Starts the gateway and enables autostart using the OS service manager when available (launchd, systemd --user, or Task Scheduler). Runtime state is tracked in ~/.grind/gateway-state.json.

gateway enable

Alias for gateway start.

gateway stop

Stops the running gateway process.

gateway disable

Disables gateway autostart and stops the gateway.

gateway restart

Stops and restarts the gateway.

gateway status

Shows runtime status, autostart status, health, and endpoint.

gateway serve

Runs the gateway in the foreground (useful for debugging webhook delivery).

Webhook Endpoints

Configuration

Configure via environment variables:
See Environment Reference for the full list.
  • Self-Hosting: expose the gateway publicly for webhooks via a reverse proxy