{"id":18707995,"url":"https://github.com/discourse/letter-avatars","last_synced_at":"2025-07-01T14:31:24.858Z","repository":{"id":3277101,"uuid":"42240779","full_name":"discourse/letter-avatars","owner":"discourse","description":"Teeny tiny web service to generate letter-based avatars","archived":false,"fork":false,"pushed_at":"2025-04-03T19:44:19.000Z","size":17557,"stargazers_count":39,"open_issues_count":1,"forks_count":6,"subscribers_count":20,"default_branch":"main","last_synced_at":"2025-04-12T10:44:58.481Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/discourse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2015-09-10T11:35:05.000Z","updated_at":"2025-04-03T19:44:20.000Z","dependencies_parsed_at":"2024-02-05T18:39:57.479Z","dependency_job_id":null,"html_url":"https://github.com/discourse/letter-avatars","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/discourse/letter-avatars","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discourse%2Fletter-avatars","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discourse%2Fletter-avatars/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discourse%2Fletter-avatars/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discourse%2Fletter-avatars/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/discourse","download_url":"https://codeload.github.com/discourse/letter-avatars/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discourse%2Fletter-avatars/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262980969,"owners_count":23394441,"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-11-07T12:20:50.497Z","updated_at":"2025-07-01T14:31:24.833Z","avatar_url":"https://github.com/discourse.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is the \"Letter Avatar\" microservice, a means of generating a simple\ncoloured letter image, for use as a generic avatar.  It was first\nimplemented for use as part of the [Discourse](http://discourse.org)\nplatform, however it can be used for any service which requires a simple,\ndistinctive avatar for users who haven't set one themselves.\n\n\n# API\n\nThe only resource which this service will respond to is the path:\n\n    /letter/[a-z]\n\nThe variable part indicates which letter to render.  It can be specified as\nuppercase or lowercase, and will be rendered in uppercase in all\ncircumstances.\n\nFrom version 4 onwards, the requested letter can be any unicode character, \nURL encoded or not. If the character can't be draw using any of the fonts\navailiable in the fonts directory, the response will be 404.\n\nThe URL can take the following query parameters.  All are optional, and\nhave halfway-reasonable defaults.\n\n* `r` (default: 0) the \"red\" component of the background colour to use in\n  the image.\n\n* `g` (default: 0) the \"green\" component of the background colour to use in\n  the image.\n\n* `b` (default: 0) the \"blue\" component of the background colour to use in\n  the image.\n\n* `size` (default: 50) the number of pixels wide and high to make the image. \n  All avatar images are squares.\n\n* `v` (default: 1) which version of the API to use.  Version 4 has unicode support.\n\n\n# Deployment\n\nDockerfile ftw!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiscourse%2Fletter-avatars","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiscourse%2Fletter-avatars","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiscourse%2Fletter-avatars/lists"}