{"id":13393644,"url":"https://github.com/variadico/noti","last_synced_at":"2025-05-13T00:29:45.730Z","repository":{"id":29872567,"uuid":"33417782","full_name":"variadico/noti","owner":"variadico","description":"Monitor a process and trigger a notification.","archived":false,"fork":false,"pushed_at":"2025-03-06T23:58:34.000Z","size":162223,"stargazers_count":4643,"open_issues_count":35,"forks_count":137,"subscribers_count":48,"default_branch":"main","last_synced_at":"2025-04-23T17:19:27.928Z","etag":null,"topics":["go","productivity"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"sjtuhjh/appdocs","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/variadico.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":"2015-04-04T19:44:49.000Z","updated_at":"2025-04-21T16:50:38.000Z","dependencies_parsed_at":"2022-07-14T12:00:33.554Z","dependency_job_id":"883fe16e-48fa-44cd-9bc6-d08ee96ed581","html_url":"https://github.com/variadico/noti","commit_stats":{"total_commits":315,"total_committers":25,"mean_commits":12.6,"dds":0.5333333333333333,"last_synced_commit":"155fa42e492fccff4696494f6436fa1dbf12aab1"},"previous_names":["pi241a/noti"],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/variadico%2Fnoti","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/variadico%2Fnoti/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/variadico%2Fnoti/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/variadico%2Fnoti/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/variadico","download_url":"https://codeload.github.com/variadico/noti/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250477821,"owners_count":21437049,"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":["go","productivity"],"created_at":"2024-07-30T17:00:57.901Z","updated_at":"2025-04-23T17:19:57.848Z","avatar_url":"https://github.com/variadico.png","language":"Go","readme":"# noti\n\n![Testing](https://github.com/variadico/noti/actions/workflows/testing.yaml/badge.svg)\n\nMonitor a process and trigger a notification.\n\nNever sit and wait for some long-running process to finish. Noti can alert you\nwhen it's done. You can receive messages on your computer or phone.\n\n![macOS Banner Notification]\n\n## Services\n\nNoti can send notifications on a number of services.\n\n| Service    | macOS | Linux | Windows |\n| ---------- | :---: | :---: | :-----: |\n| Banner     |   ✔   |   ✔   |    ✔    |\n| Speech     |   ✔   |   ✔   |    ✔    |\n| BearyChat  |   ✔   |   ✔   |    ✔    |\n| Keybase    |   ✔   |   ✔   |    ✔    |\n| Mattermost |   ✔   |   ✔   |    ✔    |\n| Pushbullet |   ✔   |   ✔   |    ✔    |\n| Pushover   |   ✔   |   ✔   |    ✔    |\n| Pushsafer  |   ✔   |   ✔   |    ✔    |\n| Simplepush |   ✔   |   ✔   |    ✔    |\n| Slack      |   ✔   |   ✔   |    ✔    |\n| Telegram   |   ✔   |   ✔   |    ✔    |\n| Zulip      |   ✔   |   ✔   |    ✔    |\n| Twilio     |   ✔   |   ✔   |    ✔    |\n| GChat      |   ✔   |   ✔   |    ✔    |\n| Chanify    |   ✔   |   ✔   |    ✔    |\n| Bark       |   ✔   |   ✔   |    ✔    |\n\nCheck the [screenshots] directory to see what the notifications look like on different platforms.\n\n## Installation\n\nInstall the Go binary with these commands.\n\n```shell\n# macOS install with Brew\nbrew install noti\n\n# macOS install with curl\ncurl -L $(curl -s https://api.github.com/repos/variadico/noti/releases/latest | awk '/browser_download_url/ { print $2 }' | grep 'darwin-amd64' | sed 's/\"//g') | tar -xz\n\n# Linux install with curl\ncurl -L $(curl -s https://api.github.com/repos/variadico/noti/releases/latest | awk '/browser_download_url/ { print $2 }' | grep 'linux-amd64' | sed 's/\"//g') | tar -xz\n```\n\nOr download it with your browser from the [latest release] page.\n\n### From source\n\nIf you want to build from the source, then build like this.\n\n```shell\n# build binary\nmake build\n```\n\n## Examples\n\nJust put `noti` at the beginning or end of your regular commands. For more details, check the [docs].\n\nDisplay a notification when `tar` finishes compressing files.\n\n```sh\nnoti tar -cjf music.tar.bz2 Music/\n```\n\nAdd `noti` after a command, in case you forgot at the beginning.\n\n```sh\nclang foo.c -Wall -lm -L/usr/X11R6/lib -lX11 -o bizz; noti\n```\n\nIf you already started a command but forgot to use `noti`, then you can do this to get notified when that process' PID disappears.\n\n```sh\nnoti --pwatch 1234\n```\n\nYou can also press `ctrl+z` after you started a process. This will temporarily suspend the process, but you can resume it with `noti`.\n\n```\n$ dd if=/dev/zero of=foo bs=1M count=2000\n^Z\nzsh: suspended  dd if=/dev/zero of=foo bs=1M count=2000\n$ fg; noti\n[1]  + continued  dd if=/dev/zero of=foo bs=1M count=2000\n2000+0 records in\n2000+0 records out\n2097152000 bytes (2.1 GB, 2.0 GiB) copied, 12 s, 175 MB/s\n```\n\nAdditionally, `noti` can send a message piped from stdin with `-`.\n\n```sh\n$ make test 2\u003e\u00261 | tail --lines 5 | noti -t \"Test Results\" -m -\n```\n\n[macos banner notification]: https://raw.githubusercontent.com/variadico/noti/main/docs/screenshots/macos_banner.png\n[screenshots]: https://github.com/variadico/noti/tree/main/docs/screenshots\n[latest release]: https://github.com/variadico/noti/releases/latest\n[docs]: https://github.com/variadico/noti/blob/main/docs/noti.md\n","funding_links":[],"categories":["Misc","Go","Command Line","Linux System Tools","Tools","CLI 项目","productivity","\u003ca name=\"monitor\"\u003e\u003c/a\u003eSystem monitoring","Linux生态圈Dev\u0026Ops工具与服务","Libraries","Other"],"sub_categories":["Dependency Management","System Monitoring","Go"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvariadico%2Fnoti","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvariadico%2Fnoti","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvariadico%2Fnoti/lists"}