Files
MasterHttpRelayVPN-RUST/assets/apps_script
therealaleph 62a75093ec docs: mirror upstream Code.gs locally (assets/apps_script/)
Two reasons to pin a copy in the repo:

1. Users on networks where raw.githubusercontent.com is intermittent
   can still get the deploy-ready file via a repo ZIP / clone.
2. The Apps Script relay protocol between mhrv-rs and Code.gs is
   informal — upstream changes can silently break us. Keeping a
   snapshot lets future-us diff against what we tested against
   when diagnosing protocol-drift bugs.

Fetched verbatim from:
  https://raw.githubusercontent.com/masterking32/MasterHttpRelayVPN/refs/heads/python_testing/apps_script/Code.gs

Credit stays with @masterking32. The assets/apps_script/README.md
next to it calls out that we don't modify this file — users deploy
it as-is into their own Google Apps Script project.

Updated the Setup Guide link in both the English and Persian
sections so offline / restricted-network users have a fallback path.
2026-04-22 18:37:01 +03:00
..

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:

This copy lives in our repo for two reasons:

  1. 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.
  2. Pins what we tested against: the relay protocol between mhrv-rs and 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.