{"id":3494194,"name":"github.com/issue9/identicon","ecosystem":"go","description":"Package identicon 一个基于 hash 值生成随机图像的包\n\nidenticon 并没有统一的标准，一般用于在用户注册时，\n取用户的邮箱或是访问 IP 等数据(也可以是其它任何数据)，\n进行 hash 运算，之后根据 hash 数据，产生一张图像，\n这样即可以为用户产生一张独特的头像，又不会泄漏用户的隐藏。\n\n在 identicon 中，把图像分成以下九个部分:\n\n其中 1、3、9、7 为不同角度(依次增加 90 度)的同一张图片，\n2、6、8、4 也是如此，这样可以保持图像是对称的，比较美观。\n5 则单独使用一张图片。\n\nNOTE: go test 会在当前目录的 testdata 文件夹下产生大量的随机图片。\n要运行测试，必须保证该文件夹是存在的，且有相应的写入权限。","homepage":"https://github.com/issue9/identicon","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/issue9/identicon","keywords_array":[],"namespace":"github.com/issue9","versions_count":5,"first_release_published_at":"2018-12-30T04:03:28.000Z","latest_release_published_at":"2021-11-24T23:13:16.000Z","latest_release_number":"v1.2.1","last_synced_at":"2026-07-01T15:54:41.639Z","created_at":"2022-04-10T19:22:53.919Z","updated_at":"2026-07-01T15:54:41.640Z","registry_url":"https://pkg.go.dev/github.com/issue9/identicon","install_command":"go get github.com/issue9/identicon","documentation_url":"https://pkg.go.dev/github.com/issue9/identicon#section-documentation","metadata":{},"repo_metadata":{"id":32296946,"uuid":"35871890","full_name":"issue9/identicon","owner":"issue9","description":"Go 语言版 identicon 头像产生工具","archived":false,"fork":false,"pushed_at":"2025-09-10T05:47:24.000Z","size":125,"stargazers_count":240,"open_issues_count":1,"forks_count":35,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-09-10T09:03:28.758Z","etag":null,"topics":["avatar","avatar-generator","go","golang","identicon"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/issue9/identicon/v2","language":"Go","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/issue9.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}},"created_at":"2015-05-19T09:15:25.000Z","updated_at":"2025-09-10T05:47:27.000Z","dependencies_parsed_at":"2024-02-28T03:31:28.292Z","dependency_job_id":null,"html_url":"https://github.com/issue9/identicon","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/issue9/identicon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fidenticon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fidenticon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fidenticon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fidenticon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/issue9","download_url":"https://codeload.github.com/issue9/identicon/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fidenticon/sbom","scorecard":{"id":496224,"data":{"date":"2025-08-11","repo":{"name":"github.com/issue9/identicon","commit":"32da43a149811c40cb34ca8e031b84fd0eadebef"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.1,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"SAST","score":10,"reason":"SAST tool detected: CodeQL","details":["Info: SAST configuration detected: CodeQL","Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/go.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/issue9/identicon/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/issue9/identicon/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/issue9/identicon/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:67: update your workflow using https://app.stepsecurity.io/secureworkflow/issue9/identicon/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/issue9/identicon/go.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/issue9/identicon/go.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/go.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/issue9/identicon/go.yml/master?enable=pin","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T20:28:45.006Z","repository_id":32296946,"created_at":"2025-08-19T20:28:45.006Z","updated_at":"2025-08-19T20:28:45.006Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274826575,"owners_count":25357080,"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-12T02:00:09.324Z","response_time":60,"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"},"owner_record":{"login":"issue9","name":"issue9","uuid":"10239056","kind":"organization","description":"Go 的一些常用包","email":null,"website":null,"location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/10239056?v=4","repositories_count":43,"last_synced_at":"2024-04-23T11:34:03.475Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/issue9","funding_links":[],"total_stars":716,"followers":9,"following":0,"created_at":"2022-11-10T19:19:35.643Z","updated_at":"2024-04-23T11:34:26.421Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/issue9","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/issue9/repositories"},"tags":[{"name":"v2.1.2","sha":"32da43a149811c40cb34ca8e031b84fd0eadebef","kind":"commit","published_at":"2024-02-28T02:35:12.000Z","download_url":"https://codeload.github.com/issue9/identicon/tar.gz/v2.1.2","html_url":"https://github.com/issue9/identicon/releases/tag/v2.1.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/issue9/identicon@v2.1.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fidenticon/tags/v2.1.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fidenticon/tags/v2.1.2/manifests"},{"name":"v2.1.1","sha":"f47782bed21a286fd4808544a50aae7845ba51ed","kind":"commit","published_at":"2022-08-13T05:37:18.000Z","download_url":"https://codeload.github.com/issue9/identicon/tar.gz/v2.1.1","html_url":"https://github.com/issue9/identicon/releases/tag/v2.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/issue9/identicon@v2.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fidenticon/tags/v2.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fidenticon/tags/v2.1.1/manifests"},{"name":"v2.1.0","sha":"c74f33e87ffc4f67a34a8b779b0ddef02ad5352e","kind":"commit","published_at":"2022-01-08T11:01:23.000Z","download_url":"https://codeload.github.com/issue9/identicon/tar.gz/v2.1.0","html_url":"https://github.com/issue9/identicon/releases/tag/v2.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/issue9/identicon@v2.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fidenticon/tags/v2.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fidenticon/tags/v2.1.0/manifests"},{"name":"v2.0.0","sha":"2877573c95964485dd3da5c96cb21f7fedc39ee1","kind":"commit","published_at":"2021-12-14T02:01:57.000Z","download_url":"https://codeload.github.com/issue9/identicon/tar.gz/v2.0.0","html_url":"https://github.com/issue9/identicon/releases/tag/v2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/issue9/identicon@v2.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fidenticon/tags/v2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fidenticon/tags/v2.0.0/manifests"},{"name":"v1.2.1","sha":"255988bf0ab3d4cd1127fb1ed0c135ff2064181e","kind":"commit","published_at":"2021-11-24T23:13:16.000Z","download_url":"https://codeload.github.com/issue9/identicon/tar.gz/v1.2.1","html_url":"https://github.com/issue9/identicon/releases/tag/v1.2.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/issue9/identicon@v1.2.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fidenticon/tags/v1.2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fidenticon/tags/v1.2.1/manifests"},{"name":"v1.2.0","sha":"36000cd7f69f259895faa563a23581a9a0c6bd8e","kind":"commit","published_at":"2021-04-08T16:17:02.000Z","download_url":"https://codeload.github.com/issue9/identicon/tar.gz/v1.2.0","html_url":"https://github.com/issue9/identicon/releases/tag/v1.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/issue9/identicon@v1.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fidenticon/tags/v1.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fidenticon/tags/v1.2.0/manifests"},{"name":"v1.1.0","sha":"ded8200f47e57dd83b10b6ff1eab65353e88e72b","kind":"commit","published_at":"2021-04-08T14:39:05.000Z","download_url":"https://codeload.github.com/issue9/identicon/tar.gz/v1.1.0","html_url":"https://github.com/issue9/identicon/releases/tag/v1.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/issue9/identicon@v1.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fidenticon/tags/v1.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fidenticon/tags/v1.1.0/manifests"},{"name":"v1.0.1","sha":"4dfca546cb7e35ceb28a19a663c530821d5d13ea","kind":"commit","published_at":"2019-02-27T11:32:23.000Z","download_url":"https://codeload.github.com/issue9/identicon/tar.gz/v1.0.1","html_url":"https://github.com/issue9/identicon/releases/tag/v1.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/issue9/identicon@v1.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fidenticon/tags/v1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fidenticon/tags/v1.0.1/manifests"},{"name":"v1.0.0","sha":"9a4e41ea8079d8856dbc3656623f4679c5e45c8e","kind":"commit","published_at":"2018-12-30T04:03:28.000Z","download_url":"https://codeload.github.com/issue9/identicon/tar.gz/v1.0.0","html_url":"https://github.com/issue9/identicon/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/issue9/identicon@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fidenticon/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issue9%2Fidenticon/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2025-09-12T14:53:32.177Z","dependent_packages_count":50,"downloads":null,"downloads_period":null,"dependent_repos_count":168,"rankings":{"downloads":null,"dependent_repos_count":0.483658123630569,"dependent_packages_count":0.60659567757785,"stargazers_count":3.4088456941770136,"forks_count":3.9269470818670738,"docker_downloads_count":0.2554196268508067,"average":1.7362932408206624},"purl":"pkg:golang/github.com/issue9/identicon","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/issue9/identicon","docker_dependents_count":29,"docker_downloads_count":93052788,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/issue9/identicon","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/issue9/identicon/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2023-05-19T01:24:16.593Z","issues_count":5,"pull_requests_count":1,"avg_time_to_close_issue":4869581.75,"avg_time_to_close_pull_request":9765179.0,"issues_closed_count":4,"pull_requests_closed_count":1,"pull_request_authors_count":1,"issue_authors_count":4,"avg_comments_per_issue":1.4,"avg_comments_per_pull_request":2.0,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fissue9%2Fidenticon/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fissue9%2Fidenticon/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fissue9%2Fidenticon/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fissue9%2Fidenticon/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fissue9%2Fidenticon/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fissue9%2Fidenticon/codemeta","maintainers":[]}