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
- 01
Build the random generator core
~1.5hRead bytes from /dev/urandom and filter them with tr into a configurable character set (letters, digits, symbols).
- 02
Add length and complexity flags
~1hUse getopts to let users choose password length and which character classes to include.
- 03
Implement the strength checker mode
~2hGiven a password string, compute an entropy estimate based on character set size and length, and map it to a strength label.
- 04
Add clipboard copy support
~1hDetect xclip/wl-copy/pbcopy availability and offer to copy the generated password to the clipboard.
- 05
Write usage documentation and help text
~0.5hAdd a --help flag with examples and edge-case handling for invalid input.
Resources
Ready to build this?
Get a GitHub repo and start building. Your AI reviewer checks each step as you go.
Tech stack