A bash script that generates strong random passwords and displays them with ASCII art. The tool includes a beautiful ASCII banner and supports clipboard integration for easy password copying.
- 🎨 Custom ASCII art banner
- 🔐 Secure random password generation
- 💪 Configurable password length
- ✨ ASCII art password display
- 📋 Automatic clipboard integration
- ✅ Ensures password complexity with:
- Lowercase letters
- Uppercase letters
- Numbers
- Special characters
The script requires the following dependencies:
figlet- for ASCII art generationxclip(Linux) orpbcopy(macOS) - for clipboard functionality
On Debian/Ubuntu:
sudo apt-get update
sudo apt-get install figlet xclipOn macOS:
brew install figlet- Clone the repository:
git clone https://github.com/blueiewu/password-generator.git
cd password-generator- Make the script executable:
chmod +x password-generator.shRun the script:
./password-generator.shFollow the prompts:
- Enter desired password length (minimum 8 characters)
- Your password will be:
- Displayed in ASCII art
- Shown in plain text
- Automatically copied to clipboard (if supported)
____ _
| _ \ __ _ ___ _____ _____ _ __ __| |
| |_) / _` / __/ __\ \ /\ / / _ \| `__/ _` |
| __/ (_| \__ \__ \\ V V / (_) | | | (_| |
|_| \__,_|___/___/ \_/\_/ \___/|_| \__,_|
Enter desired password length (minimum 8, default 12):
12
Your generated password is:
[ASCII ART PASSWORD]
Plain text version: Kj#9mP2$vL&n
Password length: 12 characters
Password copied to clipboard!
- Guaranteed inclusion of all character types
- Random character selection
- Password shuffling for additional randomness
- Minimum length enforcement
- No password storage or logging
password-generator/
├── password-gen.sh
├── README.md
└── LICENSE
- Fork the repository
- Create a new branch:
git checkout -b feature-name - Make your changes
- Push to the branch:
git push origin feature-name - Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
- ASCII art generated using
figlet - Inspired by the need for secure password generation
- Thanks to all contributors