{"id":14976987,"url":"https://github.com/go-toast/toast","last_synced_at":"2025-05-16T10:08:39.177Z","repository":{"id":45833708,"uuid":"64345375","full_name":"go-toast/toast","owner":"go-toast","description":"A go package for Windows 10 toast notifications","archived":false,"fork":false,"pushed_at":"2023-08-21T03:02:57.000Z","size":245,"stargazers_count":462,"open_issues_count":22,"forks_count":69,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-05-13T14:59:53.539Z","etag":null,"topics":["cli","golang","toast","windows","windows-10"],"latest_commit_sha":null,"homepage":"https://godoc.org/gopkg.in/toast.v1","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/go-toast.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-07-27T22:18:03.000Z","updated_at":"2025-03-30T22:33:55.000Z","dependencies_parsed_at":"2024-06-18T12:29:14.979Z","dependency_job_id":"8b85ae32-a6d7-491f-8a84-897fd75731d2","html_url":"https://github.com/go-toast/toast","commit_stats":null,"previous_names":["jacobmarshall/go-toast"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-toast%2Ftoast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-toast%2Ftoast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-toast%2Ftoast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-toast%2Ftoast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/go-toast","download_url":"https://codeload.github.com/go-toast/toast/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254509477,"owners_count":22082892,"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":["cli","golang","toast","windows","windows-10"],"created_at":"2024-09-24T13:54:48.112Z","updated_at":"2025-05-16T10:08:34.168Z","avatar_url":"https://github.com/go-toast.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# Toast\n\nA go package for Windows 10 toast notifications.\n\nAs seen in [jacobmarshall/pokevision-cli](https://github.com/jacobmarshall/pokevision-cli).\n\n## CLI\n\nAs well as using go-toast within your Go projects, you can also utilise the CLI - for any of your projects.\n\nDownload [64bit](https://go-toast-downloads.s3.amazonaws.com/v1/toast64.exe) or [32bit](https://go-toast-downloads.s3.amazonaws.com/v1/toast32.exe)\n\n```cmd\nC:\\Users\\Example\\Downloads\\toast64.exe \\\n  --app-id \"Example App\" \\\n  --title \"Hello World\" \\\n  --message \"Lorem ipsum dolor sit amet, consectetur adipiscing elit.\" \\\n  --icon \"C:\\Users\\Example\\Pictures\\icon.png\" \\\n  --audio \"default\" --loop \\\n  --duration \"long\" \\\n  --activation-arg \"https://google.com\" \\\n  --action \"Open maps\" --action-arg \"bingmaps:?q=sushi\" \\\n  --action \"Open browser\" --action-arg \"http://...\"\n```\n\n![CLI](./screenshot-cli.png)\n\n## Example\n\n```go\npackage main\n\nimport (\n    \"log\"\n\n    \"gopkg.in/toast.v1\"\n)\n\nfunc main() {\n    notification := toast.Notification{\n        AppID: \"Example App\",\n        Title: \"My notification\",\n        Message: \"Some message about how important something is...\",\n        Icon: \"go.png\", // This file must exist (remove this line if it doesn't)\n        Actions: []toast.Action{\n            {\"protocol\", \"I'm a button\", \"\"},\n            {\"protocol\", \"Me too!\", \"\"},\n        },\n    }\n    err := notification.Push()\n    if err != nil {\n        log.Fatalln(err)\n    }\n}\n```\n\n## Screenshots\n\n![Toast](./screenshot-toast.png)\n\n![Action centre](./screenshot-action-centre.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-toast%2Ftoast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgo-toast%2Ftoast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-toast%2Ftoast/lists"}