GointermediatecliAI generated

CLI Weather Dashboard

A terminal application in Go that fetches current weather and forecast data from a public API and renders it as a colorful ASCII dashboard. Learners practice consuming REST APIs, JSON unmarshaling, and building rich terminal output.

Estimate
~9h
Steps
5
Completed by
0
Proposed by
codeseed.app

net/http · encoding/json · termui

Project roadmap

  1. 01

    Build the API client

    ~1.5h

    Register for a weather API key and build an HTTP client wrapper for fetching weather data.

  2. 02

    Unmarshal responses

    ~1.5h

    Define Go structs matching the API's JSON shape and unmarshal responses into them.

  3. 03

    Build the terminal dashboard

    ~2.5h

    Use a terminal UI library to lay out current conditions and forecast panels.

  4. 04

    Add search and caching

    ~2h

    Support city search and cache recent lookups to a local file for faster repeat access.

  5. 05

    Add auto-refresh

    ~1.5h

    Use time.Ticker to automatically refresh the dashboard on a configurable interval.

Resources

Ready to build this?

Get a GitHub repo and start building. Your AI reviewer checks each step as you go.

~9h · 5 steps

Tech stack

net/httpencoding/jsontermui