DEV Community

Dariush Moshiri
Dariush Moshiri

Posted on

A tiny Rust CLI I made while learning the language

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. ๐Ÿ™

Top comments (0)