{"id":13809220,"url":"https://github.com/mkhairi/undraw","last_synced_at":"2025-04-06T13:11:21.757Z","repository":{"id":33129199,"uuid":"152403108","full_name":"mkhairi/undraw","owner":"mkhairi","description":"unDraw rubygem, MIT licensed illustrations by unDraw for your rails projects","archived":false,"fork":false,"pushed_at":"2023-04-12T06:05:57.000Z","size":4964,"stargazers_count":109,"open_issues_count":4,"forks_count":28,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-30T12:07:15.591Z","etag":null,"topics":["rails","ruby","svg","undraw-rubygem"],"latest_commit_sha":null,"homepage":"https://undraw.co/illustrations","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/mkhairi.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2018-10-10T10:08:05.000Z","updated_at":"2025-03-25T05:23:34.000Z","dependencies_parsed_at":"2024-01-08T07:59:27.673Z","dependency_job_id":"a8263468-772b-4fa1-a81d-1748e52e4bea","html_url":"https://github.com/mkhairi/undraw","commit_stats":{"total_commits":59,"total_committers":2,"mean_commits":29.5,"dds":"0.016949152542372836","last_synced_commit":"0e30b58090f7c848e179c5dc3714ca2a9c85d7d4"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkhairi%2Fundraw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkhairi%2Fundraw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkhairi%2Fundraw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkhairi%2Fundraw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkhairi","download_url":"https://codeload.github.com/mkhairi/undraw/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247485287,"owners_count":20946398,"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":["rails","ruby","svg","undraw-rubygem"],"created_at":"2024-08-04T01:02:10.296Z","updated_at":"2025-04-06T13:11:21.733Z","avatar_url":"https://github.com/mkhairi.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"# unDraw rubygem [![Gem Version](https://badge.fury.io/rb/undraw.svg)](http://badge.fury.io/rb/undraw)\n\nEmbed SVG illustrations by [unDraw.io](https://undraw.co/illustrations) for your rails projects\n\n![screenshot](https://user-images.githubusercontent.com/7901659/46782215-ff11b700-cd57-11e8-9bdc-e417053d7189.png)\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'undraw'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install undraw\n\n## Usage\n\nBrowse to find the [images](https://undraw.co/illustrations) that fit your needs. Take advantage of the on-the-fly color image generation to match your brand identity.\n\n**hint: downcase the svg title and replace space with underscore. eg: `Features Overview` to `features_overview`\n\n```ruby\n# default color\n\u003c%= undraw(\"features_overview\") %\u003e\n```\n\n```ruby\n# set size \n\u003c%= undraw(\"features_overview\", color: \"#3f51b5\", size: \"350*150\") %\u003e\n```\n\n```ruby\n# set id\n\u003c%= undraw(\"building\", color: \"#ff6347\", id: \"undraw-building\") %\u003e\n```\n\n```ruby\n# set class\n\u003c%= undraw(\"designer_life\", color: \"#ff6347\", class: \"undraw-designer-life\") %\u003e\n```\n\n## Update\nRun bundle update to latest gem released\n\n```$ bundle update undraw```\n\nDue the license issue, any new illustrations released are no longer added to this gems and existing assets might be removed in a future release.\nYou need to manually download preferred svg file and put on:\n\n```\\vendor\\images\\undraw\\\u003casset_name\u003e.svg```\n\n\n```ruby\n# default color\n\u003c%= undraw(\"\u003casset_name\u003e\") %\u003e\n```\n\n\n## Development\nDEMO: http://materialize.labs.my/undraw\n\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/mkhairi/undraw. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the Undraw project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/mkhairi/undraw/blob/master/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkhairi%2Fundraw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkhairi%2Fundraw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkhairi%2Fundraw/lists"}