{"id":18887473,"url":"https://github.com/pdrb/nim-randpw","last_synced_at":"2026-02-24T07:30:18.230Z","repository":{"id":83850434,"uuid":"213810008","full_name":"pdrb/nim-randpw","owner":"pdrb","description":"Random password and passphrase generator","archived":false,"fork":false,"pushed_at":"2020-03-14T23:38:27.000Z","size":30,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-31T05:23:47.991Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Nim","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pdrb.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-10-09T03:14:31.000Z","updated_at":"2022-05-15T11:19:39.000Z","dependencies_parsed_at":"2023-03-27T14:26:00.338Z","dependency_job_id":null,"html_url":"https://github.com/pdrb/nim-randpw","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdrb%2Fnim-randpw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdrb%2Fnim-randpw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdrb%2Fnim-randpw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdrb%2Fnim-randpw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pdrb","download_url":"https://codeload.github.com/pdrb/nim-randpw/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239859562,"owners_count":19708863,"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-08T07:37:58.847Z","updated_at":"2026-02-24T07:30:18.151Z","avatar_url":"https://github.com/pdrb.png","language":"Nim","funding_links":[],"categories":[],"sub_categories":[],"readme":"randpw\n======\n\nRandom password and passphrase generator.\n\nA Python version is `also available \u003chttps://github.com/pdrb/randpw\u003e`_.\n\nSimple password example::\n\n    $ randpw\n    mo8h9IthztoCwypN\n\nSimple passphrase example::\n\n    $ randpw -p\n    angelfish pantyhose gas debug existing trimester\n\n`EFF's long word list \u003chttps://www.eff.org/pt-br/deeplinks/2016/07/new-wordlists-random-passphrases\u003e`_ is used for generating the passphrase.\n\n\nInstall\n=======\n\n**Using nimble**::\n\n    $ nimble install randpw\n\n**Using nim compiler**:\n\nSince only the standard library is used, just download the single source code\nfile and compile it::\n\n    $ wget https://raw.githubusercontent.com/pdrb/nim-randpw/master/src/randpw.nim\n    $ nim c -d:release randpw.nim\n\nFor generating passphrase the wordlist must be downloaded on the binary dir::\n\n    $ wget https://raw.githubusercontent.com/pdrb/nim-randpw/master/src/wordlist.txt\n\n\nUsage\n=====\n\n::\n\n    Usage: randpw [options]\n\n    random password/passphrase generator, e.g., 'randpw -s:64 -u'\n\n    Options:\n      -v, --version       show program's version number and exit\n      -h, --help          show this help message and exit\n      -s:size             size of the password (default: 16)\n      -n:count            number of passwords to generate (default: 1)\n      -c:chars            characters to use: 'letters', 'digits', 'mixed' or 'full'\n                          - uses only letters, only digits, letters + digits or\n                          letters + digits + punctuation (default: mixed)\n      -l, --lower         lowercase letters (default: false)\n      -u, --upper         uppercase letters (default: false)\n      -p, --passphrase    generate passphrase instead (default: false)\n      -w:size             number of passphrase words (default: 6)\n\n\nExamples\n========\n\nRandom password using only letters::\n\n    $ randpw -c:letters\n    qeKQiTfKDgnaxWZr\n\n32 characters password::\n\n    $ randpw -s:32\n    W7mRSDFHxvB3eDEHCZGCXWXszNdy92zp\n\nGenerate 3 uppercase passwords::\n\n    $ randpw -n:3 -u\n    LKGLAJRRQYB6FCZV\n    QZUJJSGP3MK604PW\n    95VW4S6KY8RK2ZC3\n\nLowercase password cointaing letters, numbers and punctuation::\n\n    $ randpw -c:full -l\n    5zgz\u0026ml{hu\\6)v^k\n\nGenerate 3 uppercase passphrases with 8 words each::\n\n    $ randpw -n:3 -w:8 -p -u\n    FERVOR EXCURSION SURPLUS KILOMETER MOLLUSK FOOTHOLD CATCHER DANDER\n    SPYGLASS RECLUSE HEADWAY SNOWFALL COLT UNUSED WHOMEVER FLAKY\n    ALOE WAGON KINSHIP FANTASIZE LIABLE CANOPY STRUM NEBULA\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpdrb%2Fnim-randpw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpdrb%2Fnim-randpw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpdrb%2Fnim-randpw/lists"}