{"id":21806494,"url":"https://github.com/thibseisel/identikon","last_synced_at":"2025-10-04T17:56:45.583Z","repository":{"id":45046517,"uuid":"109754408","full_name":"thibseisel/identikon","owner":"thibseisel","description":"A Kotlin multiplatform identicon generator library.","archived":false,"fork":false,"pushed_at":"2022-01-12T19:47:53.000Z","size":475,"stargazers_count":5,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-01T19:11:23.734Z","etag":null,"topics":["android","identicon","jvm","kotlin"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thibseisel.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}},"created_at":"2017-11-06T21:54:45.000Z","updated_at":"2024-10-09T18:17:39.000Z","dependencies_parsed_at":"2022-08-25T14:52:06.368Z","dependency_job_id":null,"html_url":"https://github.com/thibseisel/identikon","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/thibseisel/identikon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thibseisel%2Fidentikon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thibseisel%2Fidentikon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thibseisel%2Fidentikon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thibseisel%2Fidentikon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thibseisel","download_url":"https://codeload.github.com/thibseisel/identikon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thibseisel%2Fidentikon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278350987,"owners_count":25972676,"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-10-04T02:00:05.491Z","response_time":63,"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":["android","identicon","jvm","kotlin"],"created_at":"2024-11-27T12:20:05.710Z","updated_at":"2025-10-04T17:56:45.544Z","avatar_url":"https://github.com/thibseisel.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# identikon\n\nidentikon is a Kotlin multiplatform library for generating highly recognizable identicons. It is a\nKotlin port of [Jdenticon](https://github.com/dmester/jdenticon).\n\n![](screenshots/sample_1.png)\n![](screenshots/sample_2.png)\n![](screenshots/sample_3.png)\n![](screenshots/sample_4.png)\n\n![](screenshots/sample_5.png)\n![](screenshots/sample_6.png)\n![](screenshots/sample_7.png)\n![](screenshots/sample_8.png)\n\n## Purpose\n\nAn Identicon is a visual representation of a hash value, usually of an IP address, that serves to\nidentify a user of a computer system as a form of avatar while protecting the users' privacy.\n\nYou may also use these icons in any other context, for example as a placeholder image.\n\n## Project status\n\nidentikon has just released it's first version. More features may be added at a later time. The\nfollowing features are currently available:\n\n- save icons as SVG,\n- draw icons on an Android `Bitmap`\n\nThis library is currently supporting the following platforms:\n\n- JVM 11+\n- Android API 21+\n\n## Setup\n\nThe library is available through MavenCentral. Add the following dependency to your Gradle build\nscript :\n\n```kotlin\ndependencies {\n    implementation(\"io.github.thibseisel:identikon:1.0.0\")\n}\n```\n\n## How to use\n\nCreate an instance of the `Identicon` class. You have to provide an object whose text representation\nwill be used to generate the icon.\n\n### Writing icon to an SVG file\n\n```kotlin\n// Create a new instance of the Identicon class with an hash string and the given size\nval icon = Identicon.fromValue(\"Hello World!\", iconSize = 300)\n// Writes the icon to a SVG file\nPath(\"my-icon.svg\").outputStream().use {\n    icon.saveAsSvg(it)\n}\n```\n\n### Drawing the icon onto an Android Bitmap\n\n```kotlin\n// Create a new instance of the Identicon class with an hash string and the given size\nval icon = Identicon.fromValue(\"Hello World!\", iconSize = 300)\n// Start the rendering\nval targetBitmap = Bitmap.createBitmap(128, 128, Bitmap.Config.ARGB_8888)\nicon.drawToBitmap(targetBitmap)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthibseisel%2Fidentikon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthibseisel%2Fidentikon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthibseisel%2Fidentikon/lists"}