{"id":15064534,"url":"https://github.com/papakvy/sonic_pass","last_synced_at":"2025-04-10T12:22:14.318Z","repository":{"id":257784709,"uuid":"860373300","full_name":"papakvy/sonic_pass","owner":"papakvy","description":"Sonic Pass is a Ruby gem designed to generate strong, unique passwords. It provides a simple and efficient way to create passwords of varying lengths, making it an ideal tool for developers and users alike.","archived":false,"fork":false,"pushed_at":"2024-10-02T04:17:23.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T10:06:15.282Z","etag":null,"topics":["gems","productivity","ruby","ruby-on-rails","security"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/sonic_pass","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/papakvy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2024-09-20T10:07:14.000Z","updated_at":"2024-09-23T11:42:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"22ccbb29-93e0-4c51-85da-48b65a3f024b","html_url":"https://github.com/papakvy/sonic_pass","commit_stats":{"total_commits":9,"total_committers":2,"mean_commits":4.5,"dds":0.2222222222222222,"last_synced_commit":"9531c4af6d36567ff996516e824ad5fe5e19216c"},"previous_names":["papakvy/sonic_pass"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/papakvy%2Fsonic_pass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/papakvy%2Fsonic_pass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/papakvy%2Fsonic_pass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/papakvy%2Fsonic_pass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/papakvy","download_url":"https://codeload.github.com/papakvy/sonic_pass/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248217115,"owners_count":21066633,"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":["gems","productivity","ruby","ruby-on-rails","security"],"created_at":"2024-09-25T00:19:55.640Z","updated_at":"2025-04-10T12:22:14.280Z","avatar_url":"https://github.com/papakvy.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Ruby version](https://img.shields.io/badge/ruby-%3E%3D2.4.0-brightgreen?logo=ruby\u0026logoColor=red)\n![RubyGem version](https://img.shields.io/gem/v/sonic_pass?color=%25234cc61f\u0026label=Gem%20version\u0026logo=rubygems\u0026logoColor=red\u0026link=https%3A%2F%2Frubygems.org%2Fgems%2Fsonic_pass)\n![RubyGem download](https://img.shields.io/gem/dt/sonic_pass?color=%2330c754\u0026label=Downloads\u0026logo=rubygems\u0026logoColor=red\u0026link=https%3A%2F%2Frubygems.org%2Fgems%2Fsonic_pass)\n![Rubocop](https://img.shields.io/github/actions/workflow/status/papakvy/sonic_pass/main.yml?branch=master\u0026logo=rubocop\u0026logoColor=red\u0026label=Rubocop%20Lint)\n![Test](https://img.shields.io/github/actions/workflow/status/papakvy/sonic_pass/main.yml?branch=master\u0026logo=rubocop\u0026logoColor=red\u0026label=Tests%20%F0%9F%A7%AA)\n\nTable of Contents\n-----------------\n\n* [Overview](#overview)\n* [Installation](#installation)\n* [Usage](#usage)\n* [Contributing](#contributing)\n* [License](#license)\n\n### Overview\n\nSonic Pass is a Ruby gem designed to generate strong, unique passwords. It provides a simple and efficient way to create passwords of varying lengths, making it an ideal tool for developers and users alike.\n\n### Installation\n\nTo install the Sonic Pass gem, run the following command in your terminal:\n\n```bash\ngem install sonic_pass\n```\n\nAlternatively, you can add the following line to your Gemfile:\n\n```ruby\ngem 'sonic_pass'\n```\n\nThen, run `bundle install` to install the gem.\n\n### Usage\n\nTo use the Sonic Pass gem, simply require it in your Ruby file:\n\n```ruby\nrequire 'sonic_pass'\n```\n\nYou can then generate a password using the `SonicPass.generate` method:\n\n```ruby\n# Default `length = 12`\npassword = SonicPass.generate # equals `SonicPass.generate(12)`\nputs password\n\n# cpzmh3OV\\\",C7\n```\n\nOr you can generate multiple passwords, using `count \u003e 1` params\n\n```ruby\npasswords = SonicPass.generate(12, 5)\nputs passwords\n\n# ,Y36.9H-XqS;\n# vRzCyIq.=$W5\n# 1}-'D*'ya$Vg\n# %66db\u0026y$rjhU\n# x';2I7y$\u003c\u00265f\n```\n\n### How to use CLI command `sonic_pass`\n\n- Put executable path into `PATH` directly\n\n```bash\ngem_bin_path=$(gem env | grep \"EXECUTABLE DIRECTORY\" | awk -F ': ' '{print $2}')\nexport PATH=\"$PATH:$gem_bin_path\"\n```\n\n- Put executable path into `PATH` in the appropriate configuration file\n\nAssume executable path is: `/home/user/.asdf/installs/ruby/3.0.0/bin`\n\nFor bash (usually ~/.bashrc or ~/.bash_profile):\n\n```bash\necho 'export PATH=\"$PATH:/home/user/.asdf/installs/ruby/3.0.0/bin\"' \u003e\u003e ~/.bashrc\nsource ~/.bashrc\n```\n\n\nFor zsh (usually ~/.zshrc):\n\n```bash\necho 'export PATH=\"$PATH:/home/user/.asdf/installs/ruby/3.0.0/bin\"' \u003e\u003e ~/.zshrc\nsource ~/.zshrc\n```\n\nVerify the change: After updating your configuration file, you can check if the new path has been added by running:\n\n```bash\necho $PATH\n```\n\nFinally, run CLI command:\n\n```bash\n$ sonic_pass\n\n# Password: mM\u003e]3ERLlD5L copied to clipboard\n```\n\n### Contributing\n\nContributions to the Sonic Pass gem are welcome. To contribute, please fork the repository and submit a pull request with your changes.\n\n### License\n\nThe Sonic Pass gem is released under the MIT License. See the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpapakvy%2Fsonic_pass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpapakvy%2Fsonic_pass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpapakvy%2Fsonic_pass/lists"}