Skip to content

Stenstromen/clotemp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLoTemp

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.

Dependencies

Build

make

The binary is output to bin/clotemp.

Usage

First, initialize your location (detected from your IP):

clotemp init

This writes your coordinates to ~/.clotemp.

Then, get the current temperature:

clotemp
1970-01-01T00:00 // 8.2°C

Flags

Command Description
-v Print version
init Initialize your location

About

clotemp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors