{"id":37224157,"url":"https://github.com/jershell/gox2","last_synced_at":"2026-01-15T01:40:14.781Z","repository":{"id":64301473,"uuid":"573526461","full_name":"jershell/gox2","owner":"jershell","description":"fork of gox for build gitlab-runner on alt arch","archived":false,"fork":false,"pushed_at":"2022-12-02T17:19:32.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-06-20T03:34:04.366Z","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":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jershell.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":"2022-12-02T17:14:12.000Z","updated_at":"2024-06-20T03:34:04.368Z","dependencies_parsed_at":"2022-12-06T09:49:33.145Z","dependency_job_id":null,"html_url":"https://github.com/jershell/gox2","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/jershell/gox2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jershell%2Fgox2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jershell%2Fgox2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jershell%2Fgox2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jershell%2Fgox2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jershell","download_url":"https://codeload.github.com/jershell/gox2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jershell%2Fgox2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28441031,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T00:55:22.719Z","status":"ssl_error","status_checked_at":"2026-01-15T00:55:20.945Z","response_time":107,"last_error":"SSL_read: 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":[],"created_at":"2026-01-15T01:40:14.268Z","updated_at":"2026-01-15T01:40:14.768Z","avatar_url":"https://github.com/jershell.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gox - Simple Go Cross Compilation\n\nGox is a simple, no-frills tool for Go cross compilation that behaves a\nlot like standard `go build`. Gox will parallelize builds for multiple\nplatforms. Gox will also build the cross-compilation toolchain for you.\n\n## Installation\n\nTo install Gox, please use `go get`. We tag versions so feel free to\ncheckout that tag and compile.\n\n```\n$ go install github.com/jershell/gox@latest\n...\n$ gox -h\n...\n```\n\n## Usage\n\nIf you know how to use `go build`, then you know how to use Gox. For\nexample, to build the current package, specify no parameters and just\ncall `gox`. Gox will parallelize based on the number of CPUs you have\nby default and build for every platform by default:\n\n```\n$ gox\nNumber of parallel builds: 4\n\n--\u003e      darwin/386: github.com/mitchellh/gox\n--\u003e    darwin/amd64: github.com/mitchellh/gox\n--\u003e       linux/386: github.com/mitchellh/gox\n--\u003e     linux/amd64: github.com/mitchellh/gox\n--\u003e       linux/arm: github.com/mitchellh/gox\n--\u003e     freebsd/386: github.com/mitchellh/gox\n--\u003e   freebsd/amd64: github.com/mitchellh/gox\n--\u003e     openbsd/386: github.com/mitchellh/gox\n--\u003e   openbsd/amd64: github.com/mitchellh/gox\n--\u003e     windows/386: github.com/mitchellh/gox\n--\u003e   windows/amd64: github.com/mitchellh/gox\n--\u003e     freebsd/arm: github.com/mitchellh/gox\n--\u003e      netbsd/386: github.com/mitchellh/gox\n--\u003e    netbsd/amd64: github.com/mitchellh/gox\n--\u003e      netbsd/arm: github.com/mitchellh/gox\n--\u003e       plan9/386: github.com/mitchellh/gox\n--\u003e   linux/riscv64: github.com/mitchellh/gox\n--\u003e   linux/loong64: github.com/mitchellh/gox\n```\n\nOr, if you want to build a package and sub-packages:\n\n```\n$ gox ./...\n...\n```\n\nOr, if you want to build multiple distinct packages:\n\n```\n$ gox github.com/mitchellh/gox github.com/hashicorp/serf\n...\n```\n\nOr if you want to just build for linux:\n\n```\n$ gox -os=\"linux\"\n...\n```\n\nOr maybe you just want to build for 64-bit linux:\n\n```\n$ gox -osarch=\"linux/amd64\"\n...\n```\n\nAnd more! Just run `gox -h` for help and additional information.\n\n## Versus Other Cross-Compile Tools\n\nA big thanks to these other options for existing. They each paved the\nway in many aspects to make Go cross-compilation approachable.\n\n* [Dave Cheney's golang-crosscompile](https://github.com/davecheney/golang-crosscompile) -\n  Gox compiles for multiple platforms and can therefore easily run on\n  any platform Go supports, whereas Dave's scripts require a shell. Gox\n  will also parallelize builds. Dave's scripts build sequentially. Gox has\n  much easier to use OS/Arch filtering built in.\n\n* [goxc](https://github.com/laher/goxc) -\n  A very richly featured tool that can even do things such as build system\n  packages, upload binaries, generate download webpages, etc. Gox is a\n  super slim alternative that only cross-compiles binaries. Gox builds packages in parallel, whereas\n  goxc doesn't. Gox doesn't enforce a specific output structure for built\n  binaries.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjershell%2Fgox2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjershell%2Fgox2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjershell%2Fgox2/lists"}