pass-words

command module
v0.0.0-...-9baee97 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2021 License: MIT Imports: 7 Imported by: 0

README

pass-word

created by Austin Poor

A small CLI, written in Go, to generate xkcd-style passwords using words from popular Project Gutenberg books.

Usage

To run the CLI, run pass-words from the command line.

CLI Help
$ pass-words -h
Usage of pass-words:
  -nwords int
        Number of words to randomly generate. (Must be > 0) (default 3)
  -sep string
        Character used toseparate random words. (default ".")
  -vocab
        Print out the vocabulary and then quit.
  -vocab-size
        Show the size of the vocabulary and quit.
Default Usage
$ pass-words
gravel.blackrock.erect
Running Multiple Times
$ for i in {1..5}; do pass-words; done
coffinships.raided.roles
invented.supplementary.jacks
doors.beautified.mans
pert.anchored.seagreen
witless.turf.morituri
Specifying Number of Words & Separator
$ pass-words -nwords 5 -sep -
distaff-simpsons-ankers-shoots-readily
Another Fun Example
$ for i in {1..5}; do pass-words -nwords $i; done
fitted
superadd.heartwoes
rowy.satins.ily
mallarm.paling.wordy.gently
poetic.bellyful.dispelled.berchmans.ponder

How It's Made

Currently, the books used in creating the vocab are:

The vocab file is generated by placing any text files you want to process in the books directory and then running the file process-books.py.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL