{"id":19655923,"url":"https://github.com/dislick/pwgen","last_synced_at":"2025-06-10T15:36:22.107Z","repository":{"id":77037488,"uuid":"264008940","full_name":"dislick/pwgen","owner":"dislick","description":"CLI Password Generator","archived":false,"fork":false,"pushed_at":"2020-05-18T15:32:28.000Z","size":38,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-02T18:22:10.301Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dislick.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-14T19:41:07.000Z","updated_at":"2024-08-07T10:28:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"dd135d0c-3f17-476b-89a7-48af1ec32add","html_url":"https://github.com/dislick/pwgen","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dislick%2Fpwgen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dislick%2Fpwgen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dislick%2Fpwgen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dislick%2Fpwgen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dislick","download_url":"https://codeload.github.com/dislick/pwgen/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dislick%2Fpwgen/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259103279,"owners_count":22805660,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T15:25:00.957Z","updated_at":"2025-06-10T15:36:22.051Z","avatar_url":"https://github.com/dislick.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @dislick/pwgen\n\nCLI password generator with smart defaults and a built-in copy-to-clipboard feature.\n\n## Usage\n\n```\npwgen 0.1.0\nPatrick Muff \u003cmuff.pa@gmail.com\u003e\nGenerates random passwords\n\nUSAGE:\n    pwgen [FLAGS] [OPTIONS] [SUBCOMMAND]\n\nFLAGS:\n    -a, --alphabet              Use ALPHABET (a-z) charset\n    -A, --alphabet-uppercase    Use ALPHABET_UPPERCASE (A-Z) charset\n    -n, --numbers               Use NUMBERS (0-9) charset\n    -s, --special               Use SPECIAL (*, %, -, ...) charset\n    -h, --help                  Prints help information\n    -V, --version               Prints version information\n\nOPTIONS:\n    -c, --count \u003cCOUNT\u003e      Amount of passwords\n    -l, --length \u003cLENGTH\u003e    Length of passwords\n\nSUBCOMMANDS:\n    help      Prints this message or the help of the given subcommand(s)\n    secret    Creates secret with at least 256 bits of entropy\n    wifi      Creates a wifi friendly password\n```\n\n## Defaults\n\nIf you run `pwgen` without a `--length` option it will determine the length based on the available charsets to get to **at least 256 bits of entropy**. The less different characters that are available through those charsets, the longer the resulting password will get.\n\nWithout charset flags (`-a`, `-A`, `-n`, or `-s`) present, it uses all possible charsets.\n\n## Examples\n\n#### `pwgen`\n\nLength defaults to 40, because 91 distinct chars are available.\n\n```\ns7YRg_L!5,b10e9{R57842/5]/3@2Fc3y57i[3g\\\n```\n\n#### `pwgen -a`\n\nLength defaults to 55, because 26 distinct chars are available.\n\n```\ncqkptjdawtbzmcdojiqwtcabvkragecntdctxwvwhtwbhgxdnfshvyj\n```\n\n#### `pwgen -A`\n\nLength defaults to 55, because 26 distinct chars are available\n\n```\nGZWHIQEZMWJSAPPIULBYHIRMGJHYFKERLDYTABWFIKICTCJACTGIWEZ\n```\n\n#### `pwgen -Aa`\n\nLength defaults to 45, because 52 distinct chars are available.\n\n```\nqvaPlUtPsYpTDTYOPwBbFclwYNDjLUqdrAhRRLdQoyEZu\n```\n\n#### `pwgen -n`\n\nLength defaults to 78, because 10 distinct chars are available.\n\n```\n292040492503533901251005568137604050532386930398662181203682665536587940100830\n```\n\n#### `pwgen -s`\n\nLength defaults to 53, because 29 distinct chars are available.\n\n```\n)}:!([_[^\u003c\u0026;@\u003e}\u003e-~;=({@[\\@\u003e,[,~\u003c\\=?.=,*]#_(};.?;\u003c~@^[\n```\n\n#### `pwgen -l 20`\n\nLength is hard-set to 20.\n\n```\nC4Y0iN77K*4^SzFeG{HY\n```\n\n#### `pwgen -l 20 -c 5`\n\n```\nX!Lv2|^;Z]Y[436Ven.F\n)({]+)30O*5mDi1UZl|l\n0`;OqE|r3~\u003cv@=N8P5r}\npQ6UmkIu3_7p#T_ZSDUa\nkucJ%~45g69Zan7-,Y7Q\n```\n\n### Sub commands\n\n#### `pwgen secret`\n\n```\nLp47SqOH6BJYg59HDvYTP1zo1BpKa0hN51U6Rlrcb6n\n```\n\n#### `pwgen wifi`\n\n```\n3ehu-u4z2-jy09-107k\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdislick%2Fpwgen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdislick%2Fpwgen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdislick%2Fpwgen/lists"}