This is a desktop weather app built with Vite, Vue, and Electron that uses the OpenWeatherMap API to display weather data. The app has a feature that changes the background image based on the time of day, and it saves the last searched city for convenience. It is built to work on all major platforms including Mac, Linux, and Windows.
- Clone the repository and install dependencies:
git clone https://github.com/DontAskForAnything/weather-desktop-app.git
cd weather-desktop-app
- Install dependencies using npm
npm install
-
Fill in the
.env.example
file located in the frontend folder with your OpenWeatherAPI key and the unit in which you want your weather data to be displayed. Once you've filled in the necessary information, rename the file to.env
. -
Build the app:
npm build
All contributions are welcome to this project! If you have any suggestions or find any issues, please feel free to create a new issue or pull request.
Before submitting a pull request, please make sure your code passes the linting tests by running:
npm run lint
This application uses the OpenWeatherMap API to retrieve weather data. The data provided by this API is the property of OpenWeatherMap, and I do not claim ownership of it. This application is not affiliated with OpenWeatherMap, and please refer to their API documentation for terms of use and attribution requirements.