{"id":17887835,"url":"https://github.com/smithclay/tootles","last_synced_at":"2025-04-03T02:41:50.753Z","repository":{"id":145039460,"uuid":"11377513","full_name":"smithclay/tootles","owner":"smithclay","description":"a PagerDuty incident webhook consumer that prints incoming webhooks to STDOUT.","archived":false,"fork":false,"pushed_at":"2013-07-23T17:11:26.000Z","size":132,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T16:43:43.992Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smithclay.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-12T20:31:44.000Z","updated_at":"2018-03-31T15:17:54.000Z","dependencies_parsed_at":"2023-03-31T16:49:50.981Z","dependency_job_id":null,"html_url":"https://github.com/smithclay/tootles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smithclay%2Ftootles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smithclay%2Ftootles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smithclay%2Ftootles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smithclay%2Ftootles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smithclay","download_url":"https://codeload.github.com/smithclay/tootles/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246927810,"owners_count":20856193,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-28T13:35:36.706Z","updated_at":"2025-04-03T02:41:50.733Z","avatar_url":"https://github.com/smithclay.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"tootles\n==\n#### a [PagerDuty](http://www.pagerduty.com) incident webhook consumer that prints incoming webhooks to STDOUT. Not supported or maintained by PagerDuty.\n\n\u003e Because all of the better character names from _Hook_ were taken.\n\n#### Configuration to run this locally or behind a firewall\n\nIt's gotten much easier with the service [ngrok](https://ngrok.com/), which allows you to easily create local tunnels. You'll want to have `ngrok` create a tunnel to port `7388` like so: `./ngrok 7388`.\n\n#### How to create a PagerDuty webhook\n\nSee [the PagerDuty webhook documentation](http://developer.pagerduty.com/documentation/rest/webhooks).\n\nWebhooks (if enabled on your PagerDuty account), can be added on the services page.\n\nIf you created an `ngrok` tunnel, the webhook endpoint URL look be something like this: `http://4bz8bb8a.ngrok.com/pd-webhook`\n\nDon't forget to include the path `/pd-webhook`!\n\n### Usage\n\nTo start the server on port `7388`:\n\n``\nsh $ npm start\n``\n\nTo start the server and print out a summary of every webhook incident message to STDOUT:\n\n``\nsh $ node index.js -o summary\n``\n\n#### Text-to-Speech Incidents Alerts\n\nTo start the server and speak aloud (on Macs) a summary of every webhook incident message:\n\n``\nsh $ node index.js -o summary | xargs -L 1 say\n``\n\nIf you have a recent version Mac OS and would prefer a British English voice (needs to be installed):\n\n``\nsh $ node index.js -o summary | xargs -L 1 say -v Daniel\n``\n\n#### Send New Incidents to Printer\n\nOn most macs, the `lpr` command will send text to the default printer.\n\n``\nsh $ node index.js -o summary | lpr\n``\n\n### Help\n\n``\nsh $ node tootles --help\n``\n### Inspiration\n\n* [smee](https://github.com/tcr/smee) A more general-purpose zero configuration webhook client.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmithclay%2Ftootles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmithclay%2Ftootles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmithclay%2Ftootles/lists"}