{"id":29947950,"url":"https://github.com/alx3dev/randpass","last_synced_at":"2025-08-03T08:03:09.012Z","repository":{"id":43042895,"uuid":"461569169","full_name":"alx3dev/randpass","owner":"alx3dev","description":"Ruby random password generator","archived":false,"fork":false,"pushed_at":"2023-01-15T17:17:01.000Z","size":71,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-19T20:53:03.809Z","etag":null,"topics":["password-generator","ruby","ruby-gem"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/alx3dev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-02-20T17:53:10.000Z","updated_at":"2023-01-15T23:11:48.000Z","dependencies_parsed_at":"2023-02-09T23:00:38.166Z","dependency_job_id":null,"html_url":"https://github.com/alx3dev/randpass","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alx3dev/randpass","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alx3dev%2Frandpass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alx3dev%2Frandpass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alx3dev%2Frandpass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alx3dev%2Frandpass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alx3dev","download_url":"https://codeload.github.com/alx3dev/randpass/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alx3dev%2Frandpass/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266204775,"owners_count":23892378,"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":["password-generator","ruby","ruby-gem"],"created_at":"2025-08-03T08:01:26.758Z","updated_at":"2025-08-03T08:03:09.002Z","avatar_url":"https://github.com/alx3dev.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Randpass v0.3.3\n\nRuby random password generator (not a password manager!).  \nGenerate password and copy in clipboard, or generate list and/or save as `.txt` file.  \nFile is saved as plain text, it is up to end-user to decide how to secure it.  \n\nPassword is generated with `SecureRandom#base64` and a few (random) special characters `! # * $ % _ @`  \n\n\n## Dependencies\n\nRandpass use _clipboard-gem_, that require `xsel` or `xclip` on Linux systems.  \nSetup script will check and install `xsel` if nothing is found.\n\n\n## How to use:\n\n Use from terminal:  \n\n When generating a single password, you don't need any argument, or you can add number of password characters (default is 25). By default, password is printed in STDOUT and copied to clipboard, but not saved as file.  \n\n - generate password with 25 characters  \n   `randpass`  \n\n - generate password with 30 characters  \n   `randpass 30`  \n   `randpass --char 30`\n\n - clear clipboard  \n   `randpass -k`  \n   `randpass --clear`  \n\n - add `-c` or `--noc` to disable clipboard copy  \n    `randpass 35 -c`  \n\n - add `-p` or `--nop` to disable STDOUT  \n    `randpass 20 -p`  \n\n When generating a list of passwords, you need to supply `-n` or `--char` to set number of password characters (default is 25). Passwords will be saved in a current working directory (unless otherwise specified) in format `randpass_#{Time.now.to_i}.txt`. This way we avoid overwrite, and it's possible to get time of file generation with `Time.at TIME_INTEGER`  \n\n - generate password list from comments (20 characters long password)  \n    `randpass -n 20 -l GitHub RubyGems AnotherWebSite`  \n\n - generate password list with 10 passwords - without comments  \n    `randpass -r 10`  \n    `randpass -n 20 -r 10`  \n\n - add `-s` or `--nos` to disable saving list as a file  \n    `randpass -n 20 -r 5 -s` \n    `randpass -r 10 --nos --noc`  \n\n - add `-d` or `--dir` as location to store password list  \n    `randpass -r 10 -d 'my_path/directory'`  \n\n\n\n## How to install\n\n - install from rubygems  \n\u003e Randpass require gem `Optimist`, install it with `gem install optimist`  \n\u003e You need it only when installing from rubygems.  \n\u003e Future release will remove it  \n\n```\ngem install randpass \u0026\u0026 randpass -i\n```\n - download from github with ssh\n\n```\ngit clone git@github.com:alx3dev/randpass \\\ncd randpass \u0026\u0026 randpass -i\n```\n - download from github with https\n\n```\ngit clone https://www.github.com/alx3dev/randpass \\\ncd randpass \u0026\u0026 randpass -i\n```  \n\n\nTested on:\n - ruby `2.7.5`\n - ruby `3.0.3`\n - ruby `3.1.0`\n - ruby `3.1.3`\n - jruby `9.3.2.0`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falx3dev%2Frandpass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falx3dev%2Frandpass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falx3dev%2Frandpass/lists"}