All Projects → go-toast → Toast

go-toast / Toast

Licence: mit
A go package for Windows 10 toast notifications

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Toast

Burnttoast
Module for creating and displaying Toast Notifications on Microsoft Windows 10.
Stars: ✭ 796 (+253.78%)
Mutual labels:  windows-10, toast
Jquery.terminal
jQuery Terminal Emulator - JavaScript library for creating web-based terminals with custom commands
Stars: ✭ 2,623 (+1065.78%)
Mutual labels:  cli
Ronin
Ronin is a Ruby platform for vulnerability research and exploit development. Ronin allows for the rapid development and distribution of code, Exploits or Payloads, Scanners, etc, via Repositories.
Stars: ✭ 220 (-2.22%)
Mutual labels:  cli
Gitlab Cli
Create a merge request from command line in gitlab
Stars: ✭ 224 (-0.44%)
Mutual labels:  cli
Stego
🦕 stego is a steganographic swiss army knife.
Stars: ✭ 220 (-2.22%)
Mutual labels:  cli
Snackbar
A tiny browser library for showing a brief message at the bottom of the screen (1kB gzipped).
Stars: ✭ 224 (-0.44%)
Mutual labels:  toast
Av data capture
本地电影刮削与整理一体化解决方案
Stars: ✭ 3,502 (+1456.44%)
Mutual labels:  cli
Localeapp
Send and retrieve your ruby i18n localizations to the Locale translation service
Stars: ✭ 225 (+0%)
Mutual labels:  cli
Parrotsay
✨🐦 The Party Parrot on your terminal 🐦✨
Stars: ✭ 224 (-0.44%)
Mutual labels:  cli
Insider
Static Application Security Testing (SAST) engine focused on covering the OWASP Top 10, to make source code analysis to find vulnerabilities right in the source code, focused on a agile and easy to implement software inside your DevOps pipeline. Support the following technologies: Java (Maven and Android), Kotlin (Android), Swift (iOS), .NET Full Framework, C#, and Javascript (Node.js).
Stars: ✭ 216 (-4%)
Mutual labels:  cli
My Git Bash
my git bash config
Stars: ✭ 222 (-1.33%)
Mutual labels:  windows-10
Density Converter
A multi platform image density converting tool converting single or batches of images to Android, iOS, Windows or CSS specific formats and density versions given the source scale factor or width/height in dp. It has a graphical and command line interface and supports many image types (svg, psd, 9-patch, etc.) aswell as some lossless compressors like pngcrush.
Stars: ✭ 222 (-1.33%)
Mutual labels:  cli
Php Console Spinner
Colorful highly configurable spinner for php cli applications (suitable for async apps)
Stars: ✭ 225 (+0%)
Mutual labels:  cli
Klog
A plain-text file format and command line tool for time tracking
Stars: ✭ 222 (-1.33%)
Mutual labels:  cli
Swiftsnapper
Open source Snapchat client for Windows 10
Stars: ✭ 225 (+0%)
Mutual labels:  windows-10
Bitcoin Chart Cli
Bitcoin chart for the terminal as command line util
Stars: ✭ 221 (-1.78%)
Mutual labels:  cli
Go Termd
Package termd provides terminal markdown rendering, with code block syntax highlighting support.
Stars: ✭ 223 (-0.89%)
Mutual labels:  cli
Cleanmgrplus
🐾 A Improved Replacement for Microsoft Disk Cleanup
Stars: ✭ 224 (-0.44%)
Mutual labels:  windows-10
Vocabs
📚 A lightweight online dictionary integration to the command line. No browsers. No paperbacks.
Stars: ✭ 226 (+0.44%)
Mutual labels:  cli
Dcos Cli
The command line for DC/OS.
Stars: ✭ 225 (+0%)
Mutual labels:  cli

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].