Skip to content

Crackle2K/dineshlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dineshlib

A collection of small CLI utilities (Rust and Ruby).

Tools

weather

Prints tomorrow's weather forecast in your terminal. It auto-detects your location via IP geolocation, then pulls a forecast from the Open-Meteo API — no API key required.

Example output

12

Prints tomorrow's average temperature in °C as a plain integer ((max + min) / 2).

Build & run

cd weather
cargo run --release

Dependencies

Crate Purpose
reqwest HTTP client
serde / serde_json JSON deserialization
tokio Async runtime
anyhow Error handling

APIs used (both free, no key needed)


capitals

A quiz that prompts you with a capital city; you type the country.

Example output

Capitals Quiz — name the country. Type 'quit' to stop.

Tokyo: Japan
Correct!
Paris: Germany
Wrong — France
Ottawa: Canada
Correct!

2/3

Build & run

cd capitals
cargo run --release

No external crates required — stdlib only.

About

Growing collection of reusable utilities, helpers, and tools that are handcrafted for personal projects and development.

Resources

Stars

Watchers

Forks

Releases

No releases published

Contributors

Languages