TLDR: Get a fast, uncluttered forecast at wthrtxt.com, or get the same forecast in a terminal with curl https://wthrtxt.com.

I wanted a weather site that showed me the useful parts of a forecast without all the usual weather-site clutter. The result is wthrtxt.com, a small, free weather reader with current conditions, hour-by-hour details, a seven-day forecast, rainfall, and daily temperature records.

One forecast, two interfaces #

In a browser, wthrtxt.com can use your location or search for places around the world. Every forecast has a readable, shareable URL, such as wthrtxt.com/seattle or wthrtxt.com/hillsboro-or.

The same URLs also work from the command line:

curl https://wthrtxt.com
curl https://wthrtxt.com/seattle
curl https://wthrtxt.com/hillsboro-or

The server recognizes terminal clients and returns a plain-text version of the forecast automatically. You can also add ?format=text or ?format=html to choose a format explicitly.

Worldwide weather #

For supported locations in the United States, the site combines NOAA forecasts and station observations with daily temperature records from ACIS. Everywhere else, Open-Meteo supplies global forecasts and estimated historical records.

Place search and location URLs use OpenStreetMap data through Photon and Nominatim. This makes it possible to search worldwide while keeping URLs short enough to remember and share.

How it is built #

The browser interface is a small React application embedded into a Go server. Browser requests fetch weather data directly from the providers, while terminal requests are fetched and rendered by the server. Forecasts are cached briefly so repeat visits feel immediate without letting the weather get stale.

The whole project is open source. You can read the code, run it yourself, or contribute at github.com/schollz/wthrtxt.