{"id":21543798,"url":"https://github.com/amaranthinecodices/win32_notification","last_synced_at":"2025-10-09T08:21:04.890Z","repository":{"id":130681127,"uuid":"231814977","full_name":"AmaranthineCodices/win32_notification","owner":"AmaranthineCodices","description":"Sending Win32 notifications in Rust","archived":false,"fork":false,"pushed_at":"2022-03-08T15:10:45.000Z","size":6,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-17T23:56:43.093Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AmaranthineCodices.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2020-01-04T19:11:17.000Z","updated_at":"2020-01-04T19:27:37.000Z","dependencies_parsed_at":"2023-03-25T21:04:16.617Z","dependency_job_id":null,"html_url":"https://github.com/AmaranthineCodices/win32_notification","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AmaranthineCodices/win32_notification","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmaranthineCodices%2Fwin32_notification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmaranthineCodices%2Fwin32_notification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmaranthineCodices%2Fwin32_notification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmaranthineCodices%2Fwin32_notification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AmaranthineCodices","download_url":"https://codeload.github.com/AmaranthineCodices/win32_notification/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmaranthineCodices%2Fwin32_notification/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001101,"owners_count":26082991,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"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":[],"created_at":"2024-11-24T05:15:44.385Z","updated_at":"2025-10-09T08:21:04.861Z","avatar_url":"https://github.com/AmaranthineCodices.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `win32_notification`\n\nA simple wrapper around [`Shell_NotifyIcon`](https://docs.microsoft.com/en-us/windows/win32/api/shellapi/nf-shellapi-shell_notifyiconw). See [my blog post](https://lily.fyi/blog/posts/rust-windows-notifications/) for more information on how this works.\n\n```rust\nuse std::thread;\nuse std::time::Duration;\nuse win32_notification::NotificationBuilder;\n\nfn main() {\n    let notification = NotificationBuilder::new()\n        .title_text(\"Notification Title\")\n        .info_text(\"This is the notification body\")\n        .build()\n        .expect(\"Could not create notification\");\n\n    notification.show().expect(\"Failed to show notification\");\n    thread::sleep(Duration::from_secs(5));\n    notification\n        .delete()\n        .expect(\"Failed to delete notification\");\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famaranthinecodices%2Fwin32_notification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famaranthinecodices%2Fwin32_notification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famaranthinecodices%2Fwin32_notification/lists"}