{"id":16373182,"url":"https://github.com/bbqsrc/itdavatarplaceholder","last_synced_at":"2026-03-20T11:30:15.924Z","repository":{"id":66192627,"uuid":"67747733","full_name":"bbqsrc/ITDAvatarPlaceholder","owner":"bbqsrc","description":"Library to generate the user avatar placeholder image (iOS)","archived":false,"fork":false,"pushed_at":"2017-01-13T03:45:03.000Z","size":33,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2024-12-31T21:11:59.660Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":false,"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/bbqsrc.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-09-08T23:22:21.000Z","updated_at":"2018-05-17T13:46:14.000Z","dependencies_parsed_at":"2023-02-25T06:45:19.924Z","dependency_job_id":null,"html_url":"https://github.com/bbqsrc/ITDAvatarPlaceholder","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbqsrc%2FITDAvatarPlaceholder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbqsrc%2FITDAvatarPlaceholder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbqsrc%2FITDAvatarPlaceholder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbqsrc%2FITDAvatarPlaceholder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbqsrc","download_url":"https://codeload.github.com/bbqsrc/ITDAvatarPlaceholder/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239933281,"owners_count":19720756,"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":[],"created_at":"2024-10-11T03:13:36.272Z","updated_at":"2026-03-20T11:30:15.672Z","avatar_url":"https://github.com/bbqsrc.png","language":"Swift","readme":"# ITDAvatarPlaceholder\n\n[![CI Status](http://img.shields.io/travis/Igor Kurylenko/ITDAvatarPlaceholder.svg?style=flat)](https://travis-ci.org/Igor Kurylenko/ITDAvatarPlaceholder)\n[![Version](https://img.shields.io/cocoapods/v/ITDAvatarPlaceholder.svg?style=flat)](http://cocoapods.org/pods/ITDAvatarPlaceholder)\n[![License](https://img.shields.io/cocoapods/l/ITDAvatarPlaceholder.svg?style=flat)](http://cocoapods.org/pods/ITDAvatarPlaceholder)\n[![Platform](https://img.shields.io/cocoapods/p/ITDAvatarPlaceholder.svg?style=flat)](http://cocoapods.org/pods/ITDAvatarPlaceholder)\n\nGenerates an avatar placeholder image with first letters of the provided full user name in the center.\n\n\u003cimg src=\"https://cloud.githubusercontent.com/assets/5755524/14285529/94b80d50-fb54-11e5-89cc-371b3a419bd5.jpg\" width=\"321px\" alt=\"screenshot\"/\u003e\n\nThis library uses [Chameleon](https://github.com/ViccAlexander/Chameleon) (Flat Color Framework for iOS) for\na background color generation. Moreover a color of the background is computed from a hash of the provided \nuser name.\n\n## Usage\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\nTo create the 256x256 placeholder image:\n\n```swift\nlet avatarPlaceholderImage = UIImage.createAvatarPlaceholder(\n        userFullName: \"Erlich Bachman\", placeholderSize: CGSizeMake(256, 256))\n```\n\n\n## Installation\n\nITDAvatarPlaceholder is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod \"ITDAvatarPlaceholder\"\n```\n\n## Author\n\nIgor Kurylenko, igorkurylenko@gmail.com\n\n## License\n\nITDAvatarPlaceholder is available under the MIT license. See the LICENSE file for more info.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbqsrc%2Fitdavatarplaceholder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbqsrc%2Fitdavatarplaceholder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbqsrc%2Fitdavatarplaceholder/lists"}