/weather-wpp

⛅ Terminal weather application.

Primary LanguageC++

weather-wpp

⛅ Terminal weather application.

image


Introduction

Weather-wpp is a terminal GUI weather information program based on the FTXUI library and use data from Open-Meteo API.

Requirements

To fully use this code, your terminal must support UTF-8 and be configured with a font that includes emoji glyphs, in addition to being in a recent version. In addition, it is necessary that you have pre-installed GNU Make and Make, in order to carry out all the commands.

Devices

When using the program, you will have access to weather information in your location using the Open-Meteo API as a reference.

The program has hourly (given every hour) and daily (fixed for the whole day) information. You will have access to information such as:

  • Temperature based on your operating system time
  • Maximum and minimum temperature
  • Precipitation Probability with more than 0.1 mm of the preceding hour
  • Humidity
  • Weather Code

Usage

Initially, it is necessary that you clone this project on your machine, with the installation location being something that can be quickly accessed via a terminal. To do so, issue the following command in your terminal with the chosen installation folder:

git clone https://github.com/Lucas-Rezende/weather-wpp

After that, create a folder named "build" at the root of the project, then, in the terminal, still at the root of the folder, run the command:

cmake -B build

Completing the previous steps, enter the build folder via terminal and issue the command:

make

After the complete compilation of the project, you can return to the root of the project and finally run the program by typing:

./build/app

That way, you'll have access to the program's interface, where you can enter your location and access its weather information.