A minimal CLI tool that displays the current temperature for your location, written in C.
Uses Open-Meteo for weather data and addr.se for IP-based geolocation.
makeThe binary is output to bin/clotemp.
First, initialize your location (detected from your IP):
clotemp initThis writes your coordinates to ~/.clotemp.
Then, get the current temperature:
clotemp1970-01-01T00:00 // 8.2°C| Command | Description |
|---|---|
-v |
Print version |
init |
Initialize your location |