A minimal yet powerful command-line interface for generating and managing strong passwords, built on top of the passphera core philosophy: "your text becomes your key to secure passwords."
- 🔐 Password generation from any text input
- 🔄 Multiple cipher algorithms support (Affine, Hill, Playfair, etc.)
- 🧩 Configurable steps (prefix, postfix, replacements, etc.)
- 📦 Local password vault (TinyDB for CLI)
- 🛠️ Flexible generator settings per user
- 🚀 Fully offline by default
- Generate a password:
passphera generate -t "my password for twitter" -c "twitter"- Retrieve it later:
passphera vault get "twitter"- generate- Alias to- vault add
- add- Generate a new password and optionally save it to the vault
- get- Get saved password from the vault
- update- Update password in the vault
- delete- Delete saved password from the vault
- list-Get all saved passwords from the vault
- flush- Flush the vault (delete all passwords)
- sync- Sync down from the cloud
Configure password generation:
- show- Show generator settings
- set <prop> <algorithm>– Set a new value to a property
- reset <prop> <algorithm>– Reset a property to its default value
- set-replacement <char> <replacement>– Replace a character with a replacement string
- reset-replacement <char> <replacement>– Reset a character's replacement
- sync– Sync local settings with cloud settings id logged in
- login- Login to the app server with email and password
- logout- Logout from the app server
- signup- Register a new user on the app server
- whoami- Get user credentials
# Generate and store
passphera generate -t "github personal account" -c "github"  # or passphera vault add
# Retrieve
passphera vault get "github"# Configure generator
passphera generator set algorithm "playfair"
passphera generator set key "secret"
passphera generator set prefix "prefix_"
passphera generator set postfix "_suffix"
passphera generator set-replacement "a" "@25"- -v, --version– Show version and exit
- -h, --help– Show help message and exit
Open source, contributions welcome!
- Fork the repo
- Create a feature branch
- Submit a pull request
Licensed under Apache License 2.0 – see LICENSE.
- 📝 GitHub Issues
- 📧 Contact: [passphera@imfathi.com]