A beautiful and modern weather forecast app built with Flutter.
- 🌡️ Real-time weather data
- 📍 GPS location detection
- 🔍 City search
- 📊 Hourly & daily forecast
- 🌙 Dark/Light mode
- 🌐 Multi-language (English & Bahasa Indonesia)
- 💨 Wind, humidity, pressure, visibility info
- 🌅 Sunrise & sunset times
Coming soon
- Flutter SDK (3.7+)
- OpenWeatherMap API Key (Free tier available)
git clone https://github.com/codinggeh/weather-geh.git
cd weather-gehCreate a .env file in the root directory:
cp .env.example .envEdit .env and add your OpenWeatherMap API key:
OPENWEATHER_API_KEY=your_api_key_here💡 Get your free API key at openweathermap.org
flutter pub getRun build_runner to generate required files:
dart run build_runner build --delete-conflicting-outputsflutter runflutter build apk --releaseAPK will be at build/app/outputs/flutter-apk/app-release.apk
flutter build ios --releaseflutter build web --releaselib/
├── core/
│ ├── config/ # Environment configuration
│ ├── constants/ # App & API constants
│ ├── theme/ # App theming
│ └── utils/ # Utility helpers
├── models/ # Data models (Freezed)
├── services/ # API & location services
├── viewmodels/ # State management (Riverpod)
└── views/
├── widgets/ # Reusable widgets
└── screens # App screens
- State Management: Riverpod
- API Client: Dio
- Code Generation: Freezed, JSON Serializable
- Localization: Easy Localization
- Location: Geolocator
- Environment: Envied
Pull requests are welcome! For major changes, please open an issue first.
Made with ❤️ by Coding Geh