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
- 01
Build the API client
~1.5hRegister for a weather API key and build an HTTP client wrapper for fetching weather data.
- 02
Unmarshal responses
~1.5hDefine Go structs matching the API's JSON shape and unmarshal responses into them.
- 03
Build the terminal dashboard
~2.5hUse a terminal UI library to lay out current conditions and forecast panels.
- 04
Add search and caching
~2hSupport city search and cache recent lookups to a local file for faster repeat access.
- 05
Add auto-refresh
~1.5hUse time.Ticker to automatically refresh the dashboard on a configurable interval.
Resources
- DocsGo Documentation
Ready to build this?
Get a GitHub repo and start building. Your AI reviewer checks each step as you go.
Tech stack