D
Dicklesworthstone/remote_compilation_helper
Intercepts cargo/gcc builds from AI coding agents via hooks and transparently routes them to remote worker…
View on GitHub ↗Link checked 2026-11-12 · HTTP 200 · opens the vendor's own site
- Star count
- 68 ★ · Dicklesworthstone/remote_compilation_helper · read from the GitHub search API · (checked 2026-11-13 20:00:50)
- Source
- read directly from its GitHub page · type: open-source project
- Harvest history
- first seen 2026-11-09 · last seen 2026-11-14 · seen 6× · listed by 1 sources
- Score
- score 103 · 68 ★ · 1 sources · repo
FAQ (answers come from our records)
Who is it for?
We filed it under these tags: 开源项目. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
repository
Dicklesworthstone/remote_compilation_helper;first catalogued 2026-11-09;last seen 2026-11-14。There is no official certification or quality rating here — we record sources and dates only.# rch — Remote Compilation Helper
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
Quick Install
bash
curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/remote_compilation_helper/main/install.sh?$(date +%s)" | bash -s -- --easy-mode
Installs rch + rchd, bootstraps config, and can install/start the background daemon. If remote execution cannot proceed, RCH fails open to local execution.
Transparent remote compilation for multi-agent development
## TL;DR
Problem: Many concurrent AI agents can saturate local CPU and make your workstation unusable.
Solution: RCH runs as a Claude Code PreToolUse hook, classifies build-like commands in milliseconds, executes them on remote workers, and returns artifacts/output as if they ran locally.
Design constraint: RCH is fail-open. If remote execution is not safe/possible, commands run locally.
## What RCH Intercepts
RCH currently recognizes and can offload:
| Ecosystem | Intercepted Commands |
| Rust | cargo build, cargo check, cargo clippy, cargo doc, cargo test, cargo nextest run, cargo bench, rustc |
| Bun/TypeScript | bun test, bun typecheck |
| Go | go build -o , ordinary go test, go vet |
| C/C++ | gcc, g++, clang, clang++ |
| Build Systems | make, cmake --build, ninja, meson compile |
| Nix | nix build, nix-build, nix flake check, nix develop -c , nix shell -c |
Nix builds only route to workers that advertise a nix capability (a usable nix
binary plus a populated /nix/store); on a fleet with no such worker they fall
back to local execution (or are refused under RCH_REQUIRE_REMOTE=1, exactly as
with Bun/Node). Nix outputs stay in the worker's /nix/store behind a result
symlink, so these run as streaming, exit-status-only commands (no artifacts are
copied back — the flake source is synced out, the build runs, the result stays
remote).
Go builds support an explicit, project-relative file output, for example
go build -o bin/app ./cmd/app or go build -o 'products/app [dev]?' main.go.
The output is returned to that exact path, including when CARGO_TARGET_DIR is
set. Common build flags such as -p, -tags, -trimpath, and -race are
supported, as are linker stripping flags (-ldflags '-s -w') and -X variable
definitions. Builds require the durable Unix execution path and a local Go
installation. Both endpoints must report empty effective GOFLAGS and the
dispatcher's native GOOS/GOARCH. The caller's selected Go version, CGO
configuration, experiments, and architecture tuning settings are captured
before upload and must match the worker exactly before compilation starts.
Ordinary builds with CGO enabled remain supported when those settings match.
The worker compiles into a fresh private file outside the source root, preserving
wildcard go:embed inputs. Only after successful compilation produces a regular
file does it create output parents and an adjacent stage for atomic replacement
of the previous worker file. Retrieval then stages and validates that file before
replacing the local output. A missing download cannot be satisfied by an old
local binary, and durable recovery resumes collection without rerunning Go.
Directory outputs, symlinks or symlinked output parents, cross compilation,
native-library modes such as c-shared/c-archive, and low-level flags that can
bash
curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/remote_compilation_helper/main/install.sh?$(date +%s)" | bash -s -- --easy-mode
Installs rch + rchd, bootstraps config, and can install/start the background daemon. If remote execution cannot proceed, RCH fails open to local execution.
Transparent remote compilation for multi-agent development
## TL;DR
Problem: Many concurrent AI agents can saturate local CPU and make your workstation unusable.
Solution: RCH runs as a Claude Code PreToolUse hook, classifies build-like commands in milliseconds, executes them on remote workers, and returns artifacts/output as if they ran locally.
Design constraint: RCH is fail-open. If remote execution is not safe/possible, commands run locally.
## What RCH Intercepts
RCH currently recognizes and can offload:
| Ecosystem | Intercepted Commands |
| Rust | cargo build, cargo check, cargo clippy, cargo doc, cargo test, cargo nextest run, cargo bench, rustc |
| Bun/TypeScript | bun test, bun typecheck |
| Go | go build -o , ordinary go test, go vet |
| C/C++ | gcc, g++, clang, clang++ |
| Build Systems | make, cmake --build, ninja, meson compile |
| Nix | nix build, nix-build, nix flake check, nix develop -c , nix shell -c |
Nix builds only route to workers that advertise a nix capability (a usable nix
binary plus a populated /nix/store); on a fleet with no such worker they fall
back to local execution (or are refused under RCH_REQUIRE_REMOTE=1, exactly as
with Bun/Node). Nix outputs stay in the worker's /nix/store behind a result
symlink, so these run as streaming, exit-status-only commands (no artifacts are
copied back — the flake source is synced out, the build runs, the result stays
remote).
Go builds support an explicit, project-relative file output, for example
go build -o bin/app ./cmd/app or go build -o 'products/app [dev]?' main.go.
The output is returned to that exact path, including when CARGO_TARGET_DIR is
set. Common build flags such as -p, -tags, -trimpath, and -race are
supported, as are linker stripping flags (-ldflags '-s -w') and -X variable
definitions. Builds require the durable Unix execution path and a local Go
installation. Both endpoints must report empty effective GOFLAGS and the
dispatcher's native GOOS/GOARCH. The caller's selected Go version, CGO
configuration, experiments, and architecture tuning settings are captured
before upload and must match the worker exactly before compilation starts.
Ordinary builds with CGO enabled remain supported when those settings match.
The worker compiles into a fresh private file outside the source root, preserving
wildcard go:embed inputs. Only after successful compilation produces a regular
file does it create output parents and an adjacent stage for atomic replacement
of the previous worker file. Retrieval then stages and validates that file before
replacing the local output. A missing download cannot be satisfied by an old
local binary, and durable recovery resumes collection without rerunning Go.
Directory outputs, symlinks or symlinked output parents, cross compilation,
native-library modes such as c-shared/c-archive, and low-level flags that can
Listed badge (optional)
Copy this line into the README if you want the listing mark. Optional, and it does not affect being listed.
[](https://anclum.com/en/s/dicklesworthstone-remote-compilation-helper/)
- Source
- github · https://github.com/Dicklesworthstone/remote_compilation_helper
- Browse by field
- Open source
- Traction
- 68 ★
- added
- today
More like this
Filed under
Every tag opens the full list for that filter. Counts are the live catalogue figures.