Skip to content

therealMRBK/weather-widget

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Preview

Weather Widget Preview

Description

Weather widget for Dashing that displays weather and changes background color accordingly. Uses OpenWeatherMap API.

Usage

To use this widget, copy widgets/weather, assets/fonts, assets/stylesheets, jobs/weather.rb to same folders in your dashing app.

In your dashing layout file add following snippet to add weather widget.

<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
  <div data-id="weather" data-view="Weather"></div>
</li>

Settings

All customization is done in weather.rb job file. You will need to provide CITY_ID and register with OpenWeatherMap to get API_KEY. Rest of the settings are well commented in the code and can be changed, this includes changing climacons icons and colors. Any contributions to more rich experience with these settings are welcomed.

Contribution

Special thanks to contributions from

David Underword for providing original weather widget

Adam Whitcroft for creating awesome climacons font

About

Weather widget for dashing (http://dashing.io/)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 81.9%
  • Ruby 14.9%
  • CoffeeScript 2.0%
  • HTML 1.2%