https://github.com/stuomas/gore
Go remote run, an all-in-one tool for cross-compilation and execution of Go programs on a remote system.
https://github.com/stuomas/gore
arm go linux prototyping raspberry-pi remote-access
Last synced: about 1 month ago
JSON representation
Go remote run, an all-in-one tool for cross-compilation and execution of Go programs on a remote system.
- Host: GitHub
- URL: https://github.com/stuomas/gore
- Owner: stuomas
- License: mit
- Created: 2017-10-15T15:36:21.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-23T17:30:02.000Z (over 8 years ago)
- Last Synced: 2025-10-09T06:16:43.557Z (8 months ago)
- Topics: arm, go, linux, prototyping, raspberry-pi, remote-access
- Language: Go
- Homepage:
- Size: 23.4 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gore
Go remote run, an all-in-one Linux tool for cross-compilation and execution of Go programs on a remote system.
Born out of engineer's laziness, `gore` seeks to combine three commands, `go build`, `scp`, and `ssh` with all their necessary arguments and environment variables into one goreous tool trying to mimic—and of course, improve—the `go run` command while targeting a remote system. Unlike `go run`, `gore run` can be run directly from your working directory without specifying a source file. It is useful e.g. when prototyping on a Raspberry Pi or similar board or headless system, where you might not want to set up a separate programming environment.
## Installation
`go get github.com/stuomas/gore`
## Syntax
`gore run `
When you run `gore` for the first time, it asks you to set up a configuration file interactively. The file is created in `$XDG_CONFIG_HOME/gore/config.toml`, where you can freely change the settings. You can force interactive re-configuration with `gore config`. For experimentation, you can also set the parameters as arguments before the run command:
```
-arch
Target architecture.
-arm
ARM version.
-dir
Target directory.
-host
Target IP or hostname.
-user
Username at target.
-os
Target operating system.
```
## Notes
As of now, `gore` does not prefer to be bothered about passwords, so you should have key-based authentication set up to your remote system!