Skip to content

jqshuv/makepass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

22 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

makepass

Contributors Forks Stargazers Issues MIT License

A very simple password and secret generator for the command line, built on Bun.

demo

Installation

bun add -g makepass

Or run it without installing:

bunx makepass

Usage

Running makepass with no arguments generates a 16-character password using the defaults (lowercase, uppercase, numbers, no symbols) and prints it to stdout:

makepass

Flags

Flag Description
-l, --length <number> Length of the password (default: 16)
-s, --symbols Include symbols
-C, --no-caps Exclude capital letters
-N, --no-numbers Exclude numbers
-g, --secret Shortcut for a 32-character alphanumeric secret (caps + numbers, no symbols)
-i, --interactive Launch an interactive setup instead of using flags/defaults

Examples

# 32-character password with symbols
makepass -l 32 -s

# lowercase-only, 20 characters
makepass -C -N -l 20

# quick 32-character secret
makepass -g

# walk through the options interactively
makepass -i

Development

bun install          # install dependencies
bun run dev           # run from source
bunx tsc --noEmit     # type-check
bun run build          # bundle to build/index.js
bun run compile        # compile a standalone native binary

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Joshua Schmitt - @jqshuv - me@jqshuv.com

Project Link: https://github.com/jqshuv/makepass

About

๐Ÿ”‘ Simply create passwords and token with one command from your cli.

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Sponsor this project

Contributors