{"id":39535610,"url":"https://github.com/vcabbage/govanity","last_synced_at":"2026-01-18T06:32:56.010Z","repository":{"id":57557423,"uuid":"83993586","full_name":"vcabbage/govanity","owner":"vcabbage","description":"Generate HTML for Go vanity imports.","archived":false,"fork":false,"pushed_at":"2017-03-05T19:08:39.000Z","size":1741,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-11T04:24:09.851Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/vcabbage.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":"2017-03-05T18:46:37.000Z","updated_at":"2021-10-13T15:47:56.000Z","dependencies_parsed_at":"2022-09-15T19:30:41.863Z","dependency_job_id":null,"html_url":"https://github.com/vcabbage/govanity","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vcabbage/govanity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vcabbage%2Fgovanity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vcabbage%2Fgovanity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vcabbage%2Fgovanity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vcabbage%2Fgovanity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vcabbage","download_url":"https://codeload.github.com/vcabbage/govanity/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vcabbage%2Fgovanity/sbom","scorecard":{"id":917281,"data":{"date":"2025-08-11","repo":{"name":"github.com/vcabbage/govanity","commit":"6e390e79ae51ee21fbee9f036b8ca7846eceb9cb"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/2 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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"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":"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":"SAST","score":0,"reason":"no SAST tool detected","details":["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":"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":"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":"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":"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"}},{"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":"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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"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"}}]},"last_synced_at":"2025-08-24T21:30:25.051Z","repository_id":57557423,"created_at":"2025-08-24T21:30:25.051Z","updated_at":"2025-08-24T21:30:25.051Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28531997,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"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-01-18T06:32:53.432Z","updated_at":"2026-01-18T06:32:56.002Z","avatar_url":"https://github.com/vcabbage.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# govanity\n\nStatically generate HTML for Go vanity imports.\n\nThe generated HTML is compatible with GitHub Pages.\n\n## Install\n\n`go get -u pack.ag/cmd/govanity`\n\n## Usage\n\n* Requires `go` and `git` on your `$PATH`.\n* Packages must have an [import comment](https://golang.org/cmd/go/#hdr-Import_path_checking) matching the provided prefix.\n* A shallow clone of every Go repository found is done into a temp directory. This may take some time depending on number \n  of repositories and their sizes. It would be more efficient to cache the repositories and pull them on each run, which\n  may be implemented in the future.\n\n```\ngovanity\nUsage: govanity [flags]\n\nOptions can be provided via flags or environment variables.\n\n  -cname\n    \twrite CNAME file for GitHub Pages (default: false) [GOVANITY_CNAME]\n  -out string\n    \tbase directory to write generated files to (required) [GOVANITY_OUT]\n  -prefix string\n    \tvanity URL prefix to match in import comments (required) [GOVANITY_PREFIX]\n  -search string\n    \tcomma seperated list of GitHub usernames/orgs/repos to search (required) [GOVANITY_SEARCH]\n  -token string\n    \tGitHub API token to avoid rate limiting (optional) [GOVANITY_GITHUB_TOKEN]\n\n\nSearching usernames/organizations requires multiple GitHub API calls. Rate limiting is likely to occur\nwithout providing an API token.\n\nExample:\n\n\u003e govanity -prefix=pack.ag -search=\"vcabbage/go-tftp,packag\" -out \"$HOME/src/packag.github.io\" -cname=true\n\nThis will search the repository vcabbage/go-tftp and all repositories in the packag organization for Go packages\nwith an import comments beginning with \"pack.ag\" (ie, 'package tftp // import \"pack.ag/tftp\"'). Appropriate\nHTML with \u003cgo-import\u003e and \u003cgo-source\u003e tags will be written to $HOME/src/packag.github.io.\n```\n\n## Issues/Contributions\n\nI wrote this tool to make managing vanity imports easier for myself and it's therefor opinionated and limited in someways.\nContributions are welcome, but please open an issue before spending your time on code.\n\n## Attribution\n\nThe HTML template was copied from [@natefinch](https://github.com/natefinch)'s [Vanity Imports with Hugo](https://npf.io/2016/10/vanity-imports-with-hugo/) post.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvcabbage%2Fgovanity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvcabbage%2Fgovanity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvcabbage%2Fgovanity/lists"}