chanibal / toast Goto Github PK
View Code? Open in Web Editor NEWNotification utility for Windows, WSL, and MacOS
License: MIT License
Notification utility for Windows, WSL, and MacOS
License: MIT License
Outputs will be functions in a namespace, ex. echo the body | toast -o notification,mail "the message"
executes toast_notification "the message" "the body"
and toast_mail "the message" "the body"
.
Configuration file in $XDG_CONFIG_HOME/.toast
should be sourced, any plugins should be placed there.
Note: if $XDG_CONFIG_HOME
is unset, use ~/.config/
(source). Maybe some kind of TOAST_CONFIG
override?
In the configuration file, both configuration and user plugins can be kept. Also some kind of override for the --outputs
option.
Good ideas for plugins:
curl
handler)Each plugin takes care of its own configuration, but its recommended to use the PLUGIN_TOAST_${PLUGIN_NAME}_${CONFIG_KEY}
namespace. Ex for plugin mqtt some config might be: PLUGIN_TOAST_MQTT_USERNAME
.
Add option for selecting outputs, ex. -o
/--outputs
with comma delimited list of outputs to be used.
Currently they are silently trimmed. This is endpoint dependant.
Maybe some standard length after which a warning is issued?
To be considered, probably using notify-send
or zenity
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.