{"id":24698573,"url":"https://github.com/faradayio/alert","last_synced_at":"2025-03-22T03:41:57.817Z","repository":{"id":57482536,"uuid":"90652034","full_name":"faradayio/alert","owner":"faradayio","description":"(WIP) Runs a command either once or repeatedly, and notifies you of what happens.","archived":false,"fork":false,"pushed_at":"2020-05-07T10:04:58.000Z","size":65,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-02-28T04:25:15.107Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","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/faradayio.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":"2017-05-08T16:57:02.000Z","updated_at":"2020-05-07T10:05:01.000Z","dependencies_parsed_at":"2022-09-02T04:20:25.481Z","dependency_job_id":null,"html_url":"https://github.com/faradayio/alert","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faradayio%2Falert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faradayio%2Falert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faradayio%2Falert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faradayio%2Falert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/faradayio","download_url":"https://codeload.github.com/faradayio/alert/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244902936,"owners_count":20529114,"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":"2025-01-27T04:29:21.104Z","updated_at":"2025-03-22T03:41:57.793Z","avatar_url":"https://github.com/faradayio.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `alert`: Notify your desktop or mobile device when a job completes\n\n**WORK IN PROGRESS.** This is under heavy development the week of 8 May 2017.\n\nAt Faraday, we have a lot of long-running processes, and we need an easy way to\nknow when they complete. The `alert` command is intended to make it easy to know\nwhen things succeed or fail:\n\n```sh\n# Supply a pushover.net application token.  We'll make it easy to create these\n# soon.\nexport PUSHOVER_TOKEN=...\n# Supply your pushover.net user key.\nexport PUSHOVER_USER=...\n\n# Run a command and report what happens.\nalert run my_long_running_command\n\n# Run a command repeatedly, looking for outputs that indicate success or\n# failure.\nalert watch -s 'myjob.*failed' -f 'myjob.*success' --timout 300 \\\n    pachctl list-jobs\n```\n\nThis will play different sounds for success and failure.\n\nRight now, we support Superblock, LLC's [Pushover][] system, which provides\nexcellent, hard-to-miss notifications for iOS, Android and web browsers.\n(This application has no relation to Superblock, LLC. We just use their\nAPI.)\n\nWe also have support for desktop notifiations and the open\nsource [Notify][] app, but the CLI for configurating them isn't finished\nyet. To use desktop notifications, try:\n\n```sh\nexport ALERT_NOTIFIER=desktop\n```\n\n[Pushover]: https://pushover.net/\n[Notify]: https://mashlol.github.io/notify/\n\n## Wish list\n\nSome features which we want to add:\n\n- A command-line interface for configuring notification backends easily.\n- Terminal support for `alert watch`.\n- Maybe some sort of mode for watching to see when a host has finished booting?\n\n## Installing\n\nOn Linux, you'll need to install the `dbus-1` dev packages.\n\n```sh\n# Ubuntu, etc.\nsudo apt install libdbus-1-dev\n```\n\nOnce this is done, install Rust and `alert`:\n\n```sh\ncurl https://sh.rustup.rs -sSf | sh\ncargo install alert\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaradayio%2Falert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffaradayio%2Falert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaradayio%2Falert/lists"}