Release v0.1.2 (What’s new?).
Welcome to afwf_genpass Documentation¶
Use Case¶
This Alfred workflow exposes three independent Script Filters, each bound to its own keyword: genpass, genid, and genuuid4.
genpass — Generate Secure Password¶
Type genpass <length> in Alfred to get 8 random passwords of the given <length>. Each password is guaranteed to contain at least one lowercase letter, one uppercase letter, one digit and one symbol (from !%@#&^*), and always starts with a letter.
Allowed length is 8 to 32; default is 12 (just hit Enter on genpass). Tab autocompletes to the default length. Hit ⌘C on any item to copy the password to your clipboard. Visually-confusing characters 1, l, I, O, 0 are excluded for readability.
genid — Generate Short ID¶
Type genid <length> in Alfred to get 8 random YouTube-style short IDs of the given <length>. Backed by secrets.choice (cryptographically strong) over a 57-character URL-safe charset, suitable for use as opaque identifiers in URLs, filenames, blog slugs, etc.
Allowed length is 6 to 32; default is 16 (just hit Enter on genid). Tab autocompletes to the default length. Hit ⌘C on any item to copy the ID to your clipboard. Visually-confusing characters 0, 1, l, O, o are excluded for readability.
genuuid4 — Generate UUID4¶
Just type genuuid4 in Alfred to get 8 freshly generated standard RFC 4122 UUID4s, formatted as 8-4-4-4-12 lowercase hex (e.g. 550e8400-e29b-41d4-a716-446655440000). No parameters — UUID4 has a fixed format. Hit ⌘C on any item to copy the UUID to your clipboard.
For the length-based keywords (genpass / genid), if the value you type is not a valid integer in the allowed range, the workflow shows an inline error item instead of producing garbage results.
Installation¶
Go to https://github.com/MacHu-GWU/afwf_genpass-project/releases, download the latest afwf-genpass-X.Y.Z.alfredworkflow file, double click to install.