This simple webhook runs on grok.com and forwards code output to your web service.
- Build
brew update && brew install web-ext
.web-ext build
.
- Install
- Visit
about:debugging
>This Firefox
>Load temporary add-on
> select build zip.
- Configure
- The default webhook destination URL is
http://localhost:3000/grok
. - Use web extension action button to modify.
The payload is a JSON object with 2 fields:
lang
: stringcode
: string