Skip to content

mateuscomh/shellPass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shellPass - Secure Password Generator for Terminal

Release License Build Status PRs Welcome

A lightweight, secure, and customizable password generator for command-line enthusiasts.

✨ Features

  • Generate cryptographically secure passwords using /dev/random
  • Blazing fast execution with zero dependencies
  • Customizable password length and complexity
  • Cross-platform support (Linux, macOS, WSL2)
  • Copy to clipboard functionality (where available)
  • Multiple password generation in one command
  • Strength indicator for generated passwords

🚀 Installation

Basic Installation

git clone https://github.com/mateuscomh/shellPass.git
cd shellPass
chmod +x shellPass.sh

System-wide Installation (Optional)

sudo cp shellPass.sh /usr/local/bin/shellpass

Basic password generation: To generate a default 12-character password, run:

$ ./shellPass.sh

To generate a password with specific length (ex: 20 chars):

$ ./shellPass.sh 20

To generate multiple passwords (ex: 5 passwords of 16 chars each):

$ ./shellPass.sh 16 5

To show the help menu with all available options:

$ ./shellPass.sh -h

Pro Tip: For quick access, add this alias to your shell configuration file (.bashrc, .zshrc, etc.):

$ alias passgen='~/path/to/shellPass.sh'

Contribution

Contributions to this project are welcome. If you have any suggestions, bug fixes, or improvements, feel free to open an issue or submit a pull request.

License

This project is licensed under the GPL-3.0 License. See the LICENSE file for more details.

Made with ❤️ by Matheus Martins

About

Bash script to generate fast passwords direct from terminal Linux and Mac

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages