BashbeginnercliAI generated

Password Generator & Strength Checker

A CLI tool that generates random passwords of configurable length and character sets, and includes a checker mode that scores the strength of an existing password using entropy estimation. Learners practice using /dev/urandom, string manipulation, and basic entropy math in Bash.

Estimate
~6h
Steps
5
Completed by
0
Proposed by
codeseed.app

/dev/urandom · tr · getopts

Project roadmap

  1. 01

    Build the random generator core

    ~1.5h

    Read bytes from /dev/urandom and filter them with tr into a configurable character set (letters, digits, symbols).

  2. 02

    Add length and complexity flags

    ~1h

    Use getopts to let users choose password length and which character classes to include.

  3. 03

    Implement the strength checker mode

    ~2h

    Given a password string, compute an entropy estimate based on character set size and length, and map it to a strength label.

  4. 04

    Add clipboard copy support

    ~1h

    Detect xclip/wl-copy/pbcopy availability and offer to copy the generated password to the clipboard.

  5. 05

    Write usage documentation and help text

    ~0.5h

    Add a --help flag with examples and edge-case handling for invalid input.

Ready to build this?

Get a GitHub repo and start building. Your AI reviewer checks each step as you go.

~6h · 5 steps

Tech stack

/dev/urandomtrgetopts