gox alternatives and similar packages
Based on the "DevOps Tools" category.
Alternatively, view gox alternatives based on common mentions on social networks and blogs.
-
Packer
Packer is a tool for creating identical machine images for multiple platforms from a single source configuration. -
webhook
Tool which allows user to create HTTP endpoints (hooks) that execute commands on the server. -
StatusOK
Monitor your Website and REST APIs.Get Notified through Slack, E-mail when your server is down or response time is more than expected. -
s3gof3r
A small utility/library optimized for high speed transfer of large objects into and out of Amazon S3. -
skm
SKM is a simple and powerful SSH Keys Manager, it helps you to manage your multiple SSH keys easily! -
gonative
Tool which creates a build of Go that can cross compile to all platforms while still using the Cgo-enabled versions of the stdlib packages. -
metric
Minimal metrics for Go (counter/gauge/histogram). No dependencies. Compatible with expvar. Web UI included. -
easyssh-proxy
Golang package for easy remote execution through SSH and SCP downloading via ProxyCommand.
Get performance insights in less than 4 minutes
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of gox or a related project?
Popular Comparisons
README
Gox - Simple Go Cross Compilation
Gox is a simple, no-frills tool for Go cross compilation that behaves a
lot like standard go build
. Gox will parallelize builds for multiple
platforms. Gox will also build the cross-compilation toolchain for you.
Installation
To install Gox, please use go get
. We tag versions so feel free to
checkout that tag and compile.
$ go get github.com/mitchellh/gox
...
$ gox -h
...
Usage
If you know how to use go build
, then you know how to use Gox. For
example, to build the current package, specify no parameters and just
call gox
. Gox will parallelize based on the number of CPUs you have
by default and build for every platform by default:
$ gox
Number of parallel builds: 4
--> darwin/386: github.com/mitchellh/gox
--> darwin/amd64: github.com/mitchellh/gox
--> linux/386: github.com/mitchellh/gox
--> linux/amd64: github.com/mitchellh/gox
--> linux/arm: github.com/mitchellh/gox
--> freebsd/386: github.com/mitchellh/gox
--> freebsd/amd64: github.com/mitchellh/gox
--> openbsd/386: github.com/mitchellh/gox
--> openbsd/amd64: github.com/mitchellh/gox
--> windows/386: github.com/mitchellh/gox
--> windows/amd64: github.com/mitchellh/gox
--> freebsd/arm: github.com/mitchellh/gox
--> netbsd/386: github.com/mitchellh/gox
--> netbsd/amd64: github.com/mitchellh/gox
--> netbsd/arm: github.com/mitchellh/gox
--> plan9/386: github.com/mitchellh/gox
Or, if you want to build a package and sub-packages:
$ gox ./...
...
Or, if you want to build multiple distinct packages:
$ gox github.com/mitchellh/gox github.com/hashicorp/serf
...
Or if you want to just build for linux:
$ gox -os="linux"
...
Or maybe you just want to build for 64-bit linux:
$ gox -osarch="linux/amd64"
...
And more! Just run gox -h
for help and additional information.
Versus Other Cross-Compile Tools
A big thanks to these other options for existing. They each paved the way in many aspects to make Go cross-compilation approachable.
Dave Cheney's golang-crosscompile - Gox compiles for multiple platforms and can therefore easily run on any platform Go supports, whereas Dave's scripts require a shell. Gox will also parallelize builds. Dave's scripts build sequentially. Gox has much easier to use OS/Arch filtering built in.
goxc - A very richly featured tool that can even do things such as build system packages, upload binaries, generate download webpages, etc. Gox is a super slim alternative that only cross-compiles binaries. Gox builds packages in parallel, whereas goxc doesn't. Gox doesn't enforce a specific output structure for built binaries.