{"id":13712949,"url":"https://github.com/star-tek-mb/zig-tray","last_synced_at":"2025-05-06T22:31:52.038Z","repository":{"id":81168355,"uuid":"553552595","full_name":"star-tek-mb/zig-tray","owner":"star-tek-mb","description":"Create tray applications with zig","archived":false,"fork":false,"pushed_at":"2024-12-30T18:34:22.000Z","size":106,"stargazers_count":20,"open_issues_count":2,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-26T15:46:23.912Z","etag":null,"topics":["notifications","tray","tray-menu","zig"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/star-tek-mb.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}},"created_at":"2022-10-18T11:48:05.000Z","updated_at":"2025-03-24T07:08:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"c1b7b91b-8759-4f04-86b4-246527d57545","html_url":"https://github.com/star-tek-mb/zig-tray","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/star-tek-mb%2Fzig-tray","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/star-tek-mb%2Fzig-tray/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/star-tek-mb%2Fzig-tray/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/star-tek-mb%2Fzig-tray/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/star-tek-mb","download_url":"https://codeload.github.com/star-tek-mb/zig-tray/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252779195,"owners_count":21802900,"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":["notifications","tray","tray-menu","zig"],"created_at":"2024-08-02T23:01:25.027Z","updated_at":"2025-05-06T22:31:46.973Z","avatar_url":"https://github.com/star-tek-mb.png","language":"Zig","funding_links":[],"categories":["Multimedia \u0026 Graphics"],"sub_categories":["GUI"],"readme":"# zig-tray\n\nzig-tray is a library for creating tray applications. Supports tray and notifications.\n\n## Features\n\n- tray witch `.ico` support!\n- left click callback support\n- right click callback support\n- sending notification and notification click callback support\n\n## Supported platforms\n\n - [x] Windows\n - [ ] Linux\n - [ ] MacOS\n\n## Installation\n\n### Zig `0.12` \\ `0.13.0`\n\n1. Add to `build.zig.zon`\n\n```sh\n# It is recommended to replace the following branch with commit id\nzig fetch --save https://github.com/star-tek-mb/zig-tray/archive/master.tar.gz\n# Of course, you can also use git+https to fetch this package!\n```\n\n2. Config `build.zig`\n\nAdd this:\n\n```zig\n// To standardize development, maybe you should use `lazyDependency()` instead of `dependency()`\n// more info to see: https://ziglang.org/download/0.12.0/release-notes.html#toc-Lazy-Dependencies\nconst zig_tray = b.dependency(\"zig-tray\", .{\n    .target = target,\n    .optimize = optimize,\n});\n\n// add module\nexe.root_module.addImport(\"zig-tray\", zig_tray.module(\"tray\"));\n```\n\n## Example\n\nsee folder `example`!\n\n## Credits\n\nhttps://github.com/zserge/tray - for initial C library\nhttps://github.com/glfw/glfw/blob/master/src/win32_window.c#L102 - for icon creating from rgba\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstar-tek-mb%2Fzig-tray","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstar-tek-mb%2Fzig-tray","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstar-tek-mb%2Fzig-tray/lists"}