{"id":13311712,"url":"https://github.com/Lobstrco/stellar-identicon-js","last_synced_at":"2025-03-10T17:30:41.796Z","repository":{"id":35120838,"uuid":"201962267","full_name":"Lobstrco/stellar-identicon-js","owner":"Lobstrco","description":"Javascript tool to generate identicons for Stellar wallets - unique icons, generated based on the wallet public key","archived":false,"fork":false,"pushed_at":"2023-01-04T10:42:16.000Z","size":1763,"stargazers_count":20,"open_issues_count":25,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-12T04:58:39.277Z","etag":null,"topics":["cryptocurrency","identicons","stellar","stellar-network","unique-icons"],"latest_commit_sha":null,"homepage":"https://id.lobstr.co/GCCD6AJOYZCUAQLX32ZJF2MKFFAUJ53PVCFQI3RHWKL3V47QYE2BNAUT.png","language":"JavaScript","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/Lobstrco.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":"2019-08-12T15:54:20.000Z","updated_at":"2024-08-06T09:51:52.000Z","dependencies_parsed_at":"2023-01-15T14:14:59.849Z","dependency_job_id":null,"html_url":"https://github.com/Lobstrco/stellar-identicon-js","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/Lobstrco%2Fstellar-identicon-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lobstrco%2Fstellar-identicon-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lobstrco%2Fstellar-identicon-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lobstrco%2Fstellar-identicon-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lobstrco","download_url":"https://codeload.github.com/Lobstrco/stellar-identicon-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242892571,"owners_count":20202558,"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":["cryptocurrency","identicons","stellar","stellar-network","unique-icons"],"created_at":"2024-07-29T18:02:21.718Z","updated_at":"2025-03-10T17:30:41.305Z","avatar_url":"https://github.com/Lobstrco.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Stellar Identicon Generator (Javascript)\n\nTool to generate identicons for Stellar wallets - unique icons, generated based on the wallet public key.\n\nHere's a set of identicons generated for random Stellar accounts:\n\n![image](https://user-images.githubusercontent.com/984711/62962449-9e378d00-be07-11e9-93e3-9a9e79f1f078.png)\n\n\nSee also the Python version of the same generator here: https://github.com/Lobstrco/stellar-identicon-py\n\nWith the default settings, both will produce the same identicon image for any Stellar account address.\n\n## Usage\n\n```\nimport createStellarIdenticon from 'stellar-identicon-js';\n\nconst canvas = createStellarIdenticon('GBIDGDSVQXAHGZNOETS7ADUMWCDSQJU4R53EZRK6ONP3BA42UJL5PAHR');\nconst renderedIcon = canvas.toDataURL() // create  data URI containing a generated icon in PNG format\n\n```\n\n## Demo\n\n- Install npm dependecies\n```\nnpm install\n```\n- Build library\n```\nnpm run build\n```\n\nAnd open the `demo/index.html` in the browser to see the usage example.\n\nThe demo shows how to use the library to generate identicon and confirms that it's compatible with the Python implementation of the generator:\n\n![image](https://user-images.githubusercontent.com/984711/63211745-236eba80-c104-11e9-8eb5-fd7d363ac37b.png)\n\n\n ## Web API\n\nYou can also use a web service provided by LOBSTR to integrate identicons inside your app: https://id.lobstr.co\n\nLet's say your Stellar address is: `GBIDGDSVQXAHGZNOETS7ADUMWCDSQJU4R53EZRK6ONP3BA42UJL5PAHR`\n\nThis is how you can get the identicon:\nhttps://id.lobstr.co/GBIDGDSVQXAHGZNOETS7ADUMWCDSQJU4R53EZRK6ONP3BA42UJL5PAHR.png\n\n\nThis web service (id.lobstr.co) uses [stellar-identicon-py](https://github.com/Lobstrco/stellar-identicon-py) and saves the resulting identicons using Cloudfront.\nSo each identicon is generated only once, then saved and served fast through AWS Cloudfront CDN for fast delivery and high availability.\n\nIdenticons are served as 210x210 square images in PNG format, \u003c1KB in size, which should work for most usecases.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLobstrco%2Fstellar-identicon-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLobstrco%2Fstellar-identicon-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLobstrco%2Fstellar-identicon-js/lists"}