Latest / Developer tools

attempt

github.com · Open source · Maintained

CLI for retrying commands that may fail

Visit github.com ↗Share

  • retry
  • retry command
  • wait for service
  • docker compose wait
  • retry cli
  • exponential backoff
Stars
214
Forks
2
Open issues
3
Last commit
Releases
3
Found
14 months ago

GitHub figures as of . They are context, not a ranking.

attempt is a command-line tool written in Rust for retrying commands that can fail. The maker built it to wait for a database during Docker Compose startup and to inspect errors before retrying. It suits developers who need flaky commands to retry in scripts or containers.

Positioned as an alternative to wait-for-it.sh.

Repository description on GitHub: “CLI for retrying fallible commands”

What it does

  • Retries a command after a delay when it fails
  • Exponential backoff with jitter and timeouts
  • Retries only when output contains a given string

Good for

  • Wait for a database to start before running migrations in Docker Compose
  • Retry a flaky command inside a shell script

Suits: Developers scripting around flaky commands or container startup.

What you can try

Read the README on GitHub and install from source.

Install

brew install attempt-cli

Confirmed against the package registry. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw attempt on , when maxbond posted it to Show HN. The oldest published release on GitHub is v1.0.1, dated . Its first tagged release landed the same day it was found. 3 releases have been published in total; the latest is v1.1.1 ().

Day-7 and day-30 updates

Day 7 1 release shipped

  • 1 release in the first 7 days: v1.1.0 (10 Sep 2025)
  • Show HN discussion at check time: 73 points, 19 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 1 release shipped

  • 1 release in the first 30 days: v1.1.0 (10 Sep 2025)
  • Show HN discussion at check time: 73 points, 19 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

Releases per month, last 24 months (3 in total, busiest month 2).
  1. Repository created on GitHub: MaxBondABE/attempt
  2. Release v1.0.1
  3. Found: maxbond posted it to Show HN. Show HN
  4. Release v1.1.0
  5. Release v1.1.1
  6. Day-7 check recorded by Kip (details)
  7. Day-30 check recorded by Kip (details)

Quick answers

When was attempt released?
Its first tagged release on GitHub is dated 9 Sep 2025. Kip found it on Show HN on 9 Sep 2025.
Is attempt open source?
Its source is public on GitHub at MaxBondABE/attempt under the Unlicense licence.
What does attempt run on?
Command line.
Is attempt free?
It is open source, so the code is free to read and run; check the licence for terms.
Is attempt still maintained?
It had a commit or release in the last year, though not in the last 90 days, as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryMaxBondABE/attempt
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-45176401. Summary written by KipFound’s editor.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.