Menu

Post image 1
Post image 2
1 / 2
0

A tiny Rust CLI I made while learning the language

DEV Community·Dariush Moshiri·17 days ago
#O9anzN7R
Reading 0:00
15s threshold

Dariush Moshiri

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. 🙏

Read More