{"id":48976453,"url":"https://github.com/kratocz/desktop-notify","last_synced_at":"2026-04-18T09:08:33.471Z","repository":{"id":346415299,"uuid":"1189875947","full_name":"kratocz/desktop-notify","owner":"kratocz","description":"Claude Code plugin — desktop notifications when Claude waits for your response or approval","archived":false,"fork":false,"pushed_at":"2026-03-24T14:42:16.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-24T17:13:22.245Z","etag":null,"topics":["claude-code","claude-plugin","desktop-notifications","hooks","linux","macos"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/kratocz.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-23T18:52:41.000Z","updated_at":"2026-03-24T14:44:11.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/kratocz/desktop-notify","commit_stats":null,"previous_names":["kratocz/claude-code-notify"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/kratocz/desktop-notify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kratocz%2Fdesktop-notify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kratocz%2Fdesktop-notify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kratocz%2Fdesktop-notify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kratocz%2Fdesktop-notify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kratocz","download_url":"https://codeload.github.com/kratocz/desktop-notify/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kratocz%2Fdesktop-notify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31962895,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"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":["claude-code","claude-plugin","desktop-notifications","hooks","linux","macos"],"created_at":"2026-04-18T09:08:26.213Z","updated_at":"2026-04-18T09:08:33.460Z","avatar_url":"https://github.com/kratocz.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# desktop-notify\n\nA [Claude Code](https://claude.ai/claude-code) plugin that sends desktop notifications whenever Claude is waiting for your response or needs your approval to run a tool.\n\nNever miss a paused session again — get notified even when you're in another window.\n\n## Preview\n\n![desktop-notify notifications](screenshot.png)\n\n## What it does\n\n| Event | When | Notification example |\n|---|---|---|\n| `Stop` | Claude finished its response | `Claude Code – myproject` / `Waiting for your response` |\n| `PermissionRequest` | Claude needs tool approval | `Claude Code – myproject` / `Approval: Bash: git status` |\n\nEach notification includes the **project name** in the title so you always know which Claude Code session needs attention.\n\n## Configuration\n\nSet `DESKTOP_NOTIFY_METHOD` in your `~/.claude/settings.json` to choose how you're notified:\n\n```json\n{\n  \"env\": {\n    \"DESKTOP_NOTIFY_METHOD\": \"visual\"\n  }\n}\n```\n\n| Value | Behavior |\n|---|---|\n| `visual` | Desktop notification popup *(default)* |\n| `sound` | Text-to-speech reads the project name and message aloud |\n| `both` | Visual notification + TTS simultaneously |\n\n## Requirements\n\n| Platform | `visual` | `sound` |\n|---|---|---|\n| Linux | `notify-send` (libnotify) + `jq` | `spd-say`, `espeak-ng`, or `espeak` |\n| macOS | `jq` (notifications via built-in `osascript`) | built-in `say` |\n| Windows | Not supported yet | Not supported yet |\n\n### Install dependencies\n\n**Ubuntu / Debian:**\n```bash\nsudo apt install libnotify-bin jq\n# for sound:\nsudo apt install speech-dispatcher  # provides spd-say\n```\n\n**Fedora / RHEL:**\n```bash\nsudo dnf install libnotify jq\n# for sound:\nsudo dnf install speech-dispatcher\n```\n\n**macOS:**\n```bash\nbrew install jq\n# sound uses built-in 'say' — no extra dependencies\n```\n\n## Installation\n\n```\n/plugin marketplace add kratocz/claude-plugins\n/plugin install desktop-notify@kratocz\n```\n\n## How it works\n\nThe plugin registers two [Claude Code hook](https://docs.anthropic.com/en/docs/claude-code/hooks) events:\n\n- **`Stop`** — fires when Claude finishes its response and waits for your next message\n- **`PermissionRequest`** — fires when Claude needs your approval to execute a tool (Bash command, file write, etc.)\n\nBoth hooks run **asynchronously** so they never slow down Claude Code.\n\nThe `PermissionRequest` notification includes the tool name and a short preview of the command or file path, so you immediately know what needs your attention.\n\n## Acknowledgements\n\nSound notification support was inspired by [Radim Klaška](https://github.com/radimklaska).\n\n## Contributing\n\nIssues and PRs are welcome at [github.com/kratocz/desktop-notify](https://github.com/kratocz/desktop-notify).\n\n## License\n\nMIT — © [Petr Kratochvíl](https://krato.cz/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkratocz%2Fdesktop-notify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkratocz%2Fdesktop-notify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkratocz%2Fdesktop-notify/lists"}