A tiny Rust CLI I made while learning the language

rust dev.to

I'm still pretty new to Rust, and I find I learn best by building small things. So here's one: isdown — a little CLI that checks if services like GitHub, Slack, AWS, or Cloudflare are having issues.

$ isdown check github slack

GitHub:  Up
Slack:   Degraded
  · Slow API (investigating)
Enter fullscreen mode Exit fullscreen mode

It just queries each service's public status endpoint — no API keys or setup. You can also pass any URL, or add --json for scripting.

cargo install --path .
Enter fullscreen mode Exit fullscreen mode

It's nothing groundbreaking, but it gave me a reason to actually use clap, reqwest, async, and a bit of macro magic for the provider registry. I learned a lot, and I'm sure there's plenty I got wrong.

Repo: https://github.com/dariush624/isdown

If you spot something that could be better, I'd genuinely love the feedback — issues and PRs are very welcome. 🙏

Source: dev.to

arrow_back Back to Tutorials