Skip to content

Bhola-B2C/weather-widget

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##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 86.3%
  • Ruby 10.3%
  • CoffeeScript 2.1%
  • HTML 1.3%