Logo Weath (Android / BASH / OSX)
Weath (Android / BASH / OSX)

Weath (Android / BASH / OSX)

By Page Telegram
💛 Support Page Telegram directly 💳 Donate
Current Version: 2.0.2 (Android) / 1.1.0 (BASH) / 2.10 OSX
26
Unique Views
36
Free Downloads
0
Donation Downloads

WEATH

A minimal Android weather and news reader with an amber-on-black terminal aesthetic. by Jason Page · store.amfile.org · 2026 ---

Features

Weather (page 1)

  • Current conditions — temperature, hi/lo, wind, precipitation, relative humidity, and US Air Quality Index
  • 7-day half-day forecast — each NWS period (daytime and overnight) on its own row with labelled columns: DAY / HI/LO / WIND / PCPN / RH / AQI
  • All precipitation types — Rain, Drizzle, T-Storm, Freezing Rain, Sleet, Ice, Snow (with accumulation amounts where forecast)
  • Active advisories — NWS watches, warnings, and advisories listed below the forecast
  • Imperial or Metric — °F/mph/inches or °C/km/h/cm, converted throughout
  • No NWS API key required — uses the free public api.weather.gov
  • News (page 2)

  • RSS feed reader — add any number of RSS 2.0 or Atom feeds
  • Unified feed — articles from all sources merged and sorted latest-first
  • Lazy loading — displays 25 articles at a time; tap "Load 25 more…" to page through
  • Full headlines and body — feed name, publish date, headline, and article preview shown per item
  • Tap to open — tapping an article opens it in the system browser
  • Settings (page 3)

  • ZIP code entry and Imperial/Metric unit toggle
  • RSS feed management — add feeds by URL, remove existing feeds with one tap
  • ---

    Screenshots

    
    WEATH                        by Jason Page · store.amfile.org · 2026
    ────────────────────────────────────────────────────────────────────
    Boston, MA                                                  ← News
    
    ┌─ This Afternoon ──────────────────────── Partly Cloudy ──────────┐
    │  38°F                  12 mph                                     │
    │  Hi 42°/Lo 28°F        ↘ NW                                      │
    │  RH 55%   AQI 34                                                  │
    └───────────────────────────────────────────────────────────────────┘
    
    7-DAY
    DAY        HI/LO        WIND           PCPN    RH    AQI
    Tonight    42/28°F    ↑ 8 mph      Snow 1-2in  62%   28
    Mon        48/31°F    ↘ 15 mph          —       55%   34
    Mon Nt     31/48°F    ↑ 10 mph      Snow        60%   28
    Tue        50/36°F    ↖ 5 mph       Rain        70%   41
    Tue Nt     36/50°F    ↘ 8 mph          —        65%   38
    Wed        54/40°F    → 10 mph      Drizzle     72%   44
    Wed Nt     40/54°F    ↑ 6 mph      Frzg Rain    68%   40
    ────────────────────────────────────────────────────────────────────
    ACTIVE ADVISORIES
    
    WINTER STORM WARNING
      Winter Storm Warning in effect until 6 AM EST Tuesday…
    
    ● ● ○
    
    
    WEATH                        by Jason Page · store.amfile.org · 2026
    ────────────────────────────────────────────────────────────────────
    NEWS                               (page 2 of 3)
    
    reuters.com                                          Mar 7  14:32
    Markets rally as inflation data comes in below expectations
    Stocks climbed sharply Friday after the Labor Department reported
    consumer prices rose less than anticipated in February, easing
    concerns about prolonged high interest rates…
    ────────────────────────────────────────────────────────────────────
    bbc.co.uk                                            Mar 7  13:10
    Scientists confirm new deep-sea species discovered off Pacific coast
    Researchers at the Monterey Bay Aquarium Research Institute have
    announced the discovery of three new species of bioluminescent…
    ────────────────────────────────────────────────────────────────────
    
                              Load 25 more…
    
    ---

    Data Sources

    SourcePurpose
    api.weather.govForecast periods, active alerts
    Nominatim / OpenStreetMapZIP code → lat/lon geocoding
    Open-MeteoDaily relative humidity
    Open-Meteo Air QualityDaily US AQI (max)
    User-configured RSS/Atom feedsNews articles
    No API keys are required for any service. ---

    Requirements

  • Android 8.0 Oreo or later (API 26+)
  • Internet connection
  • US ZIP codes only (api.weather.gov covers the United States and territories)
  • ---

    Building

    Prerequisites

  • Android SDK with build tools 34
  • JDK 21 (JDK 17 also supported; JDK 25 requires Gradle 8.10+)
  • Gradle 8.6 (use cached wrapper distribution or a local install — see note below)
  • > Note: The gradlew wrapper script and JAR are not committed to this repo. > Build directly with a local Gradle installation: >
    bash
    > gradle assembleDebug
    > 
    > or point to a cached distribution: >
    bash
    > JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64 \
    >   ~/.gradle/wrapper/dists/gradle-8.6-bin/*/gradle-8.6/bin/gradle assembleDebug
    > 

    Debug APK

    bash
    gradle assembleDebug
    

    output: app/build/outputs/apk/debug/app-debug.apk

    Install to a connected device

    bash
    adb install app/build/outputs/apk/debug/app-debug.apk
    

    Release build

    bash
    gradle assembleRelease
    
    ---

    Project Structure

    
    weath/
    ├── app/src/main/
    │   ├── java/org/amfile/weath/
    │   │   ├── MainActivity.kt            # ViewPager2 host, 3-dot indicators
    │   │   ├── WeatherFragment.kt         # Weather page (page 0)
    │   │   ├── RssFragment.kt             # News feed page (page 1)
    │   │   ├── SettingsFragment.kt        # Settings page (page 2)
    │   │   ├── WeatherPagerAdapter.kt     # 3-page pager adapter
    │   │   ├── WeatherViewModel.kt        # Weather data, unit conversion,
    │   │   │                              #   precip parsing, hi/lo formatting
    │   │   ├── RssViewModel.kt            # Feed URL storage, RSS/Atom fetching
    │   │   │                              #   + parsing, article pagination
    │   │   ├── adapter/
    │   │   │   ├── WeatherAdapter.kt      # RecyclerView: 7 view types
    │   │   │   └── RssAdapter.kt          # RecyclerView: article + load-more
    │   │   ├── api/
    │   │   │   ├── WeatherApiService.kt   # NWS endpoints (Retrofit)
    │   │   │   ├── GeocodingApiService.kt # Nominatim endpoint (Retrofit)
    │   │   │   ├── OpenMeteoApiService.kt # Open-Meteo humidity + AQI (Retrofit)
    │   │   │   └── RetrofitClient.kt      # OkHttp + 4 Retrofit clients
    │   │   └── model/
    │   │       ├── ForecastResponse.kt
    │   │       ├── PointsResponse.kt
    │   │       ├── AlertsResponse.kt
    │   │       ├── GeocodingResult.kt
    │   │       ├── OpenMeteoResponse.kt   # Humidity + AQI response models
    │   │       ├── RssArticle.kt          # Article model + RssDisplayState
    │   │       └── WeatherState.kt        # Sealed: Loading / Success / Error
    │   └── res/
    │       ├── layout/
    │       │   ├── activity_main.xml
    │       │   ├── fragment_weather.xml
    │       │   ├── fragment_rss.xml
    │       │   ├── fragment_settings.xml
    │       │   ├── itemlocationheader.xml
    │       │   ├── itemcurrentconditions.xml
    │       │   ├── itemforecastheader.xml   # Column label row
    │       │   ├── itemforecastrow.xml      # Half-day forecast row
    │       │   ├── itemsectionlabel.xml
    │       │   ├── item_advisory.xml
    │       │   ├── itemrssarticle.xml
    │       │   ├── itemrssload_more.xml
    │       │   └── itemrssfeed_row.xml      # Feed URL row in Settings
    │       └── values/
    │           ├── colors.xml             # Amber-on-black palette
    │           ├── strings.xml
    │           └── themes.xml
    └── README.md
    
    ---

    How It Works

    Weather

  • User enters a US ZIP code in Settings
  • Nominatim geocodes the ZIP to a latitude/longitude
  • api.weather.gov/points/{lat},{lon} resolves the NWS grid office and forecast URLs
  • The forecast URL returns up to 14 half-day periods (day + overnight for 7 days)
  • api.weather.gov/alerts/active?point=… fetches any active advisories
  • Open-Meteo provides daily relative humidity and daily max US AQI for the same coordinates
  • Each forecast row shows the period's hi/lo (daytime temp = high, overnight = low, each referencing its counterpart), wind, precipitation, RH, and AQI
  • Precipitation is detected and amounts extracted by parsing NWS forecast text
  • News

  • User adds one or more RSS 2.0 or Atom feed URLs in Settings
  • On opening the News page, all feeds are fetched concurrently via OkHttp
  • XML is parsed with Android's built-in XmlPullParser; HTML is stripped from descriptions
  • Articles from all feeds are merged and sorted by publish date (latest first)
  • The first 25 articles are displayed; "Load 25 more…" appends the next page
---

Dependencies

LibraryVersionPurpose
Kotlin1.9.22Language
AndroidX ViewPager21.0.0Swipe navigation
AndroidX Lifecycle2.7.0ViewModel + StateFlow
Retrofit 22.9.0HTTP API clients
Gson Converter2.9.0JSON deserialization
OkHttp4.12.0HTTP client (weather APIs + RSS fetching)
Kotlin Coroutines1.7.3Async data loading
Material Components1.11.0UI widgets
All RSS/Atom parsing uses Android's built-in XmlPullParser — no additional XML library needed. ---

Theme

Pure amber on black — #FFC107 primary on #000000 background — using monospace throughout for a clean terminal-style readout.
Color tokenHexUsage
amberbright#FFD54FTemperatures, headlines
amberprimary#FFC107Main text, data values
amberdark#FF8F00Secondary labels
amberdim#795400Hints, metadata, column headers
amber_faint#3D2A00Dividers, input backgrounds
---

License

Copyright © 2026 Jason Page — store.amfile.org All rights reserved.

Download Options

Free Downloads: Source code and compiled binaries are freely available. Donations are appreciated!

Free Downloads

📦 Download Source Code

Compiled Binaries (Free Download)

💛 These binaries are free! If you find this software useful, please consider supporting the developer. 💳 Donate

Changelog

Changelog

All notable changes to WEATH are documented here. ---

[2.00.1] — 2026-03-09

Fixed

  • AQI always blank — forecast_days=8 exceeds the Open-Meteo Air Quality API's maximum, returning a 400 error that was silently caught; reduced to days = 7. AQI now populates correctly in both the current conditions card and all 7-day forecast rows.
  • ---

    [2.00] — 2026-03-07

    Added

  • App name capitalised — display name changed from weath to WEATH throughout; credit line updated to store.amfile.org
  • Hi/Lo per forecast period — each row now shows the high and low temperature pair (72/55°F). Daytime periods display their own temperature as the high and the paired overnight period as the low; overnight periods show the inverse
  • Relative humidity column — daily mean RH% fetched from Open-Meteo and shown in both the current conditions card and every forecast row
  • US Air Quality Index column — daily maximum US AQI fetched from Open-Meteo Air Quality API and shown in both the current conditions card and every forecast row
  • Forecast column headers — a labelled header row (DAY / HI/LO / WIND / PCPN / RH / AQI) appears above the forecast rows so each column is self-documented
  • Half-day forecast rows — each NWS period (daytime and overnight) is shown as its own row rather than collapsed into a daily pair, preserving the full detail the API provides
  • Section label shortened — "7-DAY FORECAST" reduced to "7-DAY" to preserve horizontal column spacing
  • Page 2 — News (RSS feed reader)
  • - Add any number of RSS 2.0 or Atom feed URLs via Settings - All configured feeds fetched concurrently; articles merged and sorted latest-first - Lazy loading: 25 articles displayed at a time with a "Load 25 more…" footer - Each article shows: source feed name, publish date, headline (bold), and body preview (up to 6 lines) - Tap any article to open the full story in the system browser - Empty/loading/error states with retry
  • Page 3 — Settings (was page 2)
  • - RSS feed management section added: list all configured feeds with one-tap removal (✕), plus an add-feed field and "ADD" button - Feeds persisted in SharedPreferences across sessions
  • 3-page navigation — dot indicator row extended to three dots; offscreenPageLimit increased to 2 so all pages stay in memory
  • Open-Meteo integration — two new API clients (OpenMeteoApiService, AirQualityApiService) added to RetrofitClient; new model classes OpenMeteoResponse and AirQualityResponse
  • Changed

  • WeatherState.Success carries two new fields: humidityByDate: Map<String, Int> and aqiByDate: Map<String, Int> (keyed by YYYY-MM-DD; empty maps on non-fatal API failure)
  • WeatherAdapter.submitData() signature updated to accept the two new maps
  • WeatherItem sealed class: Forecast replaces the former ForecastPair; Current gains counterpart, humidity, and aqi fields; ForecastHeader object added
  • itemforecastrow.xml — separate wind-direction column merged into the wind column; hi/lo replaces single-temp column; humidity and AQI columns added (6 columns total)
  • itemcurrentconditions.xml — hi/lo label added below the large temperature; RH and AQI row added at the bottom of the card
  • Wind direction + speed combined into one column (↘ 15 mph) in forecast rows
  • Swipe hint on weather page updated from "← Swipe for Settings" to "← News"
  • Settings swipe hint updated to "← Swipe for news / weather"
  • Fixed

  • AQI always null — Open-Meteo query parameters were relying on Kotlin default-value propagation through Retrofit's dynamic proxy (which does not honour them). All parameters are now passed explicitly at the call site
  • ---

    [1.x] — prior

  • Initial release
  • Current conditions: temperature, wind speed, wind direction, precipitation
  • 7-day forecast with single temperature per period
  • All precipitation types detected and formatted from NWS forecast text (Rain, Drizzle, T-Storm, Freezing Rain, Sleet, Ice, Snow with accumulation)
  • Active NWS advisories section
  • ZIP code geocoding via Nominatim/OpenStreetMap
  • Imperial and Metric unit support
  • 2-page swipe navigation: Weather ↔ Settings
  • Amber-on-black monospace theme
  • No API keys required (api.weather.gov + Nominatim are free and open)