{"id":13546865,"url":"https://github.com/ItsEthra/egui-notify","last_synced_at":"2025-04-02T19:31:52.469Z","repository":{"id":57774285,"uuid":"527734990","full_name":"ItsEthra/egui-notify","owner":"ItsEthra","description":"Notifications library for egui","archived":false,"fork":false,"pushed_at":"2025-02-07T13:00:51.000Z","size":298,"stargazers_count":134,"open_issues_count":2,"forks_count":39,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-08T00:23:46.460Z","etag":null,"topics":["gui","notifications","rust","toast"],"latest_commit_sha":null,"homepage":"","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/ItsEthra.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2022-08-22T21:18:04.000Z","updated_at":"2025-02-17T10:52:02.000Z","dependencies_parsed_at":"2024-01-14T02:39:26.256Z","dependency_job_id":"31b2bc96-53f0-46a2-97c6-09e20afdd6f9","html_url":"https://github.com/ItsEthra/egui-notify","commit_stats":{"total_commits":50,"total_committers":6,"mean_commits":8.333333333333334,"dds":"0.30000000000000004","last_synced_commit":"3d93d7c2e3851717bcb7eeb29389f0c1487d4b93"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ItsEthra%2Fegui-notify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ItsEthra%2Fegui-notify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ItsEthra%2Fegui-notify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ItsEthra%2Fegui-notify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ItsEthra","download_url":"https://codeload.github.com/ItsEthra/egui-notify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246880051,"owners_count":20848801,"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":["gui","notifications","rust","toast"],"created_at":"2024-08-01T12:00:46.636Z","updated_at":"2025-04-02T19:31:52.062Z","avatar_url":"https://github.com/ItsEthra.png","language":"Rust","funding_links":[],"categories":["Libraries"],"sub_categories":[],"readme":"# egui-notify\r\n\r\nSimple notifications library for [`egui`](https://github.com/emilk/egui)\r\n\r\n![example_image](media/toasts_type.png)\r\n\r\n![example_video](media/toasts_example_video.gif)\r\n\r\n## Usage\r\n\r\n```rust\r\nuse egui_notify::Toasts;\r\nuse std::time::Duration;\r\n\r\n// initialize once\r\nlet mut toasts = Toasts::default();\r\n```\r\n\r\n```rust\r\n// somewhere within [egui::App::update]...\r\ntoasts.info(\"Hello world!\").duration(Duration::from_secs(5));\r\n// ...\r\ntoasts.show(ctx);\r\n```\r\n\r\n## Installation\r\n\r\n```sh\r\ncargo add egui-notify\r\n```\r\n\r\n```toml\r\n[dependencies]\r\negui-notify = \"0.17.0\"\r\n```\r\n\r\n## Difference to [`egui-toast`](https://github.com/urholaukkarinen/egui-toast)\r\n\r\n### `egui-notify` has\r\n\r\n- Animations for appearing/disappearing toasts\r\n- Duration meter for expiring toasts\r\n- Toast positioning not influenced by which `Context` you pass to it (like if for example, you passed in a `Context` already altered for an `egui::Window`)\r\n- Differing methodology (create `Toasts` instance once, save save somewhere in application state)\r\n- Threadsafe `Toasts` instance, implements `Send`, `Sync`.\r\n- No support for custom toasts\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FItsEthra%2Fegui-notify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FItsEthra%2Fegui-notify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FItsEthra%2Fegui-notify/lists"}