{"id":17749708,"url":"https://github.com/stscoundrel/goodbrother","last_synced_at":"2026-01-05T07:32:19.683Z","repository":{"id":38818674,"uuid":"439941557","full_name":"stscoundrel/goodbrother","owner":"stscoundrel","description":"List open PRs in Github by user","archived":false,"fork":false,"pushed_at":"2024-05-25T06:30:22.000Z","size":940,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-12T20:54:12.673Z","etag":null,"topics":["github-api","goodbrother","javascript","pull-requests","typescript","utility"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/stscoundrel.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-19T18:44:34.000Z","updated_at":"2024-05-25T06:30:12.000Z","dependencies_parsed_at":"2024-01-06T09:25:51.732Z","dependency_job_id":"fbf25acc-e12c-41c1-90aa-06140abf973c","html_url":"https://github.com/stscoundrel/goodbrother","commit_stats":{"total_commits":155,"total_committers":3,"mean_commits":"51.666666666666664","dds":"0.28387096774193543","last_synced_commit":"aa4cc823064c68fa79739a74afb99420ca2d5123"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":"stscoundrel/typescript-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stscoundrel%2Fgoodbrother","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stscoundrel%2Fgoodbrother/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stscoundrel%2Fgoodbrother/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stscoundrel%2Fgoodbrother/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stscoundrel","download_url":"https://codeload.github.com/stscoundrel/goodbrother/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245170390,"owners_count":20572059,"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-api","goodbrother","javascript","pull-requests","typescript","utility"],"created_at":"2024-10-26T11:24:34.182Z","updated_at":"2026-01-05T07:32:19.658Z","avatar_url":"https://github.com/stscoundrel.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Goodbrother\n\nList open PRs in Github by user.\n\n## Motivation\n\nIf you have many repos that receive regular updades with Dependabot, you're simply likely to miss some of them. I occasionally only found PRs when I get notification that they were closed in favor of a even newer version.\n\nGoodbrother is there to let me know if I still have some open.\n\n### Install\n\n`yarn add goodbrother`\n\n##### Usage\n\nMain method is to get open PRs by username.\n\n```javascript\nimport { getPullRequestsByUser, groupPullRequestsByRepository } from 'goodbrother'\n\nconst openPRs = await getPullRequestsByUser('stscoundrel');\n\n/**\n * Array of PRs with structure like:\n * {\n *   id: 1068208284,\n *   name: Bump eslint-config-airbnb-base from 14.2.1 to 15.0.0,\n *   link: https://github.com/stscoundrel/gatsby-source-plugin-zoega/pull/18,\n *   isDependabot: true,\n *   repository: stscoundrel/gatsby-source-plugin-zoega,\n * }\n */\nconsole.log(openPRs);\n\n// You can also group the result by repository.\nconst byRepository = groupPullRequestsByRepository(openPRs);\n\n/**\n * Array of repo summaries with structure like:\n * {\n *   name: stscoundrel/gatsby-source-plugin-zoega,\n *   pullRequests: [\n *     {\n *       id: 1068208284,\n *       name: Bump eslint-config-airbnb-base from 14.2.1 to 15.0.0,\n *       link: https://github.com/stscoundrel/gatsby-source-plugin-zoega/pull/18,\n *       isDependabot: true,\n *       repository: stscoundrel/gatsby-source-plugin-zoega,\n *      },\n *     ...\n *   ]\n * }\n */\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstscoundrel%2Fgoodbrother","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstscoundrel%2Fgoodbrother","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstscoundrel%2Fgoodbrother/lists"}