mirror of
https://github.com/therealaleph/MasterHttpRelayVPN-RUST.git
synced 2026-05-18 15:44:40 +03:00
31ae569aa2
Standalone Rust/axum HTTP server + Apps Script-side CodeFull.gs for users who want to deploy a remote tunnel node. All new files; no changes to the main Rust crate. This is part 1 of 3 of the full-tunnel feature — it adds scaffolding that users can opt into once the Rust-side Mode::Full lands in #94.
Apps Script source (mirrored)
The file Code.gs next to this README is a verbatim snapshot of the upstream script you deploy in your own Google Apps Script project:
- Upstream: https://github.com/masterking32/MasterHttpRelayVPN/blob/python_testing/apps_script/Code.gs
- Raw link: https://raw.githubusercontent.com/masterking32/MasterHttpRelayVPN/refs/heads/python_testing/apps_script/Code.gs
This copy lives in our repo for two reasons:
- Survives upstream outages: if the user is on a network where raw.githubusercontent.com is temporarily unreachable but they can clone or ZIP this repo, they still have the deploy-ready file.
- Pins what we tested against: the relay protocol between
mhrv-rsand the script is informal; upstream changes can silently break us. Keeping a snapshot here lets us diff and see if a spec drift is responsible for any reported breakage.
All credit for Code.gs goes to @masterking32 — we do not modify it. If you're using mhrv-rs, follow the upstream deploy instructions in the script's header comment. The only edit you must make is the AUTH_KEY constant — set it to a strong secret and reuse that exact string in your mhrv-rs config.