gmana
v1.0.8
Published
A sleek, interactive, and secure CLI tool for generating and managing passwords with modern UX, strong encryption, and smart features.
Maintainers
Readme
gmana CLI
gmana is a Node.js CLI for generating secure passwords and memorable passphrases, with optional clipboard copy, local history, and interactive prompts.
Latest release: 1.0.8 on 2026-10-13
Installation
npm install -g gmanaRequires Node.js 18 or newer.
Commands
Generate a password
gmana gen
gmana gen --length 20
gmana gen --no-symbols
gmana gen --length 16 --extra-symbols --exclude-similarGenerate a passphrase
gmana gen --words 4
gmana gen --words 6 --separator "_"Interactive mode
gmana gen --interactiveBatch mode
gmana gen --batch 5
gmana gen --batch 10 --out passwords.txt
gmana gen --words 4 --batch 3 --out passphrases.txtGeneration Options
-l, --length <number> Password length
-i, --interactive Run the interactive prompt
--no-uppercase Exclude uppercase letters
--no-lowercase Exclude lowercase letters
--no-numbers Exclude numbers
--no-symbols Exclude symbols
--extra-symbols Include extra symbols
--exclude-similar Exclude similar characters (il1Lo0O)
--exclude-ambiguous Exclude ambiguous characters
-w, --words <number> Generate a passphrase with N words
--separator <char> Passphrase separator
--batch <number> Generate multiple results
--out <file> Write batch output to a file
-c, --copy Copy the generated result to the clipboard
-s, --save Save generated passwords to history
--show-strength Show strength analysisConfiguration
Configuration is stored in ~/.gmana/config.json.
gmana config --show
gmana config --set length=16
gmana config --set autocopy=true
gmana config --set savehistory=true
gmana config --set historylimit=200
gmana config --reset
gmana configSupported --set keys:
lengthautocopysavehistoryhistorylimit
History
History is stored in ~/.gmana/history.json.
gmana history --list
gmana history --limit 20
gmana history --export history.json
gmana history --export history.csv
gmana history --clear
gmana historyThe interactive history view lets you browse recent entries, copy a saved password, or clear history. Passwords are masked in list output.
Aliases
gmana g # gen
gmana c # config
gmana h # historyNotes
- Password generation uses
crypto.randomIntfor cryptographically secure randomness. - Clipboard copy is enabled by the
gencommand unless disabled with--no-copy. - History is only written when
--saveis used.
Release
To prepare a release locally:
pnpm --filter gmana release:prepare -- --bump patch --notes "Short release summary"To publish after validation:
pnpm --filter gmana release:publishGitHub Actions can also publish through .github/workflows/release.yml using the NPM_TOKEN repository secret.
