{"id":20406306,"url":"https://github.com/techassi/pwgen","last_synced_at":"2026-04-19T02:02:33.982Z","repository":{"id":118014255,"uuid":"99419757","full_name":"Techassi/pwgen","owner":"Techassi","description":"Simple, fast and secure password generation on the web written in Typescript","archived":false,"fork":false,"pushed_at":"2021-03-03T16:07:51.000Z","size":28,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-07T09:51:37.723Z","etag":null,"topics":["password-generation","typescript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Techassi.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":"2017-08-05T11:51:06.000Z","updated_at":"2021-11-10T11:51:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"a0035ac7-8c20-4018-ab82-8422809b6e82","html_url":"https://github.com/Techassi/pwgen","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Techassi/pwgen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Techassi%2Fpwgen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Techassi%2Fpwgen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Techassi%2Fpwgen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Techassi%2Fpwgen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Techassi","download_url":"https://codeload.github.com/Techassi/pwgen/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Techassi%2Fpwgen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31991720,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["password-generation","typescript"],"created_at":"2024-11-15T05:16:26.762Z","updated_at":"2026-04-19T02:02:33.962Z","avatar_url":"https://github.com/Techassi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pwgen\nA simple and fast javascript-based password generator\n\n## features\n- choose length of password (min 6)\n- include a personal string (e.g. your name, birth date, ...) [not recommended]\n- copy to clipboard\n- debug information\n- add / remove ui elements with keywords\n- 'readable' option (remove all special characters)\n\n## planned features\n- abstract certain characters (e.g. 1 -\u003e ! or A -\u003e 4)\n\n## usage\n### script\n- Add the latest jQuery via Google Hosted Libraries to your project head\n- Add the `pwgen.js` or (`pwgen.min.js`) file aswell\n```html\n\u003chead\u003e\n  \u003cscript src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js\"\u003e\u003c/script\u003e\n  \u003cscript src=\"path/to/pwgen.js\"\u003e\u003c/script\u003e\n\u003c/head\u003e\n```\nAdd this at the end of your file:\n```html\n\u003cscript\u003e\n  $('.your-class').pwgen();\n\u003c/script\u003e\n```\n\n### css\n- Add the `style.css` or `style.min.css` file to your project head\n- fully responsive design (`.pwgen`'s size gets adjusted based on screen size). The responsive design can be toggled. See [here](https://github.com/Techassi/pwgen#responsive).\n\n```html\n\u003chead\u003e\n  \u003clink href=\"path/to/style.css\" rel=\"stylesheet\" type=\"text/css\"\u003e\n\u003c/head\u003e\n```\n\n## config\nThe script can be configured the way you like in the following fashion: \n```html\n\u003cscript\u003e\n  $('.your-class').pwgen({\n    'foo': bar,\n    'dog': lazy\n  });\n\u003c/script\u003e\n```\n\nSupported keywords:\n## style\n### responsive\nToggles if the container uses responsive design.\nTypeError results in `'responsive' = true`\n```javascript\n'responsive': true\nsupported values: true / false (boolean)\ndefault: true\n```\n\n### length_field\nToggles if the length input field is displayed.\nTypeError results in `'length_field' = false`\n\nIf the length input field isn't displayed (`'length_field' = false`) the script uses a length between `max_length` and `min_length`\n```javascript\n'length_field': true\nsupported values: true / false (boolean)\ndefault: true\n```\n\n### include_field\nToggles if the inlude input field is displayed.\nTypeError results in `'include_field' = false`\n```javascript\n'include_field': true\nsupported values: true / false (boolean)\ndefault: true\n```\n\n### readable\nToggles if the 'readable' checkbox is displayed.\nTypeError results in `'readable' = false`\n```javascript\n'readable': true\nsupported values: true / false (boolean)\ndefault: false\n```\n\n### show_hint\nToggles if the hint box is displayed\nTypeError results in `'show_hint' = true`\n```javascript\n'show_hint': true\nsupported values: true / false (boolean)\ndefault: true\n```\n\n### show_copy\nToggles if 'copy to clipboard' is displayed\nTypeError results in `'show_copy' = true`\n```javascript\n'show_copy': true\nsupported values: true / false (boolean)\ndefault: true\n```\n\n### show_debug\nToggles if debug switch is displayed\nTypeError results in `'show_debug' = false`\n```javascript\n'show_debug': true\nsupported values: true / false (boolean)\ndefault: false\n```\n\n## behavior\n### min_length\nSet the minimum length of the password.\nTypeError results in `'min_length' = 6`\n```javascript\n'min_length': 6\nsupported values: numeric\ndefault: 6\n```\n\n### max_length\nSet the maximum length of the password.\nTypeError results in `'max_length' = 12`\n```javascript\n'max_length': 12\nsupported values: numeric\ndefault: 12\n```\n\n### include\nSet an include string to be included in every generated password.\nTypeError results in `'include' = ''`\n```javascript\n'include': 'foo'\nsupported values: string\ndefault: ''\n```\n\n### include_append\nWhere to append 'include' to user-entered include string.\nTypeError results in `'include_append' = 'right'`\n```javascript\n'include_append': 'right'\nsupported values: 'right' / 'left'\ndefault: 'right'\n```\nExample:\n```javascript\nuser: foo\n'include': bar\n\n- 'include_append': 'left'\n  bar|foo\n- 'include_append': 'right'\n  foo|bar\n```\n\n## complete example\n```html\n\u003cscript\u003e\n  $('.your-class').pwgen({\n    'responsive': true,\n    'min_length': 8,\n    'max_length': 12,\n    'include': 'foo',\n    'include_append': 'right',\n    'length_field': false;\n  });\n\u003c/script\u003e\n```\n- container uses responsive design\n- password has a minimum length of 8\n- password has a maximum length of 12\n- 'foo' gets included into every password [again not recommended]\n- 'foo' gets appended on the right\n- no length input field is displayed (results in random number between 8 [inclusive] and 12 [inclusive])\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechassi%2Fpwgen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechassi%2Fpwgen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechassi%2Fpwgen/lists"}