ReqFly - Fly.io Machines Client as a Req Plugin

I’m falling in love with the Req Plugin pattern. It has limits, but when it works - it’s good.

I ported over my Tesla based Fly Machines client to a Req Plugin today and shipped ReqFly

There’s an opt-in integration suite where you can see it working if you provide a Fly Token.

Features

  • :white_check_mark: Full Fly.io Machines API coverage - Apps, Machines, Secrets, Volumes, and more
  • :white_check_mark: Built-in retries and error handling - Automatic retry with exponential backoff
  • :white_check_mark: Comprehensive documentation - Every function documented with examples
  • :white_check_mark: High-level convenience functions - Simplified APIs for common workflows
  • :white_check_mark: Telemetry support - Built-in observability for all operations
  • :white_check_mark: Well-tested - 187 tests with real API fixtures using ExVCR

Hex Release: req_fly | Hex
Github:

10 Likes