{"id":21710935,"url":"https://github.com/darosh/gridy-avatars","last_synced_at":"2025-04-12T17:30:46.003Z","repository":{"id":57254260,"uuid":"128275568","full_name":"darosh/gridy-avatars","owner":"darosh","description":"SVG avatars generator","archived":false,"fork":false,"pushed_at":"2018-04-08T06:07:37.000Z","size":152,"stargazers_count":71,"open_issues_count":3,"forks_count":11,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-10T05:10:04.975Z","etag":null,"topics":["avatar","generator","random","svg","vector"],"latest_commit_sha":null,"homepage":"https://darosh.github.io/gridy-avatars/dist/","language":"JavaScript","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/darosh.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":"2018-04-05T23:28:58.000Z","updated_at":"2025-04-04T10:42:27.000Z","dependencies_parsed_at":"2022-08-31T08:21:33.903Z","dependency_job_id":null,"html_url":"https://github.com/darosh/gridy-avatars","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darosh%2Fgridy-avatars","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darosh%2Fgridy-avatars/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darosh%2Fgridy-avatars/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darosh%2Fgridy-avatars/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darosh","download_url":"https://codeload.github.com/darosh/gridy-avatars/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248604923,"owners_count":21132072,"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":["avatar","generator","random","svg","vector"],"created_at":"2024-11-25T23:18:23.913Z","updated_at":"2025-04-12T17:30:45.974Z","avatar_url":"https://github.com/darosh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gridy Avatars [![npm (scoped)](https://img.shields.io/npm/v/gridy-avatars.svg)](https://www.npmjs.com/package/gridy-avatars) [![demo](https://img.shields.io/badge/demo-online-brightgreen.svg)](https://darosh.github.io/gridy-avatars/dist/) [![Try gridy-avatars on RunKit](https://badge.runkitcdn.com/gridy-avatars.svg)](https://npm.runkit.com/gridy-avatars)\n\n\n\u003e SVG avatars generator\n\n![sample 1](https://darosh.github.io/gridy-avatars/dist/sample-1.svg)![sample 2](https://darosh.github.io/gridy-avatars/dist/sample-2.svg)![sample 3](https://darosh.github.io/gridy-avatars/dist/sample-3.svg)![sample 4](https://darosh.github.io/gridy-avatars/dist/sample-4.svg)![sample 5](https://darosh.github.io/gridy-avatars/dist/sample-5.svg)\n\n## Demo\n\nTry randomize button [here](https://darosh.github.io/gridy-avatars/dist/).\n\n## Usage\n\n* see exported API in [./src/avatars.js](./src/avatars.js)\n* use [./dist/avatars.js](./dist/avatars.js)\n* see [./dist/index.html](./dist/index.html) for example usage (with Vue.js)\n\n## Development\n\n1. `yarn`\n2. edit [./src/avatars.svg](./src/avatars.svg) in Inkscape (use one _layer_ per feature)\n3. `npm run dev`\n4. copy generated shapes from dev web app to [./shapes.json](./shapes.json)\n5. `npm run build`\n\n## Notes\n\n* 8\u003csup\u003e6\u003c/sup\u003e = 262.144 variants\n* based on 24\u0026times;24 pixels grid\n* using Material Design colors (generated in [./src/colors.js](./src/colors.js))\n* no transparent colors\n* utilizing SVG clipPaths (with fully opaque colors)\n* no dependencies\n* inspired by [Gabfranck/svg_avatar](https://github.com/Gabfranck/svg_avatar)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarosh%2Fgridy-avatars","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarosh%2Fgridy-avatars","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarosh%2Fgridy-avatars/lists"}