{"id":50952136,"url":"https://github.com/dicebear/dicebear-go","last_synced_at":"2026-06-18T02:32:54.151Z","repository":{"id":364571255,"uuid":"1263274961","full_name":"dicebear/dicebear-go","owner":"dicebear","description":"Go implementation of DiceBear. Read-only subtree split of dicebear/dicebear - please open issues there.","archived":false,"fork":false,"pushed_at":"2026-06-13T14:16:54.000Z","size":56,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"10.x","last_synced_at":"2026-06-13T16:15:57.215Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/dicebear/dicebear","language":"Go","has_issues":false,"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/dicebear.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-08T19:48:31.000Z","updated_at":"2026-06-13T13:55:13.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/dicebear/dicebear-go","commit_stats":null,"previous_names":["dicebear/dicebear-go"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/dicebear/dicebear-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dicebear%2Fdicebear-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dicebear%2Fdicebear-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dicebear%2Fdicebear-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dicebear%2Fdicebear-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dicebear","download_url":"https://codeload.github.com/dicebear/dicebear-go/tar.gz/refs/heads/10.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dicebear%2Fdicebear-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34474063,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-18T02:00:06.871Z","response_time":128,"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":[],"created_at":"2026-06-18T02:32:51.805Z","updated_at":"2026-06-18T02:32:54.144Z","avatar_url":"https://github.com/dicebear.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003e\u003cimg src=\"https://www.dicebear.com/logo-readme.svg\" width=\"28\" /\u003e DiceBear Core (Go)\u003c/h1\u003e\n\nGo implementation of the DiceBear avatar library. Generates deterministic SVG\navatars from style definitions and a seed string.\n\nDiceBear is available for multiple languages. All implementations share the same\nPRNG and rendering pipeline, producing identical SVG output for the same seed,\nstyle, and options, regardless of the language used.\n\n[Playground](https://www.dicebear.com/playground) |\n[Documentation](https://www.dicebear.com/how-to-use/go-library/)\n\n## Installation\n\n```sh\ngo get github.com/dicebear/dicebear-go/v10\n```\n\nRequires Go 1.23 or newer.\n\n## Usage\n\n```go\nimport (\n\tdicebear \"github.com/dicebear/dicebear-go/v10\"\n\t\"github.com/dicebear/styles/v10\"\n)\n\n// From a style definition (raw JSON, e.g. the pure-data styles module)\nstyle, _ := dicebear.NewStyle([]byte(styles.Lorelei))\n\navatar, _ := dicebear.NewAvatar(style, map[string]any{\n\t\"seed\": \"John Doe\",\n\t\"size\": 128,\n})\n\navatar.SVG()     // SVG string\navatar.DataURI() // data:image/svg+xml;charset=utf-8,...\n```\n\n### Using the Style type\n\n```go\nstyle, _ := dicebear.NewStyle([]byte(styles.Lorelei))\n\n// Create multiple avatars from the same style\navatar1, _ := dicebear.NewAvatar(style, map[string]any{\"seed\": \"Alice\"})\navatar2, _ := dicebear.NewAvatar(style, map[string]any{\"seed\": \"Bob\"})\n```\n\n## Sponsors\n\nAdvertisement: Many thanks to our sponsors who provide us with free or\ndiscounted products.\n\n\u003ca href=\"https://bunny.net/\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n    \u003cpicture\u003e\n        \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://www.dicebear.com/sponsors/bunny-light.svg\"\u003e\n        \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://www.dicebear.com/sponsors/bunny-dark.svg\"\u003e\n        \u003cimg alt=\"bunny.net\" src=\"https://www.dicebear.com/sponsors/bunny-dark.svg\" height=\"64\"\u003e\n    \u003c/picture\u003e\n\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdicebear%2Fdicebear-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdicebear%2Fdicebear-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdicebear%2Fdicebear-go/lists"}