{"id":17023140,"url":"https://github.com/stefanjudis/guardcat","last_synced_at":"2026-05-06T12:33:11.937Z","repository":{"id":57256548,"uuid":"77077528","full_name":"stefanjudis/guardcat","owner":"stefanjudis","description":"A utility to help you keep track of github notifications","archived":false,"fork":false,"pushed_at":"2017-04-29T22:50:15.000Z","size":73,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-19T20:48:25.055Z","etag":null,"topics":["github","github-api"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stefanjudis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-21T18:44:55.000Z","updated_at":"2017-10-19T00:56:31.000Z","dependencies_parsed_at":"2022-08-25T02:30:54.029Z","dependency_job_id":null,"html_url":"https://github.com/stefanjudis/guardcat","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanjudis%2Fguardcat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanjudis%2Fguardcat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanjudis%2Fguardcat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanjudis%2Fguardcat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stefanjudis","download_url":"https://codeload.github.com/stefanjudis/guardcat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244999406,"owners_count":20544873,"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":["github","github-api"],"created_at":"2024-10-14T07:12:19.505Z","updated_at":"2026-05-06T12:33:11.854Z","avatar_url":"https://github.com/stefanjudis.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/stefanjudis/guardcat.svg?branch=master)](https://travis-ci.org/stefanjudis/guardcat) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo) [![Coverage Status](https://coveralls.io/repos/github/stefanjudis/guardcat/badge.svg?branch=master)](https://coveralls.io/github/stefanjudis/guardcat?branch=master)\n\n# GuardCat\n\nGitHub notifications can be overwhelming. I watch a lot of repos and would like to get notifications only for repos that match a given pattern.\nSo let me introduce you to GuardCat – a simple helper utility to query the GitHub API recursively for particular patterns (and possibly more options later).\n\n![A cat watching the Octocat](./logo.jpg \"GuardCat logo\")\n\n*Side note: This utility is mainly used to build a CLI tool and web app with it.*\n\n## Getting started\n\n```\n$ npm i --save guardcat\n```\n\n```javascript\nconst guardCat = require( 'guardcat' );\n\nguardCat.run( {\n  // your GitHub access token\n  // -\u003e https://github.com/settings/tokens\n  token : '234567890',\n  // patterns for notifications repos (uses minimatch)\n  // -\u003e everything that works there is possible here, too\n  repoPatterns : [ 'stefanjudis/*', 'tc39/ecma262' ]\n} ).then( notification =\u003e {\n  // notifications only matching one of the patterns\n  console.log( notification );\n} );\n```\n\n### `guardCat.run( options )`\n\nGet all GitHub notifications for repos matching the patterns.\n\n**Parameters:**\n- `options.token {string}` (required)\n- `options.repoPatterns {array}` (required)\n\nReturns: `{Promise}`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefanjudis%2Fguardcat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstefanjudis%2Fguardcat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefanjudis%2Fguardcat/lists"}