DocRelay is a browser-based relay tool (GitHub ↔ AI) — it loads files from any GitHub repo, packages them for any AI assistant, then captures the AI's response and saves it back to GitHub in one click.
Configure — Open Settings ⚙ (or press ,), enter your PAT, repo, and branch, then click Connect & list files.
Load docs — Navigate the folder tree, click a file to load it. A filled dot ● means it's loaded. Click again to unload. Load as many files as you need.
Send to AI — Click Copy all docs ↗ (Step 1 in the workspace), then paste into any AI assistant (Claude, ChatGPT, Gemini, etc.) and ask for updates.
Review & save — Copy the AI's full response, then click 📋 Paste response (Step 2). A split diff view appears — review Current vs Proposed, then click ↑ Confirm & save to GitHub or ✕ Discard.
Switch to ✎ Edit manually in the workspace toggle to edit the active doc inline. Use ↑ Save to GitHub to commit.
For a full-screen editing experience, click the ⤢ button on any loaded doc row to open it in a separate window. Edit freely, then click ✓ Done — send back (or ⌘S / Ctrl+S) — the content is sent back to DocRelay automatically, marked as unsaved, ready to review in the diff view.
Your PAT, repo, and branch are stored in localStorage — they persist between sessions and are never sent anywhere except the GitHub API. All fields auto-save as you type.
Step 1 — Host it once on GitHub Pages. Push docrelay.html to any GitHub Pages repo (e.g. ndg2ndg/DentalCP). It becomes permanently available at a single URL — https://ndg2ndg.github.io/DentalCP/docrelay.html — on every device, no installation required.
Step 2 — Add to home screen on each device.
Step 3 — Enter your PAT once per device. Settings are stored in that browser's localStorage. The first time you open DocRelay on a new device, open ⚙ Settings and enter your PAT, repo, and branch — they'll be remembered from then on.
Picking up where you left off on another device
Because your files live in GitHub, they're always current. Open DocRelay on your iPhone, connect to the same repo, navigate to the same file and load it — you're looking at whatever was last saved to GitHub. If you left mid-session with unsaved changes on the other device, save them to GitHub first before switching.
The <<<DOC_START>>> / <<<DOC_END>>> markers are injected into the copy payload automatically. Any AI that follows the instruction to wrap its output in these markers will work — the app extracts just the doc content and shows the diff before saving anything.