go-toast
toast
Go

A go package for Windows 10 toast notifications

Last updated Jun 29, 2026
487
Stars
75
Forks
22
Issues
0
Stars/day
Attention Score
24
Language breakdown
Go 99.2%
Shell 0.8%
Files click to expand
README

Toast

A go package for Windows 10 toast notifications.

As seen in jacobmarshall/pokevision-cli.

CLI

As well as using go-toast within your Go projects, you can also utilise the CLI - for any of your projects.

Download 64bit or 32bit

C:\Users\Example\Downloads\toast64.exe \
  --app-id "Example App" \
  --title "Hello World" \
  --message "Lorem ipsum dolor sit amet, consectetur adipiscing elit." \
  --icon "C:\Users\Example\Pictures\icon.png" \
  --audio "default" --loop \
  --duration "long" \
  --activation-arg "https://google.com" \
  --action "Open maps" --action-arg "bingmaps:?q=sushi" \
  --action "Open browser" --action-arg "http://..."

CLI

Example

package main

import ( "log"

"gopkg.in/toast.v1" )

func main() { notification := toast.Notification{ AppID: "Example App", Title: "My notification", Message: "Some message about how important something is...", Icon: "go.png", // This file must exist (remove this line if it doesn't) Actions: []toast.Action{ {"protocol", "I'm a button", ""}, {"protocol", "Me too!", ""}, }, } err := notification.Push() if err != nil { log.Fatalln(err) } }

Screenshots

Toast

Action centre

🔗 More in this category

© 2026 GitRepoTrend · go-toast/toast · Updated daily from GitHub