Skip to content

ThatOneCalculator/randompassword

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

randompassword

randompassword: A super simple POSIX *nix offline password generator


Requirements:

TL;DR basically any *nix system (i.e. Linux, *BSD, macOS, Solaris)

  • 286 bytes of free storage
  • *nix OS with /bin/sh
  • Coreutils with tr, fold, and head
  • (Optional) man, xclip

Features:

  • Custom password length, defaults to 20
  • Mix of uppercase letters, lowercase letters, and numbers, and optionally symbols
  • If you have xclip, it will automatically copy the generated password to your clipboard
  • Blazing fast

Usage:

randompassword        # 20 character password
randompassword 35     # 35 character password
randompassword -s     # 20 character password with symbols
randompassword -s 35  # 35 character password with symbols
randompassword -h     # Shows manpage

Install:

AUR: soon:tm:

Manual

(needs curl, chmod, optionally sudo, mandb):

# Install program
sudo curl -fsSL https://raw.githubusercontent.com/ThatOneCalculator/randompassword/main/randompassword -o /usr/bin/randompassword
sudo chmod +x /usr/bin/randompassword
# Manpage
sudo curl -fsSL https://raw.githubusercontent.com/ThatOneCalculator/randompassword/main/randompassword.1.gz -o /usr/share/man/man1/randompassword.1.gz
mandb