Real-time weather radar in your terminal!
Video:
Screen.Recording.2025-07-30.at.12.35.27.PM.mov
- 🎯 Real-time weather radar - Fetches live NEXRAD data
- 🌍 ZIP code lookup - Enter any US ZIP code
- 🎬 Animated radar loop - Watch weather patterns move
- 🔄 Auto-refresh - Updates every 5 minutes
- ⚡ Interactive controls - Play, pause, navigate frames
- 🌈 Precipitation intensity - Color-coded from light to severe
# Clone the repository
git clone https://github.com/N-Erickson/termidar.git
cd termiradar
# Build and install
go install
# Or run directly
go run main.go- Go 1.19 or higher
- Terminal with Unicode support
- Internet connection for radar data
termidar| Key | Action |
|---|---|
Enter |
Submit ZIP code |
Space |
Play/Pause animation |
← / → |
Previous/Next frame |
+ / - |
Increase/Decrease speed |
R |
Refresh radar data |
ESC |
Return to ZIP input |
Q |
Quit |
termidar works with any valid US ZIP code. Some examples:
10001- New York, NY60601- Chicago, IL98101- Seattle, WA33101- Miami, FL90210- Beverly Hills, CA02108- Boston, MA75201- Dallas, TX80202- Denver, CO
termidar fetches real weather radar data from multiple sources:
- Iowa State University Mesonet - NEXRAD radar imagery
- RainViewer API - Global precipitation data
- NWS API - Radar station information
The radar images are processed and converted to ASCII art for terminal display, with color-coded precipitation intensity:
- 🟢 Light precipitation
- 🟡 Moderate precipitation
- 🟠 Heavy precipitation
- 🔴 Severe precipitation
# Get dependencies
go mod download
# Build binary
go build -o termidar
# Run tests
go test ./...- Bubble Tea - Terminal UI framework
- Lipgloss - Styling and layout
- Image processing - Converts radar PNGs to terminal display
- Concurrent updates - Separate timers for animation, sweep, and refresh
MIT License - see LICENSE file for details
- Charm for the amazing Bubble Tea framework
- Iowa State University for radar data access
- RainViewer for precipitation API
- National Weather Service for weather data