Skip to content
/ cloudy Public

Weather information based on your current location, as well as a week-long forecast

Notifications You must be signed in to change notification settings

s12dar/cloudy

Repository files navigation

cloudy ☁️ (work in progress)

Cloudy is an open-source weather app for Android that provides users with up-to-date weather information based on their current location, as well as a week-long forecast. It is built using the latest Android technologies and follows the MVVM with clean architecture, with an offline-first approach that caches weather data for improved performance.

Tech stack 🏗

Development Setup

To build and run the app, you will need the latest version of Android Studio Giraffe (or newer) installed on your system.

Weather API

The weather data is provided by the Open Weather API, which requires an API key. To store your Open Weather API key, add it to your local.properties file as follows:

OPEN_WEATHER_API_KEY=[YOUR_API_KEY]

The app retrieves the user's location using the device's GPS and uses the latitude and longitude to fetch the current weather and forecast for the next five days from the Open Weather API.

Contributions

All contributions to Cloudy are welcome! Just pick an issue and leave a comment before you start working on it.

Todos

Here are some areas of improvement that I'm currently working on:

  • Increase test coverage
  • Improve buildSrc
  • Enhance modularization

LICENSE 📄

MIT License

Copyright (c) 2023 s12dar

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.