Content
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Autobot Sync Setup - Mason</title>
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #1a1a2e; color: #e0e0e0; padding: 40px 20px; line-height: 1.6; }
.container { max-width: 680px; margin: 0 auto; }
h1 { color: #00d4aa; font-size: 28px; margin-bottom: 8px; }
.subtitle { color: #888; font-size: 14px; margin-bottom: 32px; }
.step { background: #16213e; border-radius: 12px; padding: 24px; margin-bottom: 16px; border-left: 4px solid #00d4aa; }
.step-num { display: inline-block; background: #00d4aa; color: #1a1a2e; width: 28px; height: 28px; border-radius: 50%; text-align: center; line-height: 28px; font-weight: 700; font-size: 14px; margin-right: 10px; }
.step h2 { display: inline; font-size: 18px; color: #fff; }
.step p { margin-top: 12px; color: #bbb; }
.credential { background: #0f3460; border-radius: 8px; padding: 14px 18px; margin-top: 12px; font-family: 'SF Mono', 'Fira Code', monospace; font-size: 14px; position: relative; cursor: pointer; border: 1px solid #1a4a8a; }
.credential:hover { border-color: #00d4aa; }
.credential .label { color: #888; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.credential .value { color: #00d4aa; word-break: break-all; margin-top: 4px; }
.copy-hint { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: #555; font-size: 11px; }
.note { background: #1a1a2e; border: 1px solid #333; border-radius: 8px; padding: 16px; margin-top: 12px; font-size: 13px; color: #999; }
.note strong { color: #e0e0e0; }
.path { color: #ffd700; }
.done { background: #0a2a1a; border-left-color: #00ff88; }
.done h2 { color: #00ff88; }
code { background: #0f3460; padding: 2px 6px; border-radius: 4px; font-family: 'SF Mono', 'Fira Code', monospace; font-size: 13px; color: #00d4aa; }
</style>
<script>
function copyText(el) {
const val = el.querySelector('.value').textContent;
navigator.clipboard.writeText(val);
const hint = el.querySelector('.copy-hint');
hint.textContent = 'Copied!';
setTimeout(() => hint.textContent = 'Click to copy', 1500);
}
</script>
</head>
<body>
<div class="container">
<h1>Autobot Sync Setup</h1>
<p class="subtitle">Mason's Installation Guide</p>
<div class="step">
<span class="step-num">1</span>
<h2>Enable the Plugin</h2>
<p>The plugin is already installed. Open Obsidian and go to:</p>
<p><code>Settings</code> → <code>Community plugins</code> → find <strong>Autobot Sync</strong> → toggle it <strong>ON</strong></p>
<div class="note">If you don't see it, restart Obsidian first. The plugin files are at:<br><span class="path">~/Autosys/.obsidian/plugins/autobot-sync/</span></div>
</div>
<div class="step">
<span class="step-num">2</span>
<h2>Configure Settings</h2>
<p>Click the gear icon next to Autobot Sync, then enter your token:</p>
<div class="credential" onclick="copyText(this)">
<div class="label">Sync Token</div>
<div class="value">vsync-mason-a8f3e1</div>
<span class="copy-hint">Click to copy</span>
</div>
<div class="note">The server URL is hardcoded to <code>https://vault.autosysapp.com</code> — no need to enter it.</div>
<div class="note"><strong>Auto sync:</strong> ON (default)<br><strong>Sync interval:</strong> 30 seconds (default)</div>
</div>
<div class="step">
<span class="step-num">3</span>
<h2>Test Connection</h2>
<p>In the plugin settings, click the <strong>Test</strong> button. You should see:</p>
<div class="credential">
<div class="value">Connected as mason — 5541 files on server</div>
</div>
</div>
<div class="step done">
<span class="step-num">4</span>
<h2>You're Done</h2>
<p>The plugin will automatically:</p>
<p>• Run a full sync on startup<br>
• Upload changes within 2 seconds of saving<br>
• Receive changes from Kevin in real-time via WebSocket<br>
• Show sync status in the bottom status bar: <code>• Sync</code></p>
<div class="note"><strong>Commands:</strong> Open the command palette (Cmd+P) and search for:<br>
• <code>Autobot Sync: Sync now</code> — force a full sync<br>
• <code>Autobot Sync: Rebuild server manifest</code> — re-scan server files</div>
</div>
</div>
</body>
</html>