{"id":18044787,"url":"https://github.com/will/waitpr","last_synced_at":"2025-04-05T03:26:59.794Z","repository":{"id":52092731,"uuid":"365047137","full_name":"will/waitpr","owner":"will","description":"wait on github pr checks","archived":false,"fork":false,"pushed_at":"2022-03-03T02:00:12.000Z","size":35,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-10T11:45:31.007Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Crystal","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/will.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-06T22:00:11.000Z","updated_at":"2022-03-02T23:55:22.000Z","dependencies_parsed_at":"2022-09-07T04:24:16.532Z","dependency_job_id":null,"html_url":"https://github.com/will/waitpr","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/will%2Fwaitpr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/will%2Fwaitpr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/will%2Fwaitpr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/will%2Fwaitpr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/will","download_url":"https://codeload.github.com/will/waitpr/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247284927,"owners_count":20913689,"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-30T18:10:44.842Z","updated_at":"2025-04-05T03:26:59.779Z","avatar_url":"https://github.com/will.png","language":"Crystal","funding_links":[],"categories":[],"sub_categories":[],"readme":"# waitpr\n\n[![CI](https://github.com/will/waitpr/actions/workflows/ci.yml/badge.svg)](https://github.com/will/waitpr/actions/workflows/ci.yml)\n\nSee the status of github pr checks from the command line for only the current\npr. `waitpr` will spin showing you the up-to-date status until all checks are\nfinished, then exit.\n\nA notification will pop up if the checks take longer than one minute. Only on\nmacOS right now, but patches welcome for linux.\n\nI've lost a lot of time getting distracted waiting for checks to finish. Then\nby the time I remember I'm supposed to merge a patch, someone else has already\npushed to the main branch. So then I need to rebase and wait for the checks\nagain, with a high probability of getting distracted again.\n\n![demo-screencap](https://user-images.githubusercontent.com/1973/117383861-91d64c00-ae96-11eb-980f-e9004e9f0b55.gif)\n\n## Installation\n\nFirst make sure you have the [`gh` tool](https://github.com/cli/cli) installed\nand in your path. `waitpr` uses that for auth and to make the api calls.\n\nThen run `shards build --release` and put the binary generated in `bin`\nsomewhere in your path. Eventually I hope to do some sort of homebrew thing\nmaybe but I haven't yet.\n\n## Usage\n\n```\n$ waitpr -h\nUsage: waitpr [arguments]\n    --version                        Show the version\n    -x, --no-notify                  Disable notifications\n    -n SECONDS, --notify=SECONDS     Notify when finished if jobs take longer than n seconds (default 60)\n    -h, --help                       Show this help\n\nGlobal arguments can optionally be placed in ~/.config/waitpr/waitpr\nProject-local arguments can optionally be placed in .waitpr and will supersede global arguments\nDirect command arguments supersede both project-local and global\n```\n\n## Contributing\n\n1. Fork it (\u003chttps://github.com/will/waitpr/fork\u003e)\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwill%2Fwaitpr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwill%2Fwaitpr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwill%2Fwaitpr/lists"}