https://github.com/thatonecalculator/randompassword
A super simple POSIX sh *nix offline password generator
https://github.com/thatonecalculator/randompassword
linux offline-password password password-generator posix shell shell-script unix
Last synced: 10 months ago
JSON representation
A super simple POSIX sh *nix offline password generator
- Host: GitHub
- URL: https://github.com/thatonecalculator/randompassword
- Owner: ThatOneCalculator
- License: unlicense
- Created: 2022-01-09T03:14:31.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-05-19T13:43:00.000Z (about 3 years ago)
- Last Synced: 2025-08-26T09:54:05.549Z (10 months ago)
- Topics: linux, offline-password, password, password-generator, posix, shell, shell-script, unix
- Language: Shell
- Homepage:
- Size: 51.8 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](#install)
`randompassword`: A super simple POSIX \*nix offline password generator
---
## [[Requirements](#requirements)] [[Features](#features)] [[Usage](#usage)] [[Install](#install)]
## 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](/BENCHMARKS.md)
## Usage:
```sh
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
```