{"id":36856624,"url":"https://github.com/zooyer/tray","last_synced_at":"2026-01-12T14:44:31.243Z","repository":{"id":123371019,"uuid":"262824200","full_name":"zooyer/tray","owner":"zooyer","description":"go tray for windows","archived":false,"fork":false,"pushed_at":"2021-07-28T17:49:33.000Z","size":48,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T08:10:00.882Z","etag":null,"topics":["gotray","tray","tray-application","tray-menu","windows"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/zooyer.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2020-05-10T16:04:08.000Z","updated_at":"2021-07-28T17:49:36.000Z","dependencies_parsed_at":"2024-01-09T00:13:23.562Z","dependency_job_id":"c26a6a3c-7dc7-4881-b692-2621a42a0429","html_url":"https://github.com/zooyer/tray","commit_stats":{"total_commits":4,"total_committers":3,"mean_commits":"1.3333333333333333","dds":0.5,"last_synced_commit":"6c552367e6fdfb0c64dae9d6dd22176bf1c4a3b7"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zooyer/tray","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zooyer%2Ftray","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zooyer%2Ftray/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zooyer%2Ftray/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zooyer%2Ftray/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zooyer","download_url":"https://codeload.github.com/zooyer/tray/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zooyer%2Ftray/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28340403,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T12:22:26.515Z","status":"ssl_error","status_checked_at":"2026-01-12T12:22:10.856Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["gotray","tray","tray-application","tray-menu","windows"],"created_at":"2026-01-12T14:44:29.957Z","updated_at":"2026-01-12T14:44:31.235Z","avatar_url":"https://github.com/zooyer.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go tray for windows\r\n\r\nGo tray for windows.\r\n\r\n\r\n\r\n#### Download and Install\r\n\r\n```shell\r\ngo get github.com/zooyer/tray\r\n```\r\n\r\n\r\n\r\n#### Generate rsrc.syso(depend app.manifest)\r\n\r\n```shell\r\ngo get github.com/akavel/rsrc\r\nrsrc -arch amd64 -manifest app.manifest -o rsrc.syso\r\n```\r\n\r\n\r\n\r\n#### Example\r\n\r\n```go\r\n//go:generate rsrc -arch amd64 -manifest app.manifest -o rsrc.syso\r\nfunc main() {\r\n\ttray, err := New(\u0026Options{\r\n\t\tTip: \"test\",\r\n\t\tIcon: \"./logo.ico\",\r\n\t\tClick: func(x, y int) {\r\n\t\t\tfmt.Println(\"x:\", x, \"y:\", y)\r\n\t\t},\r\n\t\tMenus: Menus{\r\n\t\t\t{\r\n\t\t\t\tName: \"test\",\r\n\t\t\t\tAction: func(tray *Tray) {\r\n\t\t\t\t\tfmt.Println(\"click test\")\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tName: \"exit\",\r\n\t\t\t\tAction: func(tray *Tray) {\r\n\t\t\t\t\t_ = tray.Stop()\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t},\r\n\t})\r\n\tif err != nil {\r\n\t\tt.Fatal(err)\r\n\t}\r\n\r\n\ttray.Message(\"running\", \"is running\")\r\n\r\n\ttray.Run()\r\n}\r\n```\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzooyer%2Ftray","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzooyer%2Ftray","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzooyer%2Ftray/lists"}