weath by Jason Page · amfile.org · 2026
──────────────────────────────────────────────────────────────────
Boston, MA ← Swipe for Settings
┌─ This Afternoon ──────────────────── Partly Cloudy ─┐
│ 38°F 12 mph ↘NW │
│ From northwest │
└──────────────────────────────────────────────────────┘
7-DAY FORECAST
──────────────────────────────────────────────────────
Tonight 28°F 8 mph ↑S Snow 1-2 in
Mon 42°F 15 mph ↘NW —
Mon Night 31°F 10 mph ↑S Snow
Tue 45°F 5 mph ↖SE Rain
Tue Night 36°F 8 mph ↘NW —
Wed 50°F 10 mph →W Drizzle
Wed Night 38°F 6 mph ↑S Frzg Rain
──────────────────────────────────────────────────────
ACTIVE ADVISORIES
WINTER STORM WARNING
Winter Storm Warning in effect until 6 AM EST
Tuesday…
● ○
---
weath/
├── app/
│ └── src/main/
│ ├── java/org/amfile/weath/
│ │ ├── MainActivity.kt # ViewPager2 host, dot indicators
│ │ ├── WeatherFragment.kt # Main weather display
│ │ ├── SettingsFragment.kt # ZIP code + units settings
│ │ ├── WeatherPagerAdapter.kt # Swipe between weather/settings
│ │ ├── WeatherViewModel.kt # Data loading, unit conversion,
│ │ │ # precipitation parsing
│ │ ├── adapter/
│ │ │ └── WeatherAdapter.kt # RecyclerView with 5 view types
│ │ ├── api/
│ │ │ ├── WeatherApiService.kt # NWS API endpoints (Retrofit)
│ │ │ ├── GeocodingApiService.kt
│ │ │ └── RetrofitClient.kt # OkHttp + Retrofit setup
│ │ └── model/
│ │ ├── PointsResponse.kt
│ │ ├── ForecastResponse.kt
│ │ ├── AlertsResponse.kt
│ │ ├── GeocodingResult.kt
│ │ └── WeatherState.kt # Sealed class: Loading/Success/Error
│ └── res/
│ ├── layout/ # activity_main, fragments, item views
│ └── values/ # Amber-on-black theme, strings, colors
└── README.md
---
api.weather.gov/points/{lat},{lon} returns the NWS grid office and forecast URL
api.weather.gov/alerts/active?point={lat},{lon} returns any active advisories
#FFC107 text on #000000 background — using a monospace font throughout for a clean, terminal-style readout.
---
Download compiled versions for your platform. Consider supporting the project with an optional donation.
No changelog available.