Giter Site home page Giter Site logo

alfred-weather's Introduction

alfred-weather

An Alfred workflow for showing weather forecasts

Screenshot

This workflow lets you access weather forecasts from several APIs:

*Note that Dark Sky was purchased by Apple in early 2020 and has sunset their API. API keys are no longer being issued, and the API will cease service at the end of 2021.


Installation

Download the latest workflow package from the releases page and double click it โ€” Alfred will take care of the rest.

Setup

The workflow has one top-level command, wtr, and three sub-commands, daily (wtd), hourly (wth), and options (wto). The first thing you'll need to do is configure some options.

Options

Some options are, well, optional, but the Service and related Key options, and a default location, are required. You need an API key for the service you choose. Both of the currently supported services (Dark Sky and OpenWeather) are free to use (for a reasonable number of requests per day).

Once you've entered the service key, selection the "Location" option then enter a ZIP code or city name, then wait a couple of seconds. When it looks like your desired location has been found, press Enter to save it.

Usage

The wtd keyword will show a forecast for the next several days.

Daily forecast

The wth keyword will show a forecast for the next several hours.

Hourly forecast

In either case, you can enter a location query to get the forecast for somewhere other than your default location.

Name query

ZIP query

Actioning a day in the daily forecast will jump to an hourly forecast for that day, if hourly data is available. Actioning the list heading will jump back to the daily forecast.

If there are any active weather alerts, they'll show at the top of the forecast. Actioning an alert will open more detailed information in a browser window.

If there is a newer version of the workflow available, a message will be displayed at the top of the result list. Actioning it will open a release page for the new version in a browser window.

Update notice

Credits

The package includes a number of icon sets from the Weather Underground and from weathericonsets.com (I'm not up to drawing weather icons yet). Each set includes an info.json file that gives a short description and provides a source URL for the icon set.

alfred-weather's People

Contributors

jason0x43 avatar jeffbyrnes avatar kant avatar wolfogre avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.