Skip to content
vic

kevinsawicki/tray-example

Electron Tray Mac OS X Example App

kevinsawicki/tray-example.json
{
"createdAt": "2016-05-05T00:48:01Z",
"defaultBranch": "master",
"description": "Electron Tray Mac OS X Example App",
"fullName": "kevinsawicki/tray-example",
"homepage": null,
"language": "JavaScript",
"name": "tray-example",
"pushedAt": "2017-12-19T16:06:54Z",
"stargazersCount": 435,
"topics": [],
"updatedAt": "2025-11-10T09:26:56Z",
"url": "https://github.com/kevinsawicki/tray-example"
}

An example app for building a native-looking Mac OS X tray app with a popover using Electron.

The app shows the weather for the current location and refreshes every 10 minutes.

Built with photon. Uses the Dark Sky Forecast API.

Terminal window
git clone https://github.com/kevinsawicki/tray-example
cd tray-example
npm install
npm start
Terminal window
npm run package
open out/Weathered-darwin-x64/Weathered.app

screenshot