xbar plug to get Weather and Severe Weather Alerts in your macOS menu bar. Weather Data powered by The National Weather Service API.
In order to run this app both xbar and Deno must be installed
xbar (the BitBar reboot) lets you put the output from any script/program in your macOS menu bar.
To install Download the latest release of xbar.
Deno is a simple, modern and secure runtime for JavaScript and TypeScript that uses V8 and is built in Rust.
Shell (Mac, Linux):
curl -fsSL https://deno.land/x/install/install.sh | sh
Homebrew (Mac):
brew install deno
See deno_install and releases for other options.
To install this plugin copy the contents of weatherAlerts.1min.ts
into your
xbar plugin directory. The plugin directory is folder on your Mac where the
plugins live, located at ~/Library/Application Support/xbar/plugins.
curl -sL https://raw.githubusercontent.com/theogainey/xbar-weatheralerts/main/weatherAlerts.1min.ts -o weatherAlerts.1min.ts
Ensure that the file is executable by using the command
chmod +x weatherAlerts.1min.ts
.
Read more.