{"id":14986294,"url":"https://github.com/dmester/jdenticon-net","last_synced_at":"2025-10-11T01:38:57.946Z","repository":{"id":10554513,"uuid":"66152649","full_name":"dmester/jdenticon-net","owner":"dmester","description":".NET library for generating identicons. Running on .NET Core and other .NET Standard compatible platforms.","archived":false,"fork":false,"pushed_at":"2023-06-25T17:49:07.000Z","size":10487,"stargazers_count":89,"open_issues_count":3,"forks_count":13,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-09-18T12:36:01.223Z","etag":null,"topics":["aspnet-mvc","aspnetcore","avatar","dotnet","dotnet-core","dotnet-framework","dotnet-standard","identicon","jdenticon","winforms","wpf"],"latest_commit_sha":null,"homepage":"https://jdenticon.com","language":"C#","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/dmester.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-08-20T15:05:16.000Z","updated_at":"2025-08-21T08:57:29.000Z","dependencies_parsed_at":"2023-01-11T20:14:44.824Z","dependency_job_id":"ac30dd57-c4d7-4010-9ef0-5404c46d31a3","html_url":"https://github.com/dmester/jdenticon-net","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/dmester/jdenticon-net","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmester%2Fjdenticon-net","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmester%2Fjdenticon-net/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmester%2Fjdenticon-net/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmester%2Fjdenticon-net/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmester","download_url":"https://codeload.github.com/dmester/jdenticon-net/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmester%2Fjdenticon-net/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276967063,"owners_count":25736938,"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-09-25T02:00:09.612Z","response_time":80,"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":["aspnet-mvc","aspnetcore","avatar","dotnet","dotnet-core","dotnet-framework","dotnet-standard","identicon","jdenticon","winforms","wpf"],"created_at":"2024-09-24T14:12:39.441Z","updated_at":"2025-10-11T01:38:57.923Z","avatar_url":"https://github.com/dmester.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Jdenticon-net](https://jdenticon.com)\n.NET library for generating highly recognizable identicons.\n\n![Sample identicons](https://jdenticon.com/hosted/github-samples.png)\n\n[![Build Status](https://img.shields.io/github/actions/workflow/status/dmester/jdenticon-net/build.yml?branch=master)](https://github.com/dmester/jdenticon-net/actions)\n[![Downloads](https://img.shields.io/nuget/dt/Jdenticon-net.svg)](https://www.nuget.org/packages/Jdenticon-net/)\n[![License MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/dmester/jdenticon-net/blob/master/LICENSE.txt)\n\n## Features\nJdenticon-net is a .NET port of the JavaScript library [Jdenticon](https://github.com/dmester/jdenticon).\n\n* Runs on multiple .NET platforms.\n  * .NET Framework 2.0 and later\n  * .NET Standard 1.0 and later\n  * .NET Core 1.0 and later\n* Render icons as PNG and SVG files with no dependencies to System.Drawing or WPF.\n* Integration package available for ASP.NET Core, ASP.NET WebForms, MVC and WebApi.\n* Generate SVG fragments to be used inline on websites.\n* Controls available for WPF and WinForms.\n\n## Getting started\n\n### ASP.NET\n* [Using Jdenticon in ASP.NET Core](https://jdenticon.com/get-started/aspnet-core.html)\n* [Using Jdenticon in ASP.NET MVC](https://jdenticon.com/get-started/aspnet-mvc.html)\n* [Using Jdenticon in ASP.NET WebApi](https://jdenticon.com/get-started/aspnet-webapi.html)\n* [Using Jdenticon in ASP.NET WebForms](https://jdenticon.com/get-started/aspnet-webforms.html)\n\n### Desktop\n* [Showing identicons in WPF applications](https://jdenticon.com/get-started/wpf.html)\n* [Showing identicons in WinForms applications](https://jdenticon.com/get-started/winforms.html)\n\n### General usage\n* [Using Jdenticon in .NET](https://jdenticon.com/get-started/generic-net.html)\n\n## Quick Reference\nFor full documentation, please see https://jdenticon.com/net-api/.\n\n### Create an instance of Identicon\nThere are mainly two ways of creating an instance of `Identicon`:\n\n* `Identicon.FromHash(hash, size)`\n\n  Creates an instance with a hash value. You can either provide a byte array containing the hash, or \n  provide a hexadecimal hash string. At least 6 bytes are required in byte arrays and 12 characters \n  in hash strings.\n  \n* `Identicon.FromValue(value, size[, hashAlgorithmName])`\n\n  Jdenticon-net will create a hash for you using the specified hash algorithm. You can provide any \n  object, even null, as argument. Jdenticon will use `ToString` to get a string representation of the \n  object and then push the UTF8-encoded string through the specified hash algorithm. If no hash \n  algorithm is specified Jdenticon-net will default to SHA1.\n\n### Generate an icon\nThere are multiple methods in the `Identicon` class for generating icons:\n\n* `SaveAsPng(path|stream)`\n\n  Generates an icon and saves it as a PNG image.\n  \n* `SaveAsSvg(path|stream|TextWriter)`\n\n  Generates an icon and saves it as an SVG image.\n  \n* `ToSvg([fragment])`\n\n  Generates an SVG string containing an icon. This can be useful for embedding icons in other SVG files or\n  inlining SVG icons on your website. For creating SVG files, please use `Save`.\n  \n### Change icon appearance\nYou can customize the colors of the generated icons, by using [IdenticonStyle](https://jdenticon.com/net-api/T_Jdenticon_IdenticonStyle.html). The easiest way of creating a new style is to use the [icon designer](https://jdenticon.com/icon-designer.html).\n  \n### Advanced customizations\nBy subclassing `Jdenticon.IconGenerator` you can completely override the look of your icons. Set the\n`Identicon.IconGenerator` property to an instance of your own generator to make use of the customized \nicon generator.\n\n## License\nJdenticon-net is released under the [MIT license](https://github.com/dmester/jdenticon-net/blob/master/LICENSE.txt).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmester%2Fjdenticon-net","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmester%2Fjdenticon-net","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmester%2Fjdenticon-net/lists"}