{"id":15630907,"url":"https://github.com/crazy-max/xgo","last_synced_at":"2026-05-16T16:05:06.047Z","repository":{"id":35856686,"uuid":"149169704","full_name":"crazy-max/xgo","owner":"crazy-max","description":"Go CGO cross compiler","archived":false,"fork":false,"pushed_at":"2026-05-16T14:40:39.000Z","size":1085,"stargazers_count":224,"open_issues_count":16,"forks_count":28,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-16T14:43:58.134Z","etag":null,"topics":["cgo","cross-compiler","docker","golang"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/crazymax/xgo/tags/?page=1\u0026ordering=last_updated","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"karalabe/xgo","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crazy-max.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"crazy-max","custom":"https://www.paypal.me/crazyws"}},"created_at":"2018-09-17T18:26:04.000Z","updated_at":"2026-05-16T14:39:09.000Z","dependencies_parsed_at":"2024-02-19T14:03:08.631Z","dependency_job_id":"96ccb876-bede-4bd7-9635-b84ff2e08aa7","html_url":"https://github.com/crazy-max/xgo","commit_stats":null,"previous_names":[],"tags_count":139,"template":false,"template_full_name":null,"purl":"pkg:github/crazy-max/xgo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazy-max%2Fxgo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazy-max%2Fxgo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazy-max%2Fxgo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazy-max%2Fxgo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crazy-max","download_url":"https://codeload.github.com/crazy-max/xgo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazy-max%2Fxgo/sbom","scorecard":{"id":307699,"data":{"date":"2025-08-11","repo":{"name":"github.com/crazy-max/xgo","commit":"8945744183736a0e7189269f0f4983cd1162ada3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.7,"checks":[{"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":"Code-Review","score":1,"reason":"Found 2/13 approved changesets -- score normalized to 1","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":"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":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/.build.yml:94","Warn: jobLevel 'packages' permission set to 'write': .github/workflows/.build.yml:96","Info: jobLevel 'contents' permission set to 'read': .github/workflows/.build.yml:169","Warn: jobLevel 'packages' permission set to 'write': .github/workflows/.build.yml:171","Info: jobLevel 'contents' permission set to 'read': .github/workflows/image.yml:30","Warn: jobLevel 'packages' permission set to 'write': .github/workflows/image.yml:32","Info: jobLevel 'contents' permission set to 'read': .github/workflows/labels.yml:28","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/xgo.yml:33","Info: topLevel 'contents' permission set to 'read': .github/workflows/.build.yml:6","Info: topLevel 'contents' permission set to 'read': .github/workflows/image.yml:9","Info: topLevel 'contents' permission set to 'read': .github/workflows/labels.yml:9","Info: topLevel 'contents' permission set to 'read': .github/workflows/test.yml:9","Info: topLevel 'contents' permission set to 'read': .github/workflows/xgo.yml:9"],"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":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":"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":"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":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.36.0 not signed: https://api.github.com/repos/crazy-max/xgo/releases/209232840","Warn: release artifact v0.35.0 not signed: https://api.github.com/repos/crazy-max/xgo/releases/209230347","Warn: release artifact v0.34.0 not signed: https://api.github.com/repos/crazy-max/xgo/releases/209197826","Warn: release artifact v0.33.0 not signed: https://api.github.com/repos/crazy-max/xgo/releases/170775187","Warn: release artifact v0.32.0 not signed: https://api.github.com/repos/crazy-max/xgo/releases/155348491","Warn: release artifact v0.36.0 does not have provenance: https://api.github.com/repos/crazy-max/xgo/releases/209232840","Warn: release artifact v0.35.0 does not have provenance: https://api.github.com/repos/crazy-max/xgo/releases/209230347","Warn: release artifact v0.34.0 does not have provenance: https://api.github.com/repos/crazy-max/xgo/releases/209197826","Warn: release artifact v0.33.0 does not have provenance: https://api.github.com/repos/crazy-max/xgo/releases/170775187","Warn: release artifact v0.32.0 does not have provenance: https://api.github.com/repos/crazy-max/xgo/releases/155348491"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 27 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":4,"reason":"dependency not pinned by hash detected -- score normalized to 4","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/.build.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/crazy-max/xgo/.build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/.build.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/crazy-max/xgo/.build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/.build.yml:67: update your workflow using https://app.stepsecurity.io/secureworkflow/crazy-max/xgo/.build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/.build.yml:83: update your workflow using https://app.stepsecurity.io/secureworkflow/crazy-max/xgo/.build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/.build.yml:111: update your workflow using https://app.stepsecurity.io/secureworkflow/crazy-max/xgo/.build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/.build.yml:118: update your workflow using https://app.stepsecurity.io/secureworkflow/crazy-max/xgo/.build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/.build.yml:125: update your workflow using https://app.stepsecurity.io/secureworkflow/crazy-max/xgo/.build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/.build.yml:132: update your workflow using https://app.stepsecurity.io/secureworkflow/crazy-max/xgo/.build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/.build.yml:136: update your workflow using https://app.stepsecurity.io/secureworkflow/crazy-max/xgo/.build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/.build.yml:157: update your workflow using https://app.stepsecurity.io/secureworkflow/crazy-max/xgo/.build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/.build.yml:177: update your workflow using https://app.stepsecurity.io/secureworkflow/crazy-max/xgo/.build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/.build.yml:183: update your workflow using https://app.stepsecurity.io/secureworkflow/crazy-max/xgo/.build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/.build.yml:190: update your workflow using https://app.stepsecurity.io/secureworkflow/crazy-max/xgo/.build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/.build.yml:193: update your workflow using https://app.stepsecurity.io/secureworkflow/crazy-max/xgo/.build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/.build.yml:199: update your workflow using https://app.stepsecurity.io/secureworkflow/crazy-max/xgo/.build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/labels.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/crazy-max/xgo/labels.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/labels.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/crazy-max/xgo/labels.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/crazy-max/xgo/test.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/crazy-max/xgo/test.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/xgo.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/crazy-max/xgo/xgo.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/xgo.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/crazy-max/xgo/xgo.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/xgo.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/crazy-max/xgo/xgo.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/xgo.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/crazy-max/xgo/xgo.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/xgo.yml:61: update your workflow using https://app.stepsecurity.io/secureworkflow/crazy-max/xgo/xgo.yml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:10","Warn: containerImage not pinned by hash: Dockerfile:11","Warn: containerImage not pinned by hash: Dockerfile:17","Warn: containerImage not pinned by hash: Dockerfile:22","Warn: containerImage not pinned by hash: Dockerfile:33","Warn: containerImage not pinned by hash: Dockerfile:38","Warn: containerImage not pinned by hash: Dockerfile:57","Warn: containerImage not pinned by hash: Dockerfile:59","Warn: containerImage not pinned by hash: Dockerfile:83","Warn: containerImage not pinned by hash: Dockerfile:96","Warn: containerImage not pinned by hash: Dockerfile:113","Warn: containerImage not pinned by hash: Dockerfile:114","Warn: containerImage not pinned by hash: tests/Dockerfile:7","Info:   0 out of   9 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of  15 third-party GitHubAction dependencies pinned","Info:   2 out of  15 containerImage dependencies pinned","Info:  22 out of  22 goCommand 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"}}]},"last_synced_at":"2025-08-17T22:29:28.314Z","repository_id":35856686,"created_at":"2025-08-17T22:29:28.314Z","updated_at":"2025-08-17T22:29:28.314Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33109461,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cgo","cross-compiler","docker","golang"],"created_at":"2024-10-03T10:37:23.272Z","updated_at":"2026-05-16T16:05:06.004Z","avatar_url":"https://github.com/crazy-max.png","language":"Shell","funding_links":["https://github.com/sponsors/crazy-max","https://www.paypal.me/crazyws"],"categories":[],"sub_categories":[],"readme":"[![GitHub release](https://img.shields.io/github/release/crazy-max/xgo.svg?style=flat-square)](https://github.com/crazy-max/xgo/releases/latest)\n[![Total downloads](https://img.shields.io/github/downloads/crazy-max/xgo/total.svg?style=flat-square)](https://github.com/crazy-max/xgo/releases/latest)\n[![Build Status](https://img.shields.io/github/actions/workflow/status/crazy-max/xgo/image.yml?branch=master\u0026label=build\u0026logo=github\u0026style=flat-square)](https://github.com/crazy-max/xgo/actions?query=workflow%3Aimage)\n[![Test Status](https://img.shields.io/github/actions/workflow/status/crazy-max/xgo/test.yml?branch=master\u0026label=test\u0026logo=github\u0026style=flat-square)](https://github.com/crazy-max/xgo/actions?query=workflow%3Atest)\n[![Docker Stars](https://img.shields.io/docker/stars/crazymax/xgo.svg?style=flat-square\u0026logo=docker)](https://hub.docker.com/r/crazymax/xgo/)\n[![Docker Pulls](https://img.shields.io/docker/pulls/crazymax/xgo.svg?style=flat-square\u0026logo=docker)](https://hub.docker.com/r/crazymax/xgo/)\n[![Go Report Card](https://goreportcard.com/badge/github.com/crazy-max/xgo)](https://goreportcard.com/report/github.com/crazy-max/xgo)\n\n[![Become a sponsor](https://img.shields.io/badge/sponsor-crazy--max-181717.svg?logo=github\u0026style=flat-square)](https://github.com/sponsors/crazy-max)\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-00457c.svg?logo=paypal\u0026style=flat-square)](https://www.paypal.me/crazyws)\n\n___\n\n* [Fork](#fork)\n* [Build](#Build)\n* [Documentation](#documentation)\n* [Contributing](#contributing)\n* [Lisence](#license)\n\n## Fork\n\nThis repository is a fork of [karalabe/xgo](https://github.com/karalabe/xgo) to\npush images and tags to a single docker repository on several registries to make\nthings more consistent for users. It uses [`goxx` image](https://github.com/crazy-max/goxx)\nas base that provides all the necessary Go tool-chains, C/C++ cross-compilers\nand platform headers/libraries.\n\n| Registry                                                                                       | Image                   |\n|------------------------------------------------------------------------------------------------|-------------------------|\n| [Docker Hub](https://hub.docker.com/r/crazymax/xgo/)                                           | `crazymax/xgo`          |\n| [GitHub Container Registry](https://github.com/users/crazy-max/packages/container/package/xgo) | `ghcr.io/crazy-max/xgo` |\n\n```\n$ docker buildx imagetools inspect crazymax/xgo --format \"{{json .Manifest}}\" | \\\n  jq -r '.manifests[] | select(.platform.os != null and .platform.os != \"unknown\") | .platform | \"\\(.os)/\\(.architecture)\\(if .variant then \"/\" + .variant else \"\" end)\"'\n\nlinux/amd64\nlinux/arm64\n```\n\nThis also creates a [standalone xgo executable](https://github.com/crazy-max/xgo/releases/latest)\nthat can be used on many platforms.\n\n## Build\n\nBuild xgo yourself using Docker [`buildx bake`](https://github.com/docker/buildx/blob/master/docs/reference/buildx_bake.md):\n\n```shell\ngit clone https://github.com/crazy-max/xgo.git xgo\ncd xgo\n\n# Build xgo image and output to docker with xgo:local tag\ndocker buildx bake\n\n# Tests\nBASE_IMAGE=xgo:local docker buildx bake test-c\nBASE_IMAGE=xgo:local docker buildx bake test-cpp\nBASE_IMAGE=xgo:local docker buildx bake test-gorm\n\n# Create xgo artifacts in ./dist\ndocker buildx bake artifact-all\n```\n\n## Documentation\n\n* [About](doc/about.md)\n* [Enter xgo](doc/enter-xgo.md)\n* [Installation](doc/installation.md)\n* [Usage](doc/usage.md)\n  * [Build flags](doc/usage/build-flags.md)\n  * [Go releases](doc/usage/go-releases.md)\n  * [Output prefixing](doc/usage/output-prefixing.md)\n  * [Branch selection](doc/usage/branch-selection.md)\n  * [Remote selection](doc/usage/remote-selection.md)\n  * [Package selection](doc/usage/package-selection.md)\n  * [Limit build targets](doc/usage/limit-build-targets.md)\n  * [Platform versions](doc/usage/platform-versions.md)\n  * [CGO dependencies](doc/usage/cgo-dependencies.md)\n\n## Contributing\n\nWant to contribute? Awesome! The most basic way to show your support is to star\nthe project, or to raise issues. You can also support this project by [**becoming a sponsor on GitHub**](https://github.com/sponsors/crazy-max)\nor by making a [PayPal donation](https://www.paypal.me/crazyws) to ensure this\njourney continues indefinitely!\n\nThanks again for your support, it is much appreciated! :pray:\n\n## License\n\nMIT. See `LICENSE` for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrazy-max%2Fxgo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrazy-max%2Fxgo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrazy-max%2Fxgo/lists"}