![motus logo](logo.png)
Dead simple password generator
Motus is a command-line application written in Rust that makes generating secure passwords a breeze.
Inspired by the user experience of the 1Password password generator, motus focuses on providing a simple and elegant user interface with sane defaults and comprehensive options. By default, motus copies the generated password to your clipboard, making it even more convenient to use.
```zsh
> motus memorable
fossil abreast overplant commute dish
> motus random
UDrZrJJTYElWeOFHZmfp
> motus pin
1234421
```
## Features
- **Simple and elegant user interface**: motus is designed to be easy to use and understand, and makes it difficult to generate insecure passwords.
- Generate **secure memorable passwords**: motus uses the [EFF's wordlist](https://www.eff.org/deeplinks/2016/07/new-wordlists-random-passphrases) to generate secure and memorable passwords
- Generate **random passwords** with optional number and symbol inclusion
- Generate **PINs** with customizable length
- **Security analysis**: the `--analyze` option provides a security analysis of the generated password, ensuring optimal password strength.
- **Sane defaults**
- **Clipboard** integration for easy password usage
- Flexible **customization** options
## Installation
### on macOS
Using Homebrew:
```bash
brew tap oleiade/tap
brew install motus
```
### on Debian/Ubuntu Linux
Add the repository and install motus:
```bash
# Download and install the repository's GPG key
curl -fsSL https://oleiade.github.io/deb/oleiade-archive-keyring.gpg | \
gpg --dearmor \
sudo tee /usr/share/keyrings/oleiade-archive-keyring.gpg > /dev/null
# Add the repository to your system's sources
echo "deb [signed-by=/usr/share/keyrings/oleiade-archive-keyring.gpg] https://oleiade.github.io/deb stable main" \
sudo tee /etc/apt/sources.list.d/oleiade.list > /dev/null
# Update your sources
apt update
# Install motus
apt install motus
```
### using Cargo
Alternatively, you can install using Cargo:
```bash
cargo install motus
```
## Usage
```bash
> motus --help
Motus is a command-line tool for generating secure, random, and memorable passwords as well as PIN codes.
Usage: motus [OPTIONS]
Commands:
memorable
Generate a human-friendly memorable password
random
Generate a random password with specified complexity
pin
Generate a random numeric PIN code
help
Print this message or the help of the given subcommand(s)
Options:
--no-clipboard
Disable automatic copying of generated password to clipboard
-o, --output