{"id":13828782,"url":"https://github.com/h4llow3En/mac-notification-sys","last_synced_at":"2025-07-09T06:33:01.035Z","repository":{"id":39801168,"uuid":"82222093","full_name":"h4llow3En/mac-notification-sys","owner":"h4llow3En","description":"✉️ A simple wrapper to deliver or schedule macOS Notifications in Rust","archived":false,"fork":false,"pushed_at":"2024-09-11T21:44:29.000Z","size":2336,"stargazers_count":98,"open_issues_count":10,"forks_count":30,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-14T16:08:01.293Z","etag":null,"topics":["hacktoberfest","macos","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/h4llow3En.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}},"created_at":"2017-02-16T20:15:59.000Z","updated_at":"2024-09-11T21:44:33.000Z","dependencies_parsed_at":"2023-10-10T13:51:14.960Z","dependency_job_id":"7f44c7c8-e010-4891-9148-3090ca92d9b4","html_url":"https://github.com/h4llow3En/mac-notification-sys","commit_stats":{"total_commits":96,"total_committers":11,"mean_commits":8.727272727272727,"dds":0.6354166666666667,"last_synced_commit":"7ab3864527698472224671093e581d4d1880851f"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h4llow3En%2Fmac-notification-sys","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h4llow3En%2Fmac-notification-sys/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h4llow3En%2Fmac-notification-sys/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h4llow3En%2Fmac-notification-sys/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/h4llow3En","download_url":"https://codeload.github.com/h4llow3En/mac-notification-sys/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225492420,"owners_count":17482869,"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":["hacktoberfest","macos","notification","rust"],"created_at":"2024-08-04T09:03:08.796Z","updated_at":"2025-07-09T06:33:01.029Z","avatar_url":"https://github.com/h4llow3En.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# mac-notification-sys\n\n![platform](https://img.shields.io/badge/platform-macOS-lightgrey)\n[![version](https://img.shields.io/crates/v/mac-notification-sys)](https://crates.io/crates/mac-notification-sys/)\n[![license](https://img.shields.io/crates/l/mac-notification-sys)](https://crates.io/crates/mac-notification-sys/)\n[![contributors](https://img.shields.io/github/contributors/h4llow3En/mac-notification-sys)](https://github.com/h4llow3En/mac-notification-sys/graphs/contributors)\n\n\n[![build](https://img.shields.io/github/actions/workflow/status/h4llow3En/mac-notification-sys/ci.yml?branch=master)](https://github.com/h4llow3En/mac-notification-sys/actions?query=workflow%3A\"Continuous+Integration\")\n![downloads](https://img.shields.io/crates/d/mac-notification-sys)\n[![documentation](https://img.shields.io/badge/docs-latest-blue.svg)](https://docs.rs/mac-notification-sys/)\n\n\u003c/div\u003e\n\nA simple wrapper to deliver or schedule macOS Notifications in Rust.\n\n## Usage\n\n```toml\n#Cargo.toml\n[dependencies]\nmac-notification-sys = \"0.6\"\n```\n\n## Documentation\n\nThe documentation can be found [here](https://h4llow3en.github.io/mac-notification-sys/mac_notification_sys/)\n\n## Example\n\n```rust\nuse mac_notification_sys::*;\n\nfn main() {\n    let bundle = get_bundle_identifier_or_default(\"firefox\");\n    set_application(\u0026bundle).unwrap();\n\n    send_notification(\n        \"Danger\",\n        Some(\"Will Robinson\"),\n        \"Run away as fast as you can\",\n        None,\n    )\n    .unwrap();\n\n    send_notification(\n        \"NOW\",\n        None,\n        \"Without subtitle\",\n        Some(Notification::new().sound(\"Blow\")),\n    )\n    .unwrap();\n}\n\n```\n\n## TODO\n\n- [ ] Add timeout option so notifications can be auto-closed\n- [ ] Allow NSDictionary to hold various types (perhaps with a union?)\n- [ ] Switch to UserNotification if possible\n\n## Contributors\n\n Thanks goes to these wonderful people:\n \u003ca href=\"https://github.com/h4llow3En/mac-notification-sys/graphs/contributors\"\u003e\n   \u003cimg src=\"https://contrib.rocks/image?repo=h4llow3En/mac-notification-sys\" /\u003e\n \u003c/a\u003e\n\nAny help in form of descriptive and friendly [issues](https://github.com/h4llow3En/mac-notification-sys/issues) or comprehensive pull requests are welcome!\n\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in mac-notification-sys by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.\n\n### Conventions\nThe Changelog of this library is generated from its commit log, there any commit message must conform with https://www.conventionalcommits.org/en/v1.0.0/. For simplicity you could make your commits with [convco](https://crates.io/crates/convco).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh4llow3En%2Fmac-notification-sys","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fh4llow3En%2Fmac-notification-sys","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh4llow3En%2Fmac-notification-sys/lists"}