{"id":17988526,"url":"https://github.com/heyvito/identicon","last_synced_at":"2025-03-25T22:33:50.301Z","repository":{"id":56877270,"uuid":"12624979","full_name":"heyvito/identicon","owner":"heyvito","description":"👾 A Ruby library that generates GitHub-like identicons","archived":false,"fork":false,"pushed_at":"2019-06-04T06:21:31.000Z","size":15,"stargazers_count":81,"open_issues_count":1,"forks_count":11,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-20T22:03:51.907Z","etag":null,"topics":["github","icons","identicon","ruby","ruby-library"],"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/heyvito.png","metadata":{"files":{"readme":"README.md","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}},"created_at":"2013-09-05T18:10:59.000Z","updated_at":"2024-05-03T12:04:20.000Z","dependencies_parsed_at":"2022-08-20T11:30:35.241Z","dependency_job_id":null,"html_url":"https://github.com/heyvito/identicon","commit_stats":null,"previous_names":["victorgama/identicon"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heyvito%2Fidenticon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heyvito%2Fidenticon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heyvito%2Fidenticon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heyvito%2Fidenticon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heyvito","download_url":"https://codeload.github.com/heyvito/identicon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245556284,"owners_count":20634876,"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":["github","icons","identicon","ruby","ruby-library"],"created_at":"2024-10-29T19:11:55.680Z","updated_at":"2025-03-25T22:33:50.031Z","avatar_url":"https://github.com/heyvito.png","language":"Ruby","readme":"Identicon\n=========\n[![Dependency Status](https://gemnasium.com/victorgama/identicon.svg)](https://gemnasium.com/victorgama/identicon)\n\n![](http://i.imgur.com/eQeMxCb.png)\n![](http://i.imgur.com/8b8Oezd.png)\n![](http://i.imgur.com/yaZd7LR.png)\n\nA Ruby library that generates GitHub-like [identicons](https://github.com/blog/1586-identicons)\n\n## Installation\n\nAdd it to your application's `Gemfile`:\n\n```ruby\ngem 'identicon'\n```\n\nand run\n\n    $ bundle\n\nor manually install through the command-line:\n\n    $ gem install identicon\n\n## Usage\n\nRequire it\n```ruby\nrequire 'identicon'\n```\n\nAnd use `data_url_for` or `file_for`, as explained below:\n\n## `data_url_for`\nThis generates a data-url, so you can use it immediately, check it out:\n```ruby\nIdenticon.data_url_for \"Whatever you want!\"\n```\nYou can also specify a image size and a background color:\n```ruby\nIdenticon.data_url_for \"Whatever you want!\", 128, [255, 255, 255]\n```\nThis creates a 128x128px image, with a nice white background.\n\n# `file_for`\nThis generates and writes the result to a file. It's as easy as just making a data-url. Check it out:\n```ruby\nIdenticon.file_for \"User's email? Username? Telephone?\", \"/path/to/the/image\"\n```\nAnd, as you may guess, it also accepts the aforementioned parameters:\n```ruby\nIdenticon.file_for \"User's email? Username? Telephone?\", \"/path/to/the/image\", 128, [255, 255, 255]\n```\n----------\n\nPull requests are welcome!\n\n## License\n\n```\nThe MIT License (MIT)\n\nCopyright (c) 2014-2017 Victor Gama\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheyvito%2Fidenticon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheyvito%2Fidenticon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheyvito%2Fidenticon/lists"}