{"id":18457253,"url":"https://github.com/redsolution/avatartools","last_synced_at":"2025-08-02T04:32:55.306Z","repository":{"id":136858310,"uuid":"290553055","full_name":"redsolution/avatartools","owner":"redsolution","description":"A couple of small utilities to generate random avatars for users of incognito chats. ","archived":false,"fork":false,"pushed_at":"2021-02-05T07:43:11.000Z","size":1460,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-23T10:51:15.490Z","etag":null,"topics":["avatar","icon","identity","userpic"],"latest_commit_sha":null,"homepage":"https://github.com/redsolution/xabber-server/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/redsolution.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":"2020-08-26T16:48:36.000Z","updated_at":"2021-02-05T07:43:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"2ce15bc6-6cd8-4a66-a30a-e30041d43477","html_url":"https://github.com/redsolution/avatartools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/redsolution/avatartools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redsolution%2Favatartools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redsolution%2Favatartools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redsolution%2Favatartools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redsolution%2Favatartools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redsolution","download_url":"https://codeload.github.com/redsolution/avatartools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redsolution%2Favatartools/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268334618,"owners_count":24233793,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["avatar","icon","identity","userpic"],"created_at":"2024-11-06T08:13:51.237Z","updated_at":"2025-08-02T04:32:55.262Z","avatar_url":"https://github.com/redsolution.png","language":"Python","readme":"# avatartools\nA couple of small utilities to generate random avatars for users of incognito groups. \n\n## generateavatars\nSimple utility to generate avatars of different shapes and colors from prepared blueprints. The result of the program generates 128*128px avatars like these:\n\n\u003cimg src=\"./generateavatar.png\" width=\"640\"\u003e\n\n- ___images___ folder must exist and contain template 128x128 images in .png format. While there are no restrictions on image contents, best results are achieved with black-on-transparent template images. _No non-images files are allowed in this folder, the program currently does not retry image generation if randomly chosen file turns out to be a non-image_\n- ___colors.json___ file must contain JSON with a list of available colors. \n\nThe program \n\nUsage: \n\n\u003e $ python generateavatar.py folder\n\nWhere _folder_ is a folder to store the output file. \n\n## mergeavatars\nSimple utility to merge two different avatars, for use in two-person private chats. The result of the program generates 128*128px avatars like these:\n\n\u003cimg src=\"./mergeavatars.png\" width=\"640\"\u003e\n\nUsage: \n\n\u003e $ python mergeavatars.py firstavatar secondavatar folder\n\nWhere _firstavatar_ and _secondavatar_ are original avatar images, and _folder_ is a folder to store output file. URLs are accepted as file parameters. \n\n---\n\n## License\n\n[![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-blue.svg)](https://www.gnu.org/licenses/agpl-3.0)\n\n[![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://badges.mit-license.org)\n\n- **[GNU AGPL 3.0 license](https://www.gnu.org/licenses/agpl-3.0.html)**\n- Copyright 2020 © \u003ca href=\"http://redsolution.com\" target=\"_blank\"\u003eredsolution OÜ\u003c/a\u003e.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredsolution%2Favatartools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredsolution%2Favatartools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredsolution%2Favatartools/lists"}