Git Product home page Git Product logo

weather-widget's Introduction

Weather widget

Plotting of local weather from Wunderground stations (PWS)

weather_widget

Build prerequisites

  • Installed vcpkg and these packages
    • vcpkg install imgui
    • vcpkg install implot
    • vcpkg install glew
    • vcpkg install cpr
    • vcpkg install nlohmann_json

CMake parameter: -DCMAKE_TOOLCHAIN_FILE=path to vcpkg directory

Third-party libraries and their usage:

  • ImGUI - GUI for whole application
  • ImPlot - custom plots for weather (temperature, humidity)
  • Glew - needed by ImGUI, not using explicitly
  • Cpr - requesting Wunderground API over HTTP
  • Json - deserializing JSON from request body

Usage:

For usage is necessary to be registered on Wunderground and then generate API key

  1. Obtain Wunderground API key โ†‘
  2. Find some near PWS in their map
  3. Copy that PWS ID (station id), for example IPRAGU386
  4. Open this app
  5. Paste API key and PWS ID to this in-app Settings
  6. Click "Save"
  7. Temperature and Humidity plot should appear

Screenshots:

Widget is by default semi-transparent and always-on-top, and therefore can be seen pernamently.

weather_widget weather_widget_transparent weather_widget_full

Tested on Windows 10, 1920x1080px

weather-widget's People

Contributors

janvrska avatar

Watchers

 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.