{"id":16020524,"url":"https://github.com/chanibal/toast","last_synced_at":"2026-01-12T02:07:46.768Z","repository":{"id":146089127,"uuid":"292548078","full_name":"chanibal/toast","owner":"chanibal","description":"Notification utility for Windows, WSL, and MacOS","archived":false,"fork":false,"pushed_at":"2020-10-12T23:54:28.000Z","size":53,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-07T21:32:54.819Z","etag":null,"topics":["bash","hacktoberfest","macos","notification","notification-utility","popup","terminal","windows"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/chanibal.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":"2020-09-03T11:18:53.000Z","updated_at":"2020-10-13T00:06:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"1b6b6e54-3dff-4ac4-b5a4-f4d8677d4bee","html_url":"https://github.com/chanibal/toast","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chanibal%2Ftoast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chanibal%2Ftoast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chanibal%2Ftoast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chanibal%2Ftoast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chanibal","download_url":"https://codeload.github.com/chanibal/toast/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246769977,"owners_count":20830769,"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":["bash","hacktoberfest","macos","notification","notification-utility","popup","terminal","windows"],"created_at":"2024-10-08T17:41:13.753Z","updated_at":"2026-01-12T02:07:46.755Z","avatar_url":"https://github.com/chanibal.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Toast\n=====\n\nNotification utility for Windows bash (WSL, Cygwin, MSYS etc.) and MacOS.  \nWritten in pure bash with plugins using other technologies (cURL, Powershell etc.).\n\nProject homepage: https://github.com/chanibal/toast/\n\n\nUsage\n-----\n\nSimple popup just with a subject:\n\n```bash\ntoast \"my message in the notification\"\n```\n\nPopup with standard input printed:\n\n![screenshot](screenshot.png)\n\n```bash\ndate --iso-8601=s | toast \"The current date and time\"\n```\n\nAll arguments are used as the message subject.\n\nIf the command is executed in a pipe, all of `stdin` is read.\n\n\nPlugins and configuration\n-------------------------\n\nToast is very simple to extend. \nIt will automatically find functions that start with `plugin_toast_...` and evaluate them with three arguments:\n\n1. `subject` - the subject of the notification (the part that is the command line argument to the `toast` command)\n2. `body` - the body of the notification (the optional part that is piped into the `toast` command)\n3. `client` - the name of the current device, defaults to hostname\n\nYou can add your own plugin in the configuration file `~/.config/.toast` (supports `XDG_CONFIG_HOME` changes) or in your `.profile`/`.bash_profile`/other script executing on shell startup.\n\nExample:\n```bash\nplugin_toast_example ()\n{\n\tlocal subject body client\n\tsubject=\"$1\"\n\tbody=\"$2\"\n\tclient=\"$3\"\n\n\tcurl --silent --output /dev/null --show-error --fail -X POST \\\n\t\t--form-string subject=\"$subject\"                         \\\n\t\t--form-string body=\"$body\"                               \\\n\t\t--form-string client=\"$client\"                           \\\n\t\t\"http://example.com\"\n\t\n\treturn $?\n}\n```\n\n\nAvailable plugins\n-----------------\n\nCurrently two plugins are built in\n\n### `windows_notification`\n\nPops up a Windows 8/10 tray notification in the corner of your screen.\n\nNo additional configuration\n\n\n### `ifttt`\n\nExecutes a IFTTT maker request. This is an easy way to link an Android popup using Pushbullet.\n\nConfiguration:\n\n- `PLUGIN_TOAST_IFTTT_KEY` - the maker event key, required\n- `PLUGIN_TOAST_IFTTT_EVENT` - the maker event name, defaults to `notification`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchanibal%2Ftoast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchanibal%2Ftoast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchanibal%2Ftoast/lists"}