Interactive CLI generator of passphrases, password or PIN.
npm install @azzarox/passgenInteractive CLI generator of passphrases, password or PIN.
Install the CLI globally via npm:
``bash`
npm install -g @azzarox/passgen
This will make passgen command available anywhere in your terminal.
Clone the repository and use npm link to test locally:
`bash`
git clone
cd passgen
npm install
npm run build
npm link
This will create a symlink so you can run passgen from your local build without publishing to npm.
$ passgen
$ passgen --help
`| Key | Action |
| ---------- | ----------------- |
| r | Regenerate |
| c | Copy to clipboard |
| m | Change mode |
| q / Ctrl+C | Exit |
---
$3
| Key | Action |
| ------------- | ----------------------------------- |
| ↑ / ↓ | Change word count (3–9) |
| s | Cycle separator (
- . _ ! ? space) |
| Shift + C | Toggle capitalization |
| Shift + N | Toggle numbers |---
$3
| Key | Action |
| ------------- | ------------------------------ |
| ↑ / ↓ | Change password length (12-32) |
| Shift + S | Toggle symbols |
| Shift + N | Toggle numbers |
---
$3
| Key | Action |
| ----- | ------------------------ |
| ↑ / ↓ | Change PIN length (6-10) |
---
Wordlist
Uses the EFF large wordlist for generating secure, memorable passphrases.
`bash
curl https://www.eff.org/files/2016/07/18/eff_large_wordlist.txt -o source/data/wordlist.txt
`Development
`bash
npm run dev # Watch mode
npm run build # Build
npm link # Link globally after build
``