{"id":13822820,"url":"https://github.com/allenbenz/winrt-notification","last_synced_at":"2026-04-04T12:57:42.892Z","repository":{"id":25687844,"uuid":"104615847","full_name":"allenbenz/winrt-notification","owner":"allenbenz","description":"An incomplete wrapper over the WinRT toast api written in rust","archived":false,"fork":false,"pushed_at":"2024-04-18T02:21:52.000Z","size":5217,"stargazers_count":45,"open_issues_count":7,"forks_count":36,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-11-27T12:38:31.173Z","etag":null,"topics":["notification","rust"],"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/allenbenz.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2017-09-24T03:27:27.000Z","updated_at":"2025-03-22T05:05:40.000Z","dependencies_parsed_at":"2024-06-19T05:40:47.243Z","dependency_job_id":null,"html_url":"https://github.com/allenbenz/winrt-notification","commit_stats":{"total_commits":37,"total_committers":4,"mean_commits":9.25,"dds":0.08108108108108103,"last_synced_commit":"f7879fd06615cb62692469966edf28326639d7dc"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/allenbenz/winrt-notification","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allenbenz%2Fwinrt-notification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allenbenz%2Fwinrt-notification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allenbenz%2Fwinrt-notification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allenbenz%2Fwinrt-notification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/allenbenz","download_url":"https://codeload.github.com/allenbenz/winrt-notification/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allenbenz%2Fwinrt-notification/sbom","scorecard":{"id":185296,"data":{"date":"2025-08-11","repo":{"name":"github.com/allenbenz/winrt-notification","commit":"f7879fd06615cb62692469966edf28326639d7dc"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Code-Review","score":0,"reason":"Found 2/24 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 11 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T19:42:23.918Z","repository_id":25687844,"created_at":"2025-08-16T19:42:23.918Z","updated_at":"2025-08-16T19:42:23.918Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31400460,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["notification","rust"],"created_at":"2024-08-04T08:02:19.255Z","updated_at":"2026-04-04T12:57:42.875Z","avatar_url":"https://github.com/allenbenz.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# winrt-notification\n\n[![license](https://img.shields.io/crates/l/winrt-notification.svg)](https://crates.io/crates/winrt-notification/)\n[![version](https://img.shields.io/crates/v/winrt-notification.svg)](https://crates.io/crates/winrt-notification/)\n[![Build Status](https://img.shields.io/appveyor/ci/allenbenz/winrt-notification.svg)](https://ci.appveyor.com/project/allenbenz/winrt-notification)\n\nAn incomplete wrapper over the WinRT toast api\n\nTested in Windows 10 and 8.1. Untested in Windows 8, might work.\n\n[0.5 Documentation](https://allenbenz.github.io/winrt-notification/0_5_0/winrt_notification/index.html)\n\n[0.2 Documentation](https://allenbenz.github.io/winrt-notification/0_2_0/winrt_notification/index.html)\n\nTodo:\n* Add support for Adaptive Content\n* Add support for Actions\n\nKnown Issues:\n* Will not work for Windows 7.\n\nLimitations:\n* Windows 8.1 only supports a single image, the last image (icon, hero, image) will be the one on the toast\n\n## Usage\n\n```toml\n#Cargo.toml\n[dependencies]\nwinrt-notification = \"0.5.1\"\n```\n\n## Examples\n\n```rust\nextern crate winrt_notification;\nuse winrt_notification::{Duration, Sound, Toast};\n\nfn main() {\n    Toast::new(Toast::POWERSHELL_APP_ID)\n        .title(\"Look at this flip!\")\n        .text1(\"(╯°□°）╯︵ ┻━┻\")\n        .sound(Some(Sound::SMS))\n        .duration(Duration::Short)\n        .show()\n        .expect(\"unable to toast\");\n}\n```\n\n```rust\nextern crate winrt_notification;\nuse std::path::Path;\nuse winrt_notification::{IconCrop, Toast};\n\nfn main() {\n    Toast::new(\"Your AppUserModeId\")\n        .hero(\u0026Path::new(\"C:\\\\absolute\\\\path\\\\to\\\\image.jpeg\"), \"alt text\")\n        .icon(\n            \u0026Path::new(\"c:/this/style/works/too/image.png\"),\n            IconCrop::Circular,\n            \"alt text\",\n        )\n        .title(\"Lots of pictures here\")\n        .text1(\"One above the text as the hero\")\n        .text2(\"One to the left as an icon, and several below\")\n        .image(\u0026Path::new(\"c:/photos/sun.png\"), \"the sun\")\n        .image(\u0026Path::new(\"c:/photos/moon.png\"), \"the moon\")\n        .sound(None) // will be silent\n        .show()\n        .expect(\"unable to toast\");\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallenbenz%2Fwinrt-notification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fallenbenz%2Fwinrt-notification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallenbenz%2Fwinrt-notification/lists"}