{"id":19179782,"url":"https://github.com/hrntknr/push-watch","last_synced_at":"2026-06-20T11:31:44.733Z","repository":{"id":144037297,"uuid":"548929420","full_name":"hrntknr/push-watch","owner":"hrntknr","description":"push-watch is a pushover client that executes a command each time it receives a notification.","archived":false,"fork":false,"pushed_at":"2023-04-15T15:28:24.000Z","size":20,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-04T13:35:12.163Z","etag":null,"topics":["pushover"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hrntknr.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":"2022-10-10T12:07:37.000Z","updated_at":"2023-01-24T15:15:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"e8576839-5c8e-461b-be47-8a9316b7291e","html_url":"https://github.com/hrntknr/push-watch","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/hrntknr/push-watch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrntknr%2Fpush-watch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrntknr%2Fpush-watch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrntknr%2Fpush-watch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrntknr%2Fpush-watch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hrntknr","download_url":"https://codeload.github.com/hrntknr/push-watch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrntknr%2Fpush-watch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34568741,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["pushover"],"created_at":"2024-11-09T10:44:38.342Z","updated_at":"2026-06-20T11:31:44.716Z","avatar_url":"https://github.com/hrntknr.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# push-watch\n\n## About push-watch\n\npush-watch is the client (receiver of notifications) of pushover.\nEach time a notification is received by pushover, the specified command is executed. The title, message, etc. can be obtained from environment variables.\nSince push-watch is executed as an open client, a [desktop license](https://pushover.net/clients/desktop) is required.\n\n## Getting Started\n\n```bash\n# Login and get secret/deviceID\n\n$ push-watch login {username} {password}\nSuccess!\nDevice ID: {deviceID}\nDevice Secret: {deviceSecret}\n\n$ push-watch watch {deviceID} {deviceSecret} -- sh -c 'echo $PUSHOVER_TITLE\\\\n$PUSHOVER_MESSAGE'\n# -\u003e The command is executed each time a new message is retrieved\n```\n\n## environment\n\n| env                   | description                                                                      |\n| --------------------- | -------------------------------------------------------------------------------- |\n| PUSHOVER_ID           | The unique id of the message, relative to this device.                           |\n| PUSHOVER_UMID         | The unique id of the message relative to all devices on the same user's account. |\n| PUSHOVER_MESSAGE      | The text of the message.                                                         |\n| PUSHOVER_TITLE        | The title of the message                                                         |\n| PUSHOVER_PRIORITY     | The priority of the message.(-2/-1/0/1/2)                                        |\n| PUSHOVER_PRIORITY_STR | The priority of the message. (lowest/low/normal/high/emergency)                  |\n| PUSHOVER_APP          | The name of the application that sent the message. This may not be unique.       |\n| PUSHOVER_AID          | The unique id of the application that sent the message.                          |\n\n## flags\n\n```\n\u003e $ push-watch watch --help\nUsage:\n  push-watch watch [flags] device-id device-secret [...command]\n\nFlags:\n  -h, --help              help for watch\n  -p, --priority string   Priority filter (default \"-2,-1,0,1,2\")\n\n\u003e $ push-watch login --help\nUsage:\n  push-watch login [flags] username password\n\nFlags:\n  -n, --device-name string   Device name (default \"push-watch\")\n  -h, --help                 help for login\n```\n\n| mode  | flag | desc                                                                                                                                      |\n| ----- | ---- | ----------------------------------------------------------------------------------------------------------------------------------------- |\n| watch | -p   | Specify the priority filter. If not specified, all priority events will be triggered.                                                     |\n| login | -n   | You can specify a name for the device registration. To use the registered name again, you need to remove the device from pushover web ui. |\n\n## attention\n\nIt is not possible to do more than one Listen at a time using the same device.\nTo listen to multiple processes at the same time, please register multiple devices.\n\n```\n\u003e $ push-watch login -n device1 myuser mypassword\nSuccess!\nDevice ID: device1_id\nDevice Secret: device1_secret\n\n\u003e $ push-watch login -n device2 myuser mypassword\nSuccess!\nDevice ID: device2_id\nDevice Secret: device2_secret\n\n\u003e $ nohup push-watch watch device1_id device1_secret echo \"Trigger1\" \u0026\n\u003e $ nohup push-watch watch device2_id device2_secret echo \"Trigger2\" \u0026\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrntknr%2Fpush-watch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhrntknr%2Fpush-watch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrntknr%2Fpush-watch/lists"}