Skip to content

Instantly share code, notes, and snippets.

@smac89
Created November 17, 2023 06:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smac89/8f8ab04005fcf3e054a146ee495d2703 to your computer and use it in GitHub Desktop.
Save smac89/8f8ab04005fcf3e054a146ee495d2703 to your computer and use it in GitHub Desktop.
Stream github webhook requests from smee.io on Linux
  1. Follow the instructions for creating a webhook
  2. Follow the instructions for forwarding the webhooks to your local environment
  3. Once you have smee running, use the following command to see the events as they arrive: ncat -lk 127.0.0.1 3000 | stdbuf -o0 grep -Eo '^\{.*\}' | jq --unbuffered
  4. Replace 127.0.0.1 and 3000 with the address of the server which smee is forwarding events to
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment