[{"data":1,"prerenderedAt":3106},["ShallowReactive",2],{"post-\u002Fblog\u002Fclawdbot-vps-setup":3,"all-posts-nav":2879,"prosea-live-blog-paths":3083},{"id":4,"title":5,"body":6,"createdAt":2862,"description":2863,"extension":2864,"meta":2865,"navigation":239,"path":2866,"publishAt":2867,"seo":2868,"status":2869,"stem":2870,"tags":2871,"thumbnail":2877,"updatedAt":2867,"__hash__":2878,"_path":2866},"blog\u002Fblog\u002Fclawdbot-vps-setup.md","Setting Up a Persistent AI Agent on a VPS with OpenClaw",{"type":7,"value":8,"toc":2794},"minimark",[9,36,43,52,57,60,88,91,99,103,106,117,124,132,135,146,151,166,169,294,304,313,316,319,323,327,380,384,387,646,650,653,699,703,709,718,720,724,727,731,760,763,767,799,802,806,833,837,845,860,863,865,869,873,914,918,921,939,967,971,977,983,990,992,996,1003,1007,1010,1088,1096,1100,1103,1127,1133,1135,1139,1142,1146,1155,1171,1175,1198,1202,1208,1210,1214,1217,1220,1312,1316,1392,1395,1419,1423,1429,1432,1450,1457,1461,1487,1491,1538,1542,1545,1563,1566,1584,1588,1595,1601,1605,1616,1623,1625,1629,1632,1636,1639,1682,1686,1689,1746,1755,1759,1762,1782,1784,1788,1791,1795,1803,1818,1822,1825,1856,1862,1866,1869,2005,2009,2022,2026,2029,2047,2051,2067,2069,2073,2076,2080,2083,2098,2101,2107,2110,2134,2137,2141,2144,2160,2170,2174,2247,2249,2253,2256,2262,2307,2310,2320,2378,2389,2391,2395,2530,2534,2643,2645,2649,2659,2673,2679,2685,2700,2712,2714,2718,2721,2728,2731,2734,2736,2740,2745,2771,2775,2790],[10,11,12,13,18,19,23,24,28,29,35],"p",{},"This is Part 4 of my AI coding workflow series. ",[14,15,17],"a",{"href":16},"\u002Fblog\u002Fclaude-code-workflow\u002F","Part 1"," covers terminal agents. ",[14,20,22],{"href":21},"\u002Fblog\u002Fai-coding-editors\u002F","Part 2"," covers editor-level AI. ",[14,25,27],{"href":26},"\u002Fblog\u002Fai-coding-agents-pr-level\u002F","Part 3"," covers PR-level agents. Part 5 (coming soon) covers the skills system. This post is about running a persistent AI agent on a remote server using ",[14,30,34],{"href":31,"rel":32},"https:\u002F\u002Fopenclaw.ai\u002F",[33],"nofollow","OpenClaw",".",[10,37,38,42],{},[39,40,41],"strong",{},"Updated April 2026"," after two months of daily use. This post focuses on the setup.",[44,45,46],"blockquote",{},[10,47,48,51],{},[39,49,50],{},"A note on timing:"," the AI tooling space moves fast. The tools, versions, and prices here are a snapshot of what I use right now, not a fixed recipe, and some details will date quickly. I keep these posts updated as my workflow shifts.",[53,54,56],"h2",{"id":55},"at-a-glance","At a glance",[10,58,59],{},"Think of this setup as giving yourself a second computer that never sleeps, only lets you in through a private door, and quietly keeps a copy of its notes on your Mac.",[61,62,63,70,76,82],"ul",{},[64,65,66,69],"li",{},[39,67,68],{},"The VPS"," is a cheap always-on Linux box that hosts the agent (OpenClaw).",[64,71,72,75],{},[39,73,74],{},"Tailscale"," is the private door — a VPN that only your own devices can use.",[64,77,78,81],{},[39,79,80],{},"Syncthing"," keeps a folder of notes and agent output in sync between the server and your Mac.",[64,83,84,87],{},[39,85,86],{},"Obsidian"," reads that folder on your Mac like a normal vault.",[10,89,90],{},"You don't need to understand networking, VPNs, or file sync in depth to run this. You need an SSH client and the patience to copy-paste a few commands. Everything below is organised so you can skip to the parts that apply to you.",[10,92,93,94,98],{},"If you already know why you want this, the ",[14,95,97],{"href":96},"#quick-reference","cheat sheet"," near the end has the commands grouped together. The sections in between explain the why.",[53,100,102],{"id":101},"why-run-an-ai-agent-on-a-vps","Why run an AI agent on a VPS?",[10,104,105],{},"Running AI agents locally works, but has limitations:",[61,107,108,111,114],{},[64,109,110],{},"My laptop sleeps, travels, runs out of battery",[64,112,113],{},"Long-running tasks get interrupted",[64,115,116],{},"Can't easily hand off to mobile or other devices",[10,118,119,120,123],{},"The fix: run ",[14,121,34],{"href":31,"rel":122},[33]," on a cheap VPS that's always on, accessible from anywhere via Tailscale VPN, with automatic backups to my Obsidian vault via Syncthing.",[10,125,126,127,131],{},"I recommend ",[14,128,130],{"href":129},"\u002Fgo\u002Fdigitalocean","DigitalOcean"," for this setup because the lowest-tier droplets are enough to run OpenClaw, Tailscale, and Syncthing reliably.",[10,133,134],{},"Here's the stack:",[136,137,142],"pre",{"className":138,"code":140,"language":141},[139],"language-text","┌─────────────────┐     ┌─────────────────┐\n│   Your Mac      │────▶│  Tailscale VPN  │\n│   (Obsidian)    │◀────│  (encrypted)    │\n└─────────────────┘     └─────────────────┘\n                               │\n                               ▼\n                        ┌─────────────────┐\n                        │  DigitalOcean   │\n                        │  VPS (~£10\u002Fmo)  │\n                        │  ─────────────  │\n                        │  OpenClaw       │\n                        │  Syncthing      │\n                        │  Tailscale      │\n                        └─────────────────┘\n","text",[143,144,140],"code",{"__ignoreMap":145},"",[147,148,150],"h3",{"id":149},"not-technical-use-an-ai-assistant","Not technical? Use an AI assistant",[10,152,153,154,159,160,165],{},"If you're not comfortable with command-line setup, you can use ",[14,155,158],{"href":156,"rel":157},"https:\u002F\u002Fclaude.ai\u002Fcode",[33],"Claude Code"," or ",[14,161,164],{"href":162,"rel":163},"https:\u002F\u002Fopenai.com\u002Fcodex",[33],"Codex"," directly on your server to do it for you.",[10,167,168],{},"Once you have SSH access to your VPS:",[136,170,174],{"className":171,"code":172,"language":173,"meta":145,"style":145},"language-bash shiki shiki-themes github-dark","# Install Node.js first (required for terminal AI tools)\ncurl -fsSL https:\u002F\u002Fdeb.nodesource.com\u002Fsetup_22.x | sudo -E bash -\nsudo apt install -y nodejs\n\n# Then install your preferred AI coding assistant:\n# Option A: Claude Code\nsudo npm install -g @anthropic-ai\u002Fclaude-code\n\n# Option B: Codex CLI\nsudo npm install -g @openai\u002Fcodex\n","bash",[143,175,176,185,216,234,241,247,253,269,274,280],{"__ignoreMap":145},[177,178,181],"span",{"class":179,"line":180},"line",1,[177,182,184],{"class":183},"sAwPA","# Install Node.js first (required for terminal AI tools)\n",[177,186,188,192,196,200,204,207,210,213],{"class":179,"line":187},2,[177,189,191],{"class":190},"svObZ","curl",[177,193,195],{"class":194},"sDLfK"," -fsSL",[177,197,199],{"class":198},"sU2Wk"," https:\u002F\u002Fdeb.nodesource.com\u002Fsetup_22.x",[177,201,203],{"class":202},"snl16"," |",[177,205,206],{"class":190}," sudo",[177,208,209],{"class":194}," -E",[177,211,212],{"class":198}," bash",[177,214,215],{"class":198}," -\n",[177,217,219,222,225,228,231],{"class":179,"line":218},3,[177,220,221],{"class":190},"sudo",[177,223,224],{"class":198}," apt",[177,226,227],{"class":198}," install",[177,229,230],{"class":194}," -y",[177,232,233],{"class":198}," nodejs\n",[177,235,237],{"class":179,"line":236},4,[177,238,240],{"emptyLinePlaceholder":239},true,"\n",[177,242,244],{"class":179,"line":243},5,[177,245,246],{"class":183},"# Then install your preferred AI coding assistant:\n",[177,248,250],{"class":179,"line":249},6,[177,251,252],{"class":183},"# Option A: Claude Code\n",[177,254,256,258,261,263,266],{"class":179,"line":255},7,[177,257,221],{"class":190},[177,259,260],{"class":198}," npm",[177,262,227],{"class":198},[177,264,265],{"class":194}," -g",[177,267,268],{"class":198}," @anthropic-ai\u002Fclaude-code\n",[177,270,272],{"class":179,"line":271},8,[177,273,240],{"emptyLinePlaceholder":239},[177,275,277],{"class":179,"line":276},9,[177,278,279],{"class":183},"# Option B: Codex CLI\n",[177,281,283,285,287,289,291],{"class":179,"line":282},10,[177,284,221],{"class":190},[177,286,260],{"class":198},[177,288,227],{"class":198},[177,290,265],{"class":194},[177,292,293],{"class":198}," @openai\u002Fcodex\n",[10,295,296,297,159,300,303],{},"Then run ",[143,298,299],{},"claude",[143,301,302],{},"codex"," and authenticate. Once connected, ask it to:",[44,305,306],{},[10,307,308,309,312],{},"\"I have already installed Node.js. Now, follow this guide to set up OpenClaw with Tailscale and Syncthing. My username is ",[143,310,311],{},"\u003Cyour_user>",".\"",[10,314,315],{},"The AI can run the commands, troubleshoot errors, and adapt to your setup. Once OpenClaw is running, it becomes that assistant permanently.",[317,318],"hr",{},[53,320,322],{"id":321},"_1-digitalocean-vps-setup","1. DigitalOcean VPS setup",[147,324,326],{"id":325},"create-the-droplet","Create the droplet",[328,329,330,335,341,370,377],"ol",{},[64,331,332,333],{},"Sign up \u002F log in at ",[14,334,130],{"href":129},[64,336,337,338],{},"Click ",[39,339,340],{},"Create → Droplets",[64,342,343,344],{},"Choose your configuration:\n",[61,345,346,352,358,364],{},[64,347,348,351],{},[39,349,350],{},"Region:"," Pick something geographically close to you (e.g. London or Singapore)",[64,353,354,357],{},[39,355,356],{},"Image:"," Ubuntu 24.04 LTS",[64,359,360,363],{},[39,361,362],{},"Size:"," Regular (shared CPU), 2GB \u002F 1 vCPU (~£10\u002Fmo) is plenty. The AI runs in the cloud; the VPS just needs to run the CLI and Syncthing",[64,365,366,369],{},[39,367,368],{},"Authentication:"," SSH Key (we'll set this up next)",[64,371,372,373,376],{},"Give it a hostname like ",[143,374,375],{},"openclaw"," and create it",[64,378,379],{},"Note the public IP address once it's provisioned",[147,381,383],{"id":382},"initial-server-hardening","Initial server hardening",[10,385,386],{},"Once you can SSH in, do the basics:",[136,388,390],{"className":171,"code":389,"language":173,"meta":145,"style":145},"# Update everything\napt update && apt upgrade -y\n\n# Create a non-root user (replace \u003Cyour_user> with your username)\nadduser \u003Cyour_user>\nusermod -aG sudo \u003Cyour_user>\n\n# Copy your SSH key to the new user\nmkdir -p \u002Fhome\u002F\u003Cyour_user>\u002F.ssh\ncp ~\u002F.ssh\u002Fauthorized_keys \u002Fhome\u002F\u003Cyour_user>\u002F.ssh\u002Fauthorized_keys\nchown -R \u003Cyour_user>:\u003Cyour_user> \u002Fhome\u002F\u003Cyour_user>\u002F.ssh\nchmod 700 \u002Fhome\u002F\u003Cyour_user>\u002F.ssh\nchmod 600 \u002Fhome\u002F\u003Cyour_user>\u002F.ssh\u002Fauthorized_keys\n\n# Disable root login and password auth\nsed -i 's\u002F^#*PermitRootLogin.*\u002FPermitRootLogin no\u002F' \u002Fetc\u002Fssh\u002Fsshd_config\nsed -i 's\u002F^#*PasswordAuthentication.*\u002FPasswordAuthentication no\u002F' \u002Fetc\u002Fssh\u002Fsshd_config\nsystemctl restart sshd\n",[143,391,392,397,417,421,426,443,461,465,470,494,515,555,576,596,601,607,622,634],{"__ignoreMap":145},[177,393,394],{"class":179,"line":180},[177,395,396],{"class":183},"# Update everything\n",[177,398,399,402,405,409,411,414],{"class":179,"line":187},[177,400,401],{"class":190},"apt",[177,403,404],{"class":198}," update",[177,406,408],{"class":407},"s95oV"," && ",[177,410,401],{"class":190},[177,412,413],{"class":198}," upgrade",[177,415,416],{"class":194}," -y\n",[177,418,419],{"class":179,"line":218},[177,420,240],{"emptyLinePlaceholder":239},[177,422,423],{"class":179,"line":236},[177,424,425],{"class":183},"# Create a non-root user (replace \u003Cyour_user> with your username)\n",[177,427,428,431,434,437,440],{"class":179,"line":243},[177,429,430],{"class":190},"adduser",[177,432,433],{"class":202}," \u003C",[177,435,436],{"class":198},"your_use",[177,438,439],{"class":407},"r",[177,441,442],{"class":202},">\n",[177,444,445,448,451,453,455,457,459],{"class":179,"line":249},[177,446,447],{"class":190},"usermod",[177,449,450],{"class":194}," -aG",[177,452,206],{"class":198},[177,454,433],{"class":202},[177,456,436],{"class":198},[177,458,439],{"class":407},[177,460,442],{"class":202},[177,462,463],{"class":179,"line":255},[177,464,240],{"emptyLinePlaceholder":239},[177,466,467],{"class":179,"line":271},[177,468,469],{"class":183},"# Copy your SSH key to the new user\n",[177,471,472,475,478,481,484,486,488,491],{"class":179,"line":276},[177,473,474],{"class":190},"mkdir",[177,476,477],{"class":194}," -p",[177,479,480],{"class":198}," \u002Fhome\u002F",[177,482,483],{"class":202},"\u003C",[177,485,436],{"class":198},[177,487,439],{"class":407},[177,489,490],{"class":202},">",[177,492,493],{"class":198},"\u002F.ssh\n",[177,495,496,499,502,504,506,508,510,512],{"class":179,"line":282},[177,497,498],{"class":190},"cp",[177,500,501],{"class":198}," ~\u002F.ssh\u002Fauthorized_keys",[177,503,480],{"class":198},[177,505,483],{"class":202},[177,507,436],{"class":198},[177,509,439],{"class":407},[177,511,490],{"class":202},[177,513,514],{"class":198},"\u002F.ssh\u002Fauthorized_keys\n",[177,516,518,521,524,526,528,530,532,535,537,539,541,543,545,547,549,551,553],{"class":179,"line":517},11,[177,519,520],{"class":190},"chown",[177,522,523],{"class":194}," -R",[177,525,433],{"class":202},[177,527,436],{"class":198},[177,529,439],{"class":407},[177,531,490],{"class":202},[177,533,534],{"class":198},":",[177,536,483],{"class":202},[177,538,436],{"class":198},[177,540,439],{"class":407},[177,542,490],{"class":202},[177,544,480],{"class":198},[177,546,483],{"class":202},[177,548,436],{"class":198},[177,550,439],{"class":407},[177,552,490],{"class":202},[177,554,493],{"class":198},[177,556,558,561,564,566,568,570,572,574],{"class":179,"line":557},12,[177,559,560],{"class":190},"chmod",[177,562,563],{"class":194}," 700",[177,565,480],{"class":198},[177,567,483],{"class":202},[177,569,436],{"class":198},[177,571,439],{"class":407},[177,573,490],{"class":202},[177,575,493],{"class":198},[177,577,579,581,584,586,588,590,592,594],{"class":179,"line":578},13,[177,580,560],{"class":190},[177,582,583],{"class":194}," 600",[177,585,480],{"class":198},[177,587,483],{"class":202},[177,589,436],{"class":198},[177,591,439],{"class":407},[177,593,490],{"class":202},[177,595,514],{"class":198},[177,597,599],{"class":179,"line":598},14,[177,600,240],{"emptyLinePlaceholder":239},[177,602,604],{"class":179,"line":603},15,[177,605,606],{"class":183},"# Disable root login and password auth\n",[177,608,610,613,616,619],{"class":179,"line":609},16,[177,611,612],{"class":190},"sed",[177,614,615],{"class":194}," -i",[177,617,618],{"class":198}," 's\u002F^#*PermitRootLogin.*\u002FPermitRootLogin no\u002F'",[177,620,621],{"class":198}," \u002Fetc\u002Fssh\u002Fsshd_config\n",[177,623,625,627,629,632],{"class":179,"line":624},17,[177,626,612],{"class":190},[177,628,615],{"class":194},[177,630,631],{"class":198}," 's\u002F^#*PasswordAuthentication.*\u002FPasswordAuthentication no\u002F'",[177,633,621],{"class":198},[177,635,637,640,643],{"class":179,"line":636},18,[177,638,639],{"class":190},"systemctl",[177,641,642],{"class":198}," restart",[177,644,645],{"class":198}," sshd\n",[147,647,649],{"id":648},"install-nodejs","Install Node.js",[10,651,652],{},"OpenClaw requires Node.js:",[136,654,656],{"className":171,"code":655,"language":173,"meta":145,"style":145},"curl -fsSL https:\u002F\u002Fdeb.nodesource.com\u002Fsetup_22.x | sudo -E bash -\nsudo apt install -y nodejs\nnode --version  # confirm v22+\n",[143,657,658,676,688],{"__ignoreMap":145},[177,659,660,662,664,666,668,670,672,674],{"class":179,"line":180},[177,661,191],{"class":190},[177,663,195],{"class":194},[177,665,199],{"class":198},[177,667,203],{"class":202},[177,669,206],{"class":190},[177,671,209],{"class":194},[177,673,212],{"class":198},[177,675,215],{"class":198},[177,677,678,680,682,684,686],{"class":179,"line":187},[177,679,221],{"class":190},[177,681,224],{"class":198},[177,683,227],{"class":198},[177,685,230],{"class":194},[177,687,233],{"class":198},[177,689,690,693,696],{"class":179,"line":218},[177,691,692],{"class":190},"node",[177,694,695],{"class":194}," --version",[177,697,698],{"class":183},"  # confirm v22+\n",[147,700,702],{"id":701},"install-openclaw","Install OpenClaw",[704,705],"terminal-demo",{":lines":706,"eyebrow":707,"headline":708},"[{\"prompt\":\"$\",\"content\":\"npm install -g openclaw\",\"variant\":\"input\"},{\"content\":\"added 142 packages in 18s\",\"variant\":\"output\"},{\"content\":\"✓ openclaw 0.4.2 installed to \u002Fusr\u002Flocal\u002Fbin\u002Fopenclaw\",\"variant\":\"highlight\"},{\"prompt\":\"$\",\"content\":\"openclaw onboard\",\"variant\":\"input\"},{\"content\":\"Welcome to OpenClaw. Configuring agent...\",\"variant\":\"output\"},{\"content\":\"? Project name: my-vps-agent\",\"variant\":\"output\"},{\"content\":\"? Default model: claude-sonnet-4\",\"variant\":\"output\"},{\"content\":\"✓ Config written to ~\u002F.openclaw\u002Fopenclaw.json\",\"variant\":\"highlight\"}]","OPENCLAW INSTALL · 30 SECONDS","Two commands, one *agent*.",[10,710,711,712,717],{},"Check the ",[14,713,716],{"href":714,"rel":715},"https:\u002F\u002Fdocs.openclaw.ai\u002F",[33],"OpenClaw documentation"," for configuration options.",[317,719],{},[53,721,723],{"id":722},"_2-tailscale-vpn-setup","2. Tailscale VPN setup",[10,725,726],{},"Tailscale gives you a private, encrypted mesh network between your devices. No need to expose SSH to the public internet.",[147,728,730],{"id":729},"install-on-the-vps","Install on the VPS",[136,732,734],{"className":171,"code":733,"language":173,"meta":145,"style":145},"curl -fsSL https:\u002F\u002Ftailscale.com\u002Finstall.sh | sh\nsudo tailscale up\n",[143,735,736,750],{"__ignoreMap":145},[177,737,738,740,742,745,747],{"class":179,"line":180},[177,739,191],{"class":190},[177,741,195],{"class":194},[177,743,744],{"class":198}," https:\u002F\u002Ftailscale.com\u002Finstall.sh",[177,746,203],{"class":202},[177,748,749],{"class":190}," sh\n",[177,751,752,754,757],{"class":179,"line":187},[177,753,221],{"class":190},[177,755,756],{"class":198}," tailscale",[177,758,759],{"class":198}," up\n",[10,761,762],{},"This prints an auth URL. Open it, log in to your Tailscale account (or create one), and authorise the device.",[147,764,766],{"id":765},"install-on-your-mac","Install on your Mac",[136,768,770],{"className":171,"code":769,"language":173,"meta":145,"style":145},"# Via Homebrew\nbrew install --cask tailscale\n\n# Or download from https:\u002F\u002Ftailscale.com\u002Fdownload\u002Fmac\n",[143,771,772,777,790,794],{"__ignoreMap":145},[177,773,774],{"class":179,"line":180},[177,775,776],{"class":183},"# Via Homebrew\n",[177,778,779,782,784,787],{"class":179,"line":187},[177,780,781],{"class":190},"brew",[177,783,227],{"class":198},[177,785,786],{"class":194}," --cask",[177,788,789],{"class":198}," tailscale\n",[177,791,792],{"class":179,"line":218},[177,793,240],{"emptyLinePlaceholder":239},[177,795,796],{"class":179,"line":236},[177,797,798],{"class":183},"# Or download from https:\u002F\u002Ftailscale.com\u002Fdownload\u002Fmac\n",[10,800,801],{},"Open the Tailscale app, sign in with the same account, and connect.",[147,803,805],{"id":804},"verify-the-connection","Verify the connection",[136,807,809],{"className":171,"code":808,"language":173,"meta":145,"style":145},"# On your Mac, check both devices are visible\ntailscale status\n\n# You should see both your Mac and the VPS listed with their Tailscale IPs (100.x.x.x)\n",[143,810,811,816,824,828],{"__ignoreMap":145},[177,812,813],{"class":179,"line":180},[177,814,815],{"class":183},"# On your Mac, check both devices are visible\n",[177,817,818,821],{"class":179,"line":187},[177,819,820],{"class":190},"tailscale",[177,822,823],{"class":198}," status\n",[177,825,826],{"class":179,"line":218},[177,827,240],{"emptyLinePlaceholder":239},[177,829,830],{"class":179,"line":236},[177,831,832],{"class":183},"# You should see both your Mac and the VPS listed with their Tailscale IPs (100.x.x.x)\n",[147,834,836],{"id":835},"disable-key-expiry-recommended-for-servers","Disable key expiry (recommended for servers)",[10,838,839,840,534],{},"In the ",[14,841,844],{"href":842,"rel":843},"https:\u002F\u002Flogin.tailscale.com\u002Fadmin\u002Fmachines",[33],"Tailscale admin console",[328,846,847,850],{},[64,848,849],{},"Find your VPS machine",[64,851,852,853,856,857],{},"Click the ",[143,854,855],{},"..."," menu → ",[39,858,859],{},"Disable key expiry",[10,861,862],{},"This prevents the VPS from dropping off the network when the auth key expires.",[317,864],{},[53,866,868],{"id":867},"_3-ssh-key-setup-on-mac","3. SSH key setup on Mac",[147,870,872],{"id":871},"generate-a-key","Generate a key",[136,874,876],{"className":171,"code":875,"language":173,"meta":145,"style":145},"# Ed25519 is modern and preferred\nssh-keygen -t ed25519 -C \"your-email@example.com\"\n\n# Accept the default path (~\u002F.ssh\u002Fid_ed25519)\n# Set a passphrase (recommended)\n",[143,877,878,883,900,904,909],{"__ignoreMap":145},[177,879,880],{"class":179,"line":180},[177,881,882],{"class":183},"# Ed25519 is modern and preferred\n",[177,884,885,888,891,894,897],{"class":179,"line":187},[177,886,887],{"class":190},"ssh-keygen",[177,889,890],{"class":194}," -t",[177,892,893],{"class":198}," ed25519",[177,895,896],{"class":194}," -C",[177,898,899],{"class":198}," \"your-email@example.com\"\n",[177,901,902],{"class":179,"line":218},[177,903,240],{"emptyLinePlaceholder":239},[177,905,906],{"class":179,"line":236},[177,907,908],{"class":183},"# Accept the default path (~\u002F.ssh\u002Fid_ed25519)\n",[177,910,911],{"class":179,"line":243},[177,912,913],{"class":183},"# Set a passphrase (recommended)\n",[147,915,917],{"id":916},"add-the-public-key-to-digitalocean","Add the public key to DigitalOcean",[10,919,920],{},"Either:",[61,922,923,933],{},[64,924,925,928,929,932],{},[39,926,927],{},"During droplet creation:"," Paste the contents of ",[143,930,931],{},"~\u002F.ssh\u002Fid_ed25519.pub"," into the SSH key field",[64,934,935,938],{},[39,936,937],{},"After creation:"," Copy it to the server manually:",[136,940,942],{"className":171,"code":941,"language":173,"meta":145,"style":145},"ssh-copy-id -i ~\u002F.ssh\u002Fid_ed25519.pub root@\u003CDROPLET_PUBLIC_IP>\n",[143,943,944],{"__ignoreMap":145},[177,945,946,949,951,954,957,959,962,965],{"class":179,"line":180},[177,947,948],{"class":190},"ssh-copy-id",[177,950,615],{"class":194},[177,952,953],{"class":198}," ~\u002F.ssh\u002Fid_ed25519.pub",[177,955,956],{"class":198}," root@",[177,958,483],{"class":202},[177,960,961],{"class":198},"DROPLET_PUBLIC_I",[177,963,964],{"class":407},"P",[177,966,442],{"class":202},[147,968,970],{"id":969},"set-up-your-ssh-config","Set up your SSH config",[10,972,973,974,534],{},"Edit ",[143,975,976],{},"~\u002F.ssh\u002Fconfig",[136,978,981],{"className":979,"code":980,"language":141},[139],"Host openclaw\n    HostName 100.x.x.x  # Tailscale IP of your VPS\n    User \u003Cyour_user>\n    IdentityFile ~\u002F.ssh\u002Fid_ed25519\n",[143,982,980],{"__ignoreMap":145},[10,984,985,986,989],{},"Now you can just run ",[143,987,988],{},"ssh openclaw"," from anywhere on your Tailscale network.",[317,991],{},[53,993,995],{"id":994},"_4-accessing-via-tailscale-only","4. Accessing via Tailscale only",[10,997,998,999,1002],{},"Once both your Mac and the VPS are on Tailscale, ",[39,1000,1001],{},"stop using the public IP"," for SSH and use the Tailscale IP instead.",[147,1004,1006],{"id":1005},"lock-down-the-firewall","Lock down the firewall",[10,1008,1009],{},"On the VPS, restrict SSH to only Tailscale:",[136,1011,1013],{"className":171,"code":1012,"language":173,"meta":145,"style":145},"# Allow SSH only on the Tailscale interface\nsudo ufw default deny incoming\nsudo ufw default allow outgoing\nsudo ufw allow in on tailscale0 to any port 22\nsudo ufw enable\n",[143,1014,1015,1020,1036,1050,1079],{"__ignoreMap":145},[177,1016,1017],{"class":179,"line":180},[177,1018,1019],{"class":183},"# Allow SSH only on the Tailscale interface\n",[177,1021,1022,1024,1027,1030,1033],{"class":179,"line":187},[177,1023,221],{"class":190},[177,1025,1026],{"class":198}," ufw",[177,1028,1029],{"class":198}," default",[177,1031,1032],{"class":198}," deny",[177,1034,1035],{"class":198}," incoming\n",[177,1037,1038,1040,1042,1044,1047],{"class":179,"line":218},[177,1039,221],{"class":190},[177,1041,1026],{"class":198},[177,1043,1029],{"class":198},[177,1045,1046],{"class":198}," allow",[177,1048,1049],{"class":198}," outgoing\n",[177,1051,1052,1054,1056,1058,1061,1064,1067,1070,1073,1076],{"class":179,"line":236},[177,1053,221],{"class":190},[177,1055,1026],{"class":198},[177,1057,1046],{"class":198},[177,1059,1060],{"class":198}," in",[177,1062,1063],{"class":198}," on",[177,1065,1066],{"class":198}," tailscale0",[177,1068,1069],{"class":198}," to",[177,1071,1072],{"class":198}," any",[177,1074,1075],{"class":198}," port",[177,1077,1078],{"class":194}," 22\n",[177,1080,1081,1083,1085],{"class":179,"line":243},[177,1082,221],{"class":190},[177,1084,1026],{"class":198},[177,1086,1087],{"class":198}," enable\n",[10,1089,1090,1091,1095],{},"SSH is now ",[1092,1093,1094],"em",{},"only"," accessible through your Tailscale VPN, not from the public internet.",[147,1097,1099],{"id":1098},"magicdns-optional","MagicDNS (optional)",[10,1101,1102],{},"Tailscale's MagicDNS lets you use hostnames instead of IPs:",[136,1104,1106],{"className":171,"code":1105,"language":173,"meta":145,"style":145},"ssh \u003Cyour_user>@openclaw  # if your machine is named \"openclaw\" in Tailscale\n",[143,1107,1108],{"__ignoreMap":145},[177,1109,1110,1113,1115,1117,1119,1121,1124],{"class":179,"line":180},[177,1111,1112],{"class":190},"ssh",[177,1114,433],{"class":202},[177,1116,436],{"class":198},[177,1118,439],{"class":407},[177,1120,490],{"class":202},[177,1122,1123],{"class":198},"@openclaw",[177,1125,1126],{"class":183},"  # if your machine is named \"openclaw\" in Tailscale\n",[10,1128,1129,1130,35],{},"Enable it in the Tailscale admin console under ",[39,1131,1132],{},"DNS → MagicDNS",[317,1134],{},[53,1136,1138],{"id":1137},"_5-obsidian-setup","5. Obsidian setup",[10,1140,1141],{},"Obsidian is a markdown-based knowledge management tool. We'll use it to store conversation logs and project files from the agent.",[147,1143,1145],{"id":1144},"install-on-mac","Install on Mac",[10,1147,1148,1149,1154],{},"Download from ",[14,1150,1153],{"href":1151,"rel":1152},"https:\u002F\u002Fobsidian.md\u002F",[33],"obsidian.md"," or:",[136,1156,1158],{"className":171,"code":1157,"language":173,"meta":145,"style":145},"brew install --cask obsidian\n",[143,1159,1160],{"__ignoreMap":145},[177,1161,1162,1164,1166,1168],{"class":179,"line":180},[177,1163,781],{"class":190},[177,1165,227],{"class":198},[177,1167,786],{"class":194},[177,1169,1170],{"class":198}," obsidian\n",[147,1172,1174],{"id":1173},"create-your-vault","Create your vault",[328,1176,1177,1180,1189,1195],{},[64,1178,1179],{},"Open Obsidian",[64,1181,1182,1185,1186],{},[39,1183,1184],{},"Create new vault"," → name it something like ",[143,1187,1188],{},"openclaw-vault",[64,1190,1191,1192],{},"Choose a location, e.g. ",[143,1193,1194],{},"~\u002FDocuments\u002Fopenclaw-vault",[64,1196,1197],{},"This is where all your synced files will live",[147,1199,1201],{"id":1200},"recommended-vault-structure","Recommended vault structure",[136,1203,1206],{"className":1204,"code":1205,"language":141},[139],"openclaw-vault\u002F\n├── clawd\u002F              # ← synced from the server\n│   ├── projects\u002F\n│   ├── conversations\u002F\n│   └── memory\u002F\n├── notes\u002F              # Your own notes\n├── templates\u002F          # Obsidian templates\n└── README.md\n",[143,1207,1205],{"__ignoreMap":145},[317,1209],{},[53,1211,1213],{"id":1212},"_6-syncthing-bidirectional-vault-sync","6. Syncthing: bidirectional vault sync",[10,1215,1216],{},"Syncthing provides continuous, encrypted, peer-to-peer file sync. No cloud middleman.",[147,1218,730],{"id":1219},"install-on-the-vps-1",[136,1221,1223],{"className":171,"code":1222,"language":173,"meta":145,"style":145},"# Add the Syncthing repo\nsudo curl -o \u002Fusr\u002Fshare\u002Fkeyrings\u002Fsyncthing-archive-keyring.gpg \\\n  https:\u002F\u002Fsyncthing.net\u002Frelease-key.gpg\n\necho \"deb [signed-by=\u002Fusr\u002Fshare\u002Fkeyrings\u002Fsyncthing-archive-keyring.gpg] \\\n  https:\u002F\u002Fapt.syncthing.net\u002F syncthing stable\" | \\\n  sudo tee \u002Fetc\u002Fapt\u002Fsources.list.d\u002Fsyncthing.list\n\nsudo apt update\nsudo apt install -y syncthing\n",[143,1224,1225,1230,1246,1251,1255,1266,1275,1286,1290,1299],{"__ignoreMap":145},[177,1226,1227],{"class":179,"line":180},[177,1228,1229],{"class":183},"# Add the Syncthing repo\n",[177,1231,1232,1234,1237,1240,1243],{"class":179,"line":187},[177,1233,221],{"class":190},[177,1235,1236],{"class":198}," curl",[177,1238,1239],{"class":194}," -o",[177,1241,1242],{"class":198}," \u002Fusr\u002Fshare\u002Fkeyrings\u002Fsyncthing-archive-keyring.gpg",[177,1244,1245],{"class":194}," \\\n",[177,1247,1248],{"class":179,"line":218},[177,1249,1250],{"class":198},"  https:\u002F\u002Fsyncthing.net\u002Frelease-key.gpg\n",[177,1252,1253],{"class":179,"line":236},[177,1254,240],{"emptyLinePlaceholder":239},[177,1256,1257,1260,1263],{"class":179,"line":243},[177,1258,1259],{"class":194},"echo",[177,1261,1262],{"class":198}," \"deb [signed-by=\u002Fusr\u002Fshare\u002Fkeyrings\u002Fsyncthing-archive-keyring.gpg] ",[177,1264,1265],{"class":194},"\\\n",[177,1267,1268,1271,1273],{"class":179,"line":249},[177,1269,1270],{"class":198},"  https:\u002F\u002Fapt.syncthing.net\u002F syncthing stable\"",[177,1272,203],{"class":202},[177,1274,1245],{"class":194},[177,1276,1277,1280,1283],{"class":179,"line":255},[177,1278,1279],{"class":190},"  sudo",[177,1281,1282],{"class":198}," tee",[177,1284,1285],{"class":198}," \u002Fetc\u002Fapt\u002Fsources.list.d\u002Fsyncthing.list\n",[177,1287,1288],{"class":179,"line":271},[177,1289,240],{"emptyLinePlaceholder":239},[177,1291,1292,1294,1296],{"class":179,"line":276},[177,1293,221],{"class":190},[177,1295,224],{"class":198},[177,1297,1298],{"class":198}," update\n",[177,1300,1301,1303,1305,1307,1309],{"class":179,"line":282},[177,1302,221],{"class":190},[177,1304,224],{"class":198},[177,1306,227],{"class":198},[177,1308,230],{"class":194},[177,1310,1311],{"class":198}," syncthing\n",[147,1313,1315],{"id":1314},"run-as-a-systemd-service","Run as a systemd service",[136,1317,1319],{"className":171,"code":1318,"language":173,"meta":145,"style":145},"# Enable and start for your user\nsudo systemctl enable syncthing@\u003Cyour_user>\nsudo systemctl start syncthing@\u003Cyour_user>\n\n# Check it's running\nsystemctl status syncthing@\u003Cyour_user>\n",[143,1320,1321,1326,1347,1366,1370,1375],{"__ignoreMap":145},[177,1322,1323],{"class":179,"line":180},[177,1324,1325],{"class":183},"# Enable and start for your user\n",[177,1327,1328,1330,1333,1336,1339,1341,1343,1345],{"class":179,"line":187},[177,1329,221],{"class":190},[177,1331,1332],{"class":198}," systemctl",[177,1334,1335],{"class":198}," enable",[177,1337,1338],{"class":198}," syncthing@",[177,1340,483],{"class":202},[177,1342,436],{"class":198},[177,1344,439],{"class":407},[177,1346,442],{"class":202},[177,1348,1349,1351,1353,1356,1358,1360,1362,1364],{"class":179,"line":218},[177,1350,221],{"class":190},[177,1352,1332],{"class":198},[177,1354,1355],{"class":198}," start",[177,1357,1338],{"class":198},[177,1359,483],{"class":202},[177,1361,436],{"class":198},[177,1363,439],{"class":407},[177,1365,442],{"class":202},[177,1367,1368],{"class":179,"line":236},[177,1369,240],{"emptyLinePlaceholder":239},[177,1371,1372],{"class":179,"line":243},[177,1373,1374],{"class":183},"# Check it's running\n",[177,1376,1377,1379,1382,1384,1386,1388,1390],{"class":179,"line":249},[177,1378,639],{"class":190},[177,1380,1381],{"class":198}," status",[177,1383,1338],{"class":198},[177,1385,483],{"class":202},[177,1387,436],{"class":198},[177,1389,439],{"class":407},[177,1391,442],{"class":202},[147,1393,1145],{"id":1394},"install-on-mac-1",[136,1396,1398],{"className":171,"code":1397,"language":173,"meta":145,"style":145},"brew install syncthing\nbrew services start syncthing\n",[143,1399,1400,1408],{"__ignoreMap":145},[177,1401,1402,1404,1406],{"class":179,"line":180},[177,1403,781],{"class":190},[177,1405,227],{"class":198},[177,1407,1311],{"class":198},[177,1409,1410,1412,1415,1417],{"class":179,"line":187},[177,1411,781],{"class":190},[177,1413,1414],{"class":198}," services",[177,1416,1355],{"class":198},[177,1418,1311],{"class":198},[147,1420,1422],{"id":1421},"access-the-syncthing-web-ui","Access the Syncthing web UI",[10,1424,1425,1426,35],{},"On your Mac, Syncthing's UI runs at ",[143,1427,1428],{},"http:\u002F\u002F127.0.0.1:8384",[10,1430,1431],{},"For the VPS, access it via SSH tunnel:",[136,1433,1435],{"className":171,"code":1434,"language":173,"meta":145,"style":145},"ssh -L 8385:localhost:8384 openclaw\n",[143,1436,1437],{"__ignoreMap":145},[177,1438,1439,1441,1444,1447],{"class":179,"line":180},[177,1440,1112],{"class":190},[177,1442,1443],{"class":194}," -L",[177,1445,1446],{"class":198}," 8385:localhost:8384",[177,1448,1449],{"class":198}," openclaw\n",[10,1451,1452,1453,1456],{},"Then open ",[143,1454,1455],{},"http:\u002F\u002F127.0.0.1:8385"," in your browser.",[147,1458,1460],{"id":1459},"connect-the-devices","Connect the devices",[328,1462,1463,1474,1484],{},[64,1464,1465,1466,1469,1470,1473],{},"On the ",[39,1467,1468],{},"Mac's"," Syncthing UI: go to ",[39,1471,1472],{},"Actions → Show ID"," and copy the device ID",[64,1475,1465,1476,1479,1480,1483],{},[39,1477,1478],{},"VPS's"," Syncthing UI: click ",[39,1481,1482],{},"Add Remote Device"," and paste the Mac's device ID",[64,1485,1486],{},"Accept the pairing on both sides",[147,1488,1490],{"id":1489},"share-the-obsidian-vault-folder","Share the Obsidian vault folder",[328,1492,1493,1524],{},[64,1494,1465,1495,1479,1497,1500],{},[39,1496,1468],{},[39,1498,1499],{},"Add Folder",[61,1501,1502,1510,1518],{},[64,1503,1504,1507,1508],{},[39,1505,1506],{},"Folder Path:"," ",[143,1509,1194],{},[64,1511,1512,1507,1515,1517],{},[39,1513,1514],{},"Folder ID:",[143,1516,1188],{}," (must match on both sides)",[64,1519,1520,1523],{},[39,1521,1522],{},"Share with:"," your VPS device",[64,1525,1465,1526,1529,1530],{},[39,1527,1528],{},"VPS",", accept the incoming folder share",[61,1531,1532],{},[64,1533,1534,1535],{},"Set the folder path to ",[143,1536,1537],{},"\u002Fhome\u002F\u003Cyour_user>\u002Fopenclaw-vault",[147,1539,1541],{"id":1540},"verify-sync","Verify sync",[10,1543,1544],{},"Create a test file on your Mac:",[136,1546,1548],{"className":171,"code":1547,"language":173,"meta":145,"style":145},"echo \"sync test\" > ~\u002FDocuments\u002Fopenclaw-vault\u002Ftest.md\n",[143,1549,1550],{"__ignoreMap":145},[177,1551,1552,1554,1557,1560],{"class":179,"line":180},[177,1553,1259],{"class":194},[177,1555,1556],{"class":198}," \"sync test\"",[177,1558,1559],{"class":202}," >",[177,1561,1562],{"class":198}," ~\u002FDocuments\u002Fopenclaw-vault\u002Ftest.md\n",[10,1564,1565],{},"After a few seconds, check on the VPS:",[136,1567,1569],{"className":171,"code":1568,"language":173,"meta":145,"style":145},"cat ~\u002Fopenclaw-vault\u002Ftest.md\n# Should show \"sync test\"\n",[143,1570,1571,1579],{"__ignoreMap":145},[177,1572,1573,1576],{"class":179,"line":180},[177,1574,1575],{"class":190},"cat",[177,1577,1578],{"class":198}," ~\u002Fopenclaw-vault\u002Ftest.md\n",[177,1580,1581],{"class":179,"line":187},[177,1582,1583],{"class":183},"# Should show \"sync test\"\n",[147,1585,1587],{"id":1586},"syncthing-ignore-patterns","Syncthing ignore patterns",[10,1589,1590,1591,1594],{},"Create a ",[143,1592,1593],{},".stignore"," file in the vault root to skip files you don't need synced:",[136,1596,1599],{"className":1597,"code":1598,"language":141},[139],"\u002F\u002F .stignore\n.obsidian\u002Fworkspace.json\n.obsidian\u002Fworkspace-mobile.json\n.DS_Store\n*.tmp\n",[143,1600,1598],{"__ignoreMap":145},[147,1602,1604],{"id":1603},"multiple-shared-folders","Multiple shared folders",[10,1606,1607,1608,1611,1612,1615],{},"Once Syncthing is working for the vault, it's trivial to add more folders. I run two: ",[143,1609,1610],{},"obsidian-vault"," for knowledge\u002Fnotes and ",[143,1613,1614],{},"media-output"," for agent-generated media (video\u002Faudio\u002Fimages) so I can review them on my Mac without SSH'ing in.",[10,1617,1618,1619,1622],{},"The same Add Folder dialog handles this. Give each folder a unique ID and keep the scope tight — syncing an entire ",[143,1620,1621],{},"$HOME"," is asking for lock conflicts and 20 GB of node_modules churning through Syncthing's hashing pipeline.",[317,1624],{},[53,1626,1628],{"id":1627},"_7-link-openclaw-to-your-vault","7. Link OpenClaw to your vault",[10,1630,1631],{},"Configure OpenClaw to write directly into the synced vault.",[147,1633,1635],{"id":1634},"option-a-direct-path-recommended","Option A: Direct path (recommended)",[10,1637,1638],{},"Set your clawd working directory to be inside the vault:",[136,1640,1642],{"className":171,"code":1641,"language":173,"meta":145,"style":145},"# OpenClaw writes directly to the vault\nmkdir -p \u002Fhome\u002F\u003Cyour_user>\u002Fopenclaw-vault\u002Fclawd\n\n# Set this path as workspace in your openclaw config\n# agents.defaults.workspace in ~\u002F.openclaw\u002Fopenclaw.json\n",[143,1643,1644,1649,1668,1672,1677],{"__ignoreMap":145},[177,1645,1646],{"class":179,"line":180},[177,1647,1648],{"class":183},"# OpenClaw writes directly to the vault\n",[177,1650,1651,1653,1655,1657,1659,1661,1663,1665],{"class":179,"line":187},[177,1652,474],{"class":190},[177,1654,477],{"class":194},[177,1656,480],{"class":198},[177,1658,483],{"class":202},[177,1660,436],{"class":198},[177,1662,439],{"class":407},[177,1664,490],{"class":202},[177,1666,1667],{"class":198},"\u002Fopenclaw-vault\u002Fclawd\n",[177,1669,1670],{"class":179,"line":218},[177,1671,240],{"emptyLinePlaceholder":239},[177,1673,1674],{"class":179,"line":236},[177,1675,1676],{"class":183},"# Set this path as workspace in your openclaw config\n",[177,1678,1679],{"class":179,"line":243},[177,1680,1681],{"class":183},"# agents.defaults.workspace in ~\u002F.openclaw\u002Fopenclaw.json\n",[147,1683,1685],{"id":1684},"option-b-symlink","Option B: Symlink",[10,1687,1688],{},"If you prefer keeping clawd in its own location:",[136,1690,1692],{"className":171,"code":1691,"language":173,"meta":145,"style":145},"mkdir -p \u002Fhome\u002F\u003Cyour_user>\u002Fclawd\nln -s \u002Fhome\u002F\u003Cyour_user>\u002Fclawd \u002Fhome\u002F\u003Cyour_user>\u002Fopenclaw-vault\u002Fclawd\n",[143,1693,1694,1713],{"__ignoreMap":145},[177,1695,1696,1698,1700,1702,1704,1706,1708,1710],{"class":179,"line":180},[177,1697,474],{"class":190},[177,1699,477],{"class":194},[177,1701,480],{"class":198},[177,1703,483],{"class":202},[177,1705,436],{"class":198},[177,1707,439],{"class":407},[177,1709,490],{"class":202},[177,1711,1712],{"class":198},"\u002Fclawd\n",[177,1714,1715,1718,1721,1723,1725,1727,1729,1731,1734,1736,1738,1740,1742,1744],{"class":179,"line":187},[177,1716,1717],{"class":190},"ln",[177,1719,1720],{"class":194}," -s",[177,1722,480],{"class":198},[177,1724,483],{"class":202},[177,1726,436],{"class":198},[177,1728,439],{"class":407},[177,1730,490],{"class":202},[177,1732,1733],{"class":198},"\u002Fclawd",[177,1735,480],{"class":198},[177,1737,483],{"class":202},[177,1739,436],{"class":198},[177,1741,439],{"class":407},[177,1743,490],{"class":202},[177,1745,1667],{"class":198},[10,1747,1748,1751,1752,35],{},[39,1749,1750],{},"Note:"," If using symlinks, enable \"Follow Symlinks\" in Syncthing's folder settings under ",[39,1753,1754],{},"Advanced",[147,1756,1758],{"id":1757},"what-this-gives-you","What this gives you",[10,1760,1761],{},"Once wired up:",[61,1763,1764,1769,1774,1779],{},[64,1765,1766,1768],{},[39,1767,34],{}," writes files, logs, and project data to the vault",[64,1770,1771,1773],{},[39,1772,80],{}," picks up changes and syncs them to your Mac",[64,1775,1776,1778],{},[39,1777,86],{}," on your Mac sees everything with full markdown rendering",[64,1780,1781],{},"Changes flow both ways: add notes in Obsidian and they sync back to the server",[317,1783],{},[53,1785,1787],{"id":1786},"_8-secure-web-access-with-tailscale-serve","8. Secure web access with Tailscale Serve",[10,1789,1790],{},"OpenClaw has a web interface. Instead of exposing it to the public internet, use Tailscale Serve to make it accessible only within your Tailscale network.",[147,1792,1794],{"id":1793},"why-tailscale-serve","Why Tailscale Serve?",[10,1796,1797,1798,1802],{},"I've written a deeper dive on ",[14,1799,1801],{"href":1800},"\u002Fblog\u002Ftailscale-serve-zero-trust-services\u002F","using Tailscale Serve for zero-trust service exposure",". The short version:",[61,1804,1805,1808,1815],{},[64,1806,1807],{},"Services only accessible from devices on your Tailscale network",[64,1809,1810,1811,1814],{},"Automatic HTTPS with valid certificates for your ",[143,1812,1813],{},"*.ts.net"," domain",[64,1816,1817],{},"Works through NATs and firewalls without port forwarding",[147,1819,1821],{"id":1820},"set-up-tailscale-serve","Set up Tailscale Serve",[10,1823,1824],{},"On the VPS, expose the OpenClaw gateway (default port 18789):",[136,1826,1828],{"className":171,"code":1827,"language":173,"meta":145,"style":145},"# Serve the gateway over HTTPS on your Tailscale network\nsudo tailscale serve --bg https \u002F http:\u002F\u002Flocalhost:18789\n",[143,1829,1830,1835],{"__ignoreMap":145},[177,1831,1832],{"class":179,"line":180},[177,1833,1834],{"class":183},"# Serve the gateway over HTTPS on your Tailscale network\n",[177,1836,1837,1839,1841,1844,1847,1850,1853],{"class":179,"line":187},[177,1838,221],{"class":190},[177,1840,756],{"class":198},[177,1842,1843],{"class":198}," serve",[177,1845,1846],{"class":194}," --bg",[177,1848,1849],{"class":198}," https",[177,1851,1852],{"class":198}," \u002F",[177,1854,1855],{"class":198}," http:\u002F\u002Flocalhost:18789\n",[10,1857,1858,1859,35],{},"This makes the service available at ",[143,1860,1861],{},"https:\u002F\u002F\u003Cyour-vps-hostname>.\u003Ctailnet-name>.ts.net\u002F",[147,1863,1865],{"id":1864},"exposing-multiple-services","Exposing multiple services",[10,1867,1868],{},"In practice, the VPS ends up hosting more than just OpenClaw. Mine currently serves the gateway, a workstream dashboard (Agent Control Center), Syncthing, an AI pipeline UI, and a lead-gen dashboard — all reachable only from my tailnet.",[136,1870,1872],{"className":171,"code":1871,"language":173,"meta":145,"style":145},"# OpenClaw gateway on \u002F\nsudo tailscale serve --bg https \u002F http:\u002F\u002Flocalhost:18789\n\n# Syncthing UI on a separate port\nsudo tailscale serve --bg --https=8384 http:\u002F\u002Flocalhost:8384\n\n# Agent Control Center (workstream dashboard)\nsudo tailscale serve --bg --https=1337 http:\u002F\u002Flocalhost:1337\nsudo tailscale serve --bg --https=1338 http:\u002F\u002Flocalhost:1338  # API\n\n# AI pipeline dashboard + API\nsudo tailscale serve --bg --https=5173 http:\u002F\u002Flocalhost:5173\nsudo tailscale serve --bg --https=3001 http:\u002F\u002Flocalhost:3001\n",[143,1873,1874,1879,1895,1899,1904,1920,1924,1929,1945,1964,1968,1973,1989],{"__ignoreMap":145},[177,1875,1876],{"class":179,"line":180},[177,1877,1878],{"class":183},"# OpenClaw gateway on \u002F\n",[177,1880,1881,1883,1885,1887,1889,1891,1893],{"class":179,"line":187},[177,1882,221],{"class":190},[177,1884,756],{"class":198},[177,1886,1843],{"class":198},[177,1888,1846],{"class":194},[177,1890,1849],{"class":198},[177,1892,1852],{"class":198},[177,1894,1855],{"class":198},[177,1896,1897],{"class":179,"line":218},[177,1898,240],{"emptyLinePlaceholder":239},[177,1900,1901],{"class":179,"line":236},[177,1902,1903],{"class":183},"# Syncthing UI on a separate port\n",[177,1905,1906,1908,1910,1912,1914,1917],{"class":179,"line":243},[177,1907,221],{"class":190},[177,1909,756],{"class":198},[177,1911,1843],{"class":198},[177,1913,1846],{"class":194},[177,1915,1916],{"class":194}," --https=8384",[177,1918,1919],{"class":198}," http:\u002F\u002Flocalhost:8384\n",[177,1921,1922],{"class":179,"line":249},[177,1923,240],{"emptyLinePlaceholder":239},[177,1925,1926],{"class":179,"line":255},[177,1927,1928],{"class":183},"# Agent Control Center (workstream dashboard)\n",[177,1930,1931,1933,1935,1937,1939,1942],{"class":179,"line":271},[177,1932,221],{"class":190},[177,1934,756],{"class":198},[177,1936,1843],{"class":198},[177,1938,1846],{"class":194},[177,1940,1941],{"class":194}," --https=1337",[177,1943,1944],{"class":198}," http:\u002F\u002Flocalhost:1337\n",[177,1946,1947,1949,1951,1953,1955,1958,1961],{"class":179,"line":276},[177,1948,221],{"class":190},[177,1950,756],{"class":198},[177,1952,1843],{"class":198},[177,1954,1846],{"class":194},[177,1956,1957],{"class":194}," --https=1338",[177,1959,1960],{"class":198}," http:\u002F\u002Flocalhost:1338",[177,1962,1963],{"class":183},"  # API\n",[177,1965,1966],{"class":179,"line":282},[177,1967,240],{"emptyLinePlaceholder":239},[177,1969,1970],{"class":179,"line":517},[177,1971,1972],{"class":183},"# AI pipeline dashboard + API\n",[177,1974,1975,1977,1979,1981,1983,1986],{"class":179,"line":557},[177,1976,221],{"class":190},[177,1978,756],{"class":198},[177,1980,1843],{"class":198},[177,1982,1846],{"class":194},[177,1984,1985],{"class":194}," --https=5173",[177,1987,1988],{"class":198}," http:\u002F\u002Flocalhost:5173\n",[177,1990,1991,1993,1995,1997,1999,2002],{"class":179,"line":578},[177,1992,221],{"class":190},[177,1994,756],{"class":198},[177,1996,1843],{"class":198},[177,1998,1846],{"class":194},[177,2000,2001],{"class":194}," --https=3001",[177,2003,2004],{"class":198}," http:\u002F\u002Flocalhost:3001\n",[147,2006,2008],{"id":2007},"check-running-services","Check running services",[136,2010,2012],{"className":171,"code":2011,"language":173,"meta":145,"style":145},"tailscale serve status\n",[143,2013,2014],{"__ignoreMap":145},[177,2015,2016,2018,2020],{"class":179,"line":180},[177,2017,820],{"class":190},[177,2019,1843],{"class":198},[177,2021,823],{"class":198},[147,2023,2025],{"id":2024},"access-from-any-device","Access from any device",[10,2027,2028],{},"Once configured, access your services from any device on your Tailscale network:",[61,2030,2031,2041],{},[64,2032,2033,2036,2037,2040],{},[39,2034,2035],{},"Mac\u002FPC:"," Open ",[143,2038,2039],{},"https:\u002F\u002Fopenclaw.\u003Cyour-tailnet>.ts.net\u002F"," in browser",[64,2042,2043,2046],{},[39,2044,2045],{},"Mobile:"," Install Tailscale app, connect, then access the same URL",[147,2048,2050],{"id":2049},"security-notes","Security notes",[61,2052,2053,2056,2064],{},[64,2054,2055],{},"Only devices authenticated to your Tailscale network can access these URLs",[64,2057,2058,2059],{},"You can further restrict access using ",[14,2060,2063],{"href":2061,"rel":2062},"https:\u002F\u002Ftailscale.com\u002Fkb\u002F1018\u002Facls",[33],"Tailscale ACLs",[64,2065,2066],{},"No need to open any ports on your firewall",[317,2068],{},[53,2070,2072],{"id":2071},"_9-gateway-web-ui-and-device-pairing","9. Gateway web UI and device pairing",[10,2074,2075],{},"When you first visit the OpenClaw web UI, you might see \"disconnected (1008): pairing required\". The gateway needs to approve your browser as a trusted device.",[147,2077,2079],{"id":2078},"approve-your-browser","Approve your browser",[10,2081,2082],{},"On the VPS, check for pending device requests:",[136,2084,2086],{"className":171,"code":2085,"language":173,"meta":145,"style":145},"openclaw devices list\n",[143,2087,2088],{"__ignoreMap":145},[177,2089,2090,2092,2095],{"class":179,"line":180},[177,2091,375],{"class":190},[177,2093,2094],{"class":198}," devices",[177,2096,2097],{"class":198}," list\n",[10,2099,2100],{},"You'll see something like:",[136,2102,2105],{"className":2103,"code":2104,"language":141},[139],"Pending (1)\n┌──────────────────────────────────────┬────────────────────────────────────┬──────────┐\n│ Request                              │ Device                             │ Role     │\n├──────────────────────────────────────┼────────────────────────────────────┼──────────┤\n│ 44e05baf-ae0b-4a5f-b640-04195b8acca9 │ 2286fb5a55e891dcb8f6c8c76645c387...│ operator │\n└──────────────────────────────────────┴────────────────────────────────────┴──────────┘\n",[143,2106,2104],{"__ignoreMap":145},[10,2108,2109],{},"Approve it:",[136,2111,2113],{"className":171,"code":2112,"language":173,"meta":145,"style":145},"openclaw devices approve \u003Crequest-id>\n",[143,2114,2115],{"__ignoreMap":145},[177,2116,2117,2119,2121,2124,2126,2129,2132],{"class":179,"line":180},[177,2118,375],{"class":190},[177,2120,2094],{"class":198},[177,2122,2123],{"class":198}," approve",[177,2125,433],{"class":202},[177,2127,2128],{"class":198},"request-i",[177,2130,2131],{"class":407},"d",[177,2133,442],{"class":202},[10,2135,2136],{},"Refresh the browser and you should be connected.",[147,2138,2140],{"id":2139},"getting-your-gateway-token","Getting your gateway token",[10,2142,2143],{},"If the UI prompts for a token, find it in your config:",[136,2145,2147],{"className":171,"code":2146,"language":173,"meta":145,"style":145},"grep '\"token\"' ~\u002F.openclaw\u002Fopenclaw.json\n",[143,2148,2149],{"__ignoreMap":145},[177,2150,2151,2154,2157],{"class":179,"line":180},[177,2152,2153],{"class":190},"grep",[177,2155,2156],{"class":198}," '\"token\"'",[177,2158,2159],{"class":198}," ~\u002F.openclaw\u002Fopenclaw.json\n",[10,2161,2162,2163,2166,2167,35],{},"Or check ",[143,2164,2165],{},"~\u002F.openclaw\u002Fopenclaw.json"," under ",[143,2168,2169],{},"gateway.auth.token",[147,2171,2173],{"id":2172},"managing-devices","Managing devices",[136,2175,2177],{"className":171,"code":2176,"language":173,"meta":145,"style":145},"# List all devices (pending and paired)\nopenclaw devices list\n\n# Revoke a device\nopenclaw devices revoke \u003Cdevice-id>\n\n# Rotate a token\nopenclaw devices rotate \u003Crole>\n",[143,2178,2179,2184,2192,2196,2201,2219,2223,2228],{"__ignoreMap":145},[177,2180,2181],{"class":179,"line":180},[177,2182,2183],{"class":183},"# List all devices (pending and paired)\n",[177,2185,2186,2188,2190],{"class":179,"line":187},[177,2187,375],{"class":190},[177,2189,2094],{"class":198},[177,2191,2097],{"class":198},[177,2193,2194],{"class":179,"line":218},[177,2195,240],{"emptyLinePlaceholder":239},[177,2197,2198],{"class":179,"line":236},[177,2199,2200],{"class":183},"# Revoke a device\n",[177,2202,2203,2205,2207,2210,2212,2215,2217],{"class":179,"line":243},[177,2204,375],{"class":190},[177,2206,2094],{"class":198},[177,2208,2209],{"class":198}," revoke",[177,2211,433],{"class":202},[177,2213,2214],{"class":198},"device-i",[177,2216,2131],{"class":407},[177,2218,442],{"class":202},[177,2220,2221],{"class":179,"line":249},[177,2222,240],{"emptyLinePlaceholder":239},[177,2224,2225],{"class":179,"line":255},[177,2226,2227],{"class":183},"# Rotate a token\n",[177,2229,2230,2232,2234,2237,2239,2242,2245],{"class":179,"line":271},[177,2231,375],{"class":190},[177,2233,2094],{"class":198},[177,2235,2236],{"class":198}," rotate",[177,2238,433],{"class":202},[177,2240,2241],{"class":198},"rol",[177,2243,2244],{"class":407},"e",[177,2246,442],{"class":202},[317,2248],{},[53,2250,2252],{"id":2251},"a-couple-of-practical-extras","A couple of practical extras",[10,2254,2255],{},"Two small quality-of-life things that aren't required but you'll want eventually.",[10,2257,2258,2261],{},[39,2259,2260],{},"Keep long-running services alive with tmux."," Once you start running support services (dashboards, scrapers) alongside OpenClaw, use tmux so they don't die when you close your SSH session:",[136,2263,2265],{"className":171,"code":2264,"language":173,"meta":145,"style":145},"tmux new -s myservice  # start a named session\n# ... run your service ...\n# ctrl-b then d to detach\ntmux attach -t myservice  # come back later\n",[143,2266,2267,2283,2288,2293],{"__ignoreMap":145},[177,2268,2269,2272,2275,2277,2280],{"class":179,"line":180},[177,2270,2271],{"class":190},"tmux",[177,2273,2274],{"class":198}," new",[177,2276,1720],{"class":194},[177,2278,2279],{"class":198}," myservice",[177,2281,2282],{"class":183},"  # start a named session\n",[177,2284,2285],{"class":179,"line":187},[177,2286,2287],{"class":183},"# ... run your service ...\n",[177,2289,2290],{"class":179,"line":218},[177,2291,2292],{"class":183},"# ctrl-b then d to detach\n",[177,2294,2295,2297,2300,2302,2304],{"class":179,"line":236},[177,2296,2271],{"class":190},[177,2298,2299],{"class":198}," attach",[177,2301,890],{"class":194},[177,2303,2279],{"class":198},[177,2305,2306],{"class":183},"  # come back later\n",[10,2308,2309],{},"For anything you depend on, graduate to a systemd service. tmux is for development.",[10,2311,2312,2315,2316,2319],{},[39,2313,2314],{},"Let the agent use git without passphrase prompts."," Install ",[143,2317,2318],{},"keychain"," so an SSH key gets loaded once per login and stays available to every shell — including the ones OpenClaw spawns:",[136,2321,2323],{"className":171,"code":2322,"language":173,"meta":145,"style":145},"sudo apt install keychain\nssh-keygen -t ed25519 -f ~\u002F.ssh\u002Fdev_server_key\n\n# Add to ~\u002F.bashrc or ~\u002F.zshrc:\neval \"$(keychain --eval --quiet ~\u002F.ssh\u002Fdev_server_key)\"\n",[143,2324,2325,2336,2350,2354,2359],{"__ignoreMap":145},[177,2326,2327,2329,2331,2333],{"class":179,"line":180},[177,2328,221],{"class":190},[177,2330,224],{"class":198},[177,2332,227],{"class":198},[177,2334,2335],{"class":198}," keychain\n",[177,2337,2338,2340,2342,2344,2347],{"class":179,"line":187},[177,2339,887],{"class":190},[177,2341,890],{"class":194},[177,2343,893],{"class":198},[177,2345,2346],{"class":194}," -f",[177,2348,2349],{"class":198}," ~\u002F.ssh\u002Fdev_server_key\n",[177,2351,2352],{"class":179,"line":218},[177,2353,240],{"emptyLinePlaceholder":239},[177,2355,2356],{"class":179,"line":236},[177,2357,2358],{"class":183},"# Add to ~\u002F.bashrc or ~\u002F.zshrc:\n",[177,2360,2361,2364,2367,2369,2372,2375],{"class":179,"line":243},[177,2362,2363],{"class":194},"eval",[177,2365,2366],{"class":198}," \"$(",[177,2368,2318],{"class":190},[177,2370,2371],{"class":194}," --eval",[177,2373,2374],{"class":194}," --quiet",[177,2376,2377],{"class":198}," ~\u002F.ssh\u002Fdev_server_key)\"\n",[10,2379,2380,2381,2384,2385,2388],{},"Now ",[143,2382,2383],{},"git pull"," and ",[143,2386,2387],{},"git push"," work without you being there.",[317,2390],{},[53,2392,2394],{"id":2393},"quick-reference","Quick reference",[2396,2397,2398,2413],"table",{},[2399,2400,2401],"thead",{},[2402,2403,2404,2408,2411],"tr",{},[2405,2406,2407],"th",{},"Component",[2405,2409,2410],{},"Mac",[2405,2412,1528],{},[2414,2415,2416,2434,2452,2473,2487,2501,2516],"tbody",{},[2402,2417,2418,2423,2429],{},[2419,2420,2421],"td",{},[39,2422,74],{},[2419,2424,2425,2426],{},"App or ",[143,2427,2428],{},"brew install --cask tailscale",[2419,2430,2431],{},[143,2432,2433],{},"curl -fsSL https:\u002F\u002Ftailscale.com\u002Finstall.sh | sh",[2402,2435,2436,2441,2449],{},[2419,2437,2438],{},[39,2439,2440],{},"SSH",[2419,2442,2443,2445,2446,2448],{},[143,2444,988],{}," (via ",[143,2447,976],{},")",[2419,2450,2451],{},"Locked to Tailscale interface only",[2402,2453,2454,2458,2467],{},[2419,2455,2456],{},[39,2457,80],{},[2419,2459,2460,2463,2464],{},[143,2461,2462],{},"brew install syncthing"," → ",[143,2465,2466],{},"localhost:8384",[2419,2468,2469,2472],{},[143,2470,2471],{},"apt install syncthing"," → systemd service",[2402,2474,2475,2479,2484],{},[2419,2476,2477],{},[39,2478,86],{},[2419,2480,2481],{},[143,2482,2483],{},"brew install --cask obsidian",[2419,2485,2486],{},"Not needed on server",[2402,2488,2489,2493,2496],{},[2419,2490,2491],{},[39,2492,34],{},[2419,2494,2495],{},"Optional (for local use)",[2419,2497,2498],{},[143,2499,2500],{},"npm install -g openclaw",[2402,2502,2503,2507,2510],{},[2419,2504,2505],{},[39,2506,2271],{},[2419,2508,2509],{},"Not needed",[2419,2511,2512,2515],{},[143,2513,2514],{},"apt install tmux"," — keeps services running",[2402,2517,2518,2522,2524],{},[2419,2519,2520],{},[39,2521,2318],{},[2419,2523,2509],{},[2419,2525,2526,2529],{},[143,2527,2528],{},"apt install keychain"," — SSH without passphrase prompts",[53,2531,2533],{"id":2532},"ports-and-access","Ports and access",[2396,2535,2536,2549],{},[2399,2537,2538],{},[2402,2539,2540,2543,2546],{},[2405,2541,2542],{},"Service",[2405,2544,2545],{},"Port",[2405,2547,2548],{},"Access",[2414,2550,2551,2565,2579,2590,2601,2612,2623,2633],{},[2402,2552,2553,2555,2558],{},[2419,2554,2440],{},[2419,2556,2557],{},"22",[2419,2559,2560,2561,2564],{},"Tailscale only (",[143,2562,2563],{},"tailscale0"," interface)",[2402,2566,2567,2570,2573],{},[2419,2568,2569],{},"OpenClaw Gateway",[2419,2571,2572],{},"18789",[2419,2574,2575,2576,2448],{},"Tailscale Serve (",[143,2577,2578],{},"https:\u002F\u002F\u003Chostname>.\u003Ctailnet>.ts.net\u002F",[2402,2580,2581,2584,2587],{},[2419,2582,2583],{},"Syncthing Web UI",[2419,2585,2586],{},"8384",[2419,2588,2589],{},"Localhost or Tailscale Serve",[2402,2591,2592,2595,2598],{},[2419,2593,2594],{},"Syncthing Sync",[2419,2596,2597],{},"22000",[2419,2599,2600],{},"Tailscale only",[2402,2602,2603,2606,2609],{},[2419,2604,2605],{},"Agent Control Center",[2419,2607,2608],{},"1337",[2419,2610,2611],{},"Tailscale Serve (optional — workstream dashboard)",[2402,2613,2614,2617,2620],{},[2419,2615,2616],{},"Agent Control Center API",[2419,2618,2619],{},"1338",[2419,2621,2622],{},"Tailscale Serve (optional)",[2402,2624,2625,2628,2631],{},[2419,2626,2627],{},"AI Pipeline Dashboard",[2419,2629,2630],{},"5173",[2419,2632,2622],{},[2402,2634,2635,2638,2641],{},[2419,2636,2637],{},"AI Pipeline API",[2419,2639,2640],{},"3001",[2419,2642,2622],{},[317,2644],{},[53,2646,2648],{"id":2647},"troubleshooting","Troubleshooting",[10,2650,2651,2654,2655,2658],{},[39,2652,2653],{},"Syncthing not syncing?","\nCheck ",[143,2656,2657],{},"systemctl status syncthing@\u003Cyour_user>"," on the VPS. Make sure both devices show as \"Connected\" in the web UI.",[10,2660,2661,2664,2665,2668,2669,2672],{},[39,2662,2663],{},"Can't SSH via Tailscale?","\nRun ",[143,2666,2667],{},"tailscale status"," on both devices. If the VPS shows as offline, run ",[143,2670,2671],{},"sudo tailscale up"," again.",[10,2674,2675,2678],{},[39,2676,2677],{},"Symlink not syncing?","\nEnable \"Follow Symlinks\" in Syncthing's folder settings, or switch to the direct path approach.",[10,2680,2681,2684],{},[39,2682,2683],{},"Obsidian not seeing new files?","\nObsidian watches the filesystem, but large syncs can take a moment. Try closing and reopening the vault.",[10,2686,2687,2664,2690,2693,2694,2699],{},[39,2688,2689],{},"OpenClaw auth issues?",[143,2691,2692],{},"openclaw doctor"," on the VPS to check auth status. See ",[14,2695,2698],{"href":2696,"rel":2697},"https:\u002F\u002Fdocs.openclaw.ai\u002Fgateway\u002Fauthentication",[33],"OpenClaw authentication docs"," for setup.",[10,2701,2702,2664,2705,2708,2709,35],{},[39,2703,2704],{},"Gateway shows \"pairing required\"?",[143,2706,2707],{},"openclaw devices list"," and approve the pending request with ",[143,2710,2711],{},"openclaw devices approve \u003Crequest-id>",[317,2713],{},[53,2715,2717],{"id":2716},"_10-what-this-grew-into","10. What this grew into",[10,2719,2720],{},"Two months on, the single OpenClaw instance has become a small operations team. Not metaphorically — I literally have five specialist agents (Finance, Sales, Technology, Ops, Marketing), each with its own workspace, its own Slack channel, and a shared daily rhythm.",[10,2722,2723],{},[2724,2725],"img",{"alt":2726,"src":2727},"Multi-agent specialist architecture with Slack rollup","\u002Fblog\u002Fmulti-agent-architecture.webp",[10,2729,2730],{},"Every morning at 9am, they each post a standup to their own channel. Fifteen minutes later the Ops agent reads the other four, scores them for quality, and posts a single cross-team rollup to a shared channel. A budget agent runs in the evening. A security audit agent runs overnight. An Agent Control Center dashboard (Tailscale-only) sits on top of the whole thing so I can see what every agent is doing without opening five Slack channels.",[10,2732,2733],{},"None of this needed extra infrastructure. The VPS built in this post is the foundation. The specialist layer is just workspace folders, system prompts, and scheduled crons on top of it.",[317,2735],{},[53,2737,2739],{"id":2738},"series-navigation","Series Navigation",[10,2741,2742],{},[39,2743,2744],{},"AI Coding Workflow Series:",[61,2746,2747,2753,2759,2765,2768],{},[64,2748,2749,2752],{},[14,2750,2751],{"href":16},"Part 1: Terminal Agents"," — Claude Code, OpenCode, session-level orchestration",[64,2754,2755,2758],{},[14,2756,2757],{"href":21},"Part 2: Editor-Level AI"," — Zed, inline completions, agent panels",[64,2760,2761,2764],{},[14,2762,2763],{"href":26},"Part 3: PR-Level Agents"," — GitHub Apps, automated review",[64,2766,2767],{},"Part 4: Persistent VPS Agent (this post) — OpenClaw, Tailscale, Syncthing",[64,2769,2770],{},"Part 5: Claude Code Skills Setup (coming soon) — extending Claude Code with custom and vendor skills.",[53,2772,2774],{"id":2773},"related","Related",[61,2776,2777,2784],{},[64,2778,2779,2783],{},[14,2780,2782],{"href":2781},"\u002Fblog\u002Fobsidian-claude-code-workflow\u002F","My Developer Second Brain"," — How the Obsidian side of this setup works",[64,2785,2786,2789],{},[14,2787,2788],{"href":1800},"Tailscale Serve for Zero-Trust Services"," — Deeper dive on the networking layer",[2791,2792,2793],"style",{},"html pre.shiki code .sAwPA, html code.shiki .sAwPA{--shiki-default:#6A737D}html pre.shiki code .svObZ, html code.shiki .svObZ{--shiki-default:#B392F0}html pre.shiki code .sDLfK, html code.shiki .sDLfK{--shiki-default:#79B8FF}html pre.shiki code .sU2Wk, html code.shiki .sU2Wk{--shiki-default:#9ECBFF}html pre.shiki code .snl16, html code.shiki .snl16{--shiki-default:#F97583}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html pre.shiki code .s95oV, html code.shiki .s95oV{--shiki-default:#E1E4E8}",{"title":145,"searchDepth":187,"depth":187,"links":2795},[2796,2797,2800,2806,2812,2817,2821,2826,2837,2842,2850,2855,2856,2857,2858,2859,2860,2861],{"id":55,"depth":187,"text":56},{"id":101,"depth":187,"text":102,"children":2798},[2799],{"id":149,"depth":218,"text":150},{"id":321,"depth":187,"text":322,"children":2801},[2802,2803,2804,2805],{"id":325,"depth":218,"text":326},{"id":382,"depth":218,"text":383},{"id":648,"depth":218,"text":649},{"id":701,"depth":218,"text":702},{"id":722,"depth":187,"text":723,"children":2807},[2808,2809,2810,2811],{"id":729,"depth":218,"text":730},{"id":765,"depth":218,"text":766},{"id":804,"depth":218,"text":805},{"id":835,"depth":218,"text":836},{"id":867,"depth":187,"text":868,"children":2813},[2814,2815,2816],{"id":871,"depth":218,"text":872},{"id":916,"depth":218,"text":917},{"id":969,"depth":218,"text":970},{"id":994,"depth":187,"text":995,"children":2818},[2819,2820],{"id":1005,"depth":218,"text":1006},{"id":1098,"depth":218,"text":1099},{"id":1137,"depth":187,"text":1138,"children":2822},[2823,2824,2825],{"id":1144,"depth":218,"text":1145},{"id":1173,"depth":218,"text":1174},{"id":1200,"depth":218,"text":1201},{"id":1212,"depth":187,"text":1213,"children":2827},[2828,2829,2830,2831,2832,2833,2834,2835,2836],{"id":1219,"depth":218,"text":730},{"id":1314,"depth":218,"text":1315},{"id":1394,"depth":218,"text":1145},{"id":1421,"depth":218,"text":1422},{"id":1459,"depth":218,"text":1460},{"id":1489,"depth":218,"text":1490},{"id":1540,"depth":218,"text":1541},{"id":1586,"depth":218,"text":1587},{"id":1603,"depth":218,"text":1604},{"id":1627,"depth":187,"text":1628,"children":2838},[2839,2840,2841],{"id":1634,"depth":218,"text":1635},{"id":1684,"depth":218,"text":1685},{"id":1757,"depth":218,"text":1758},{"id":1786,"depth":187,"text":1787,"children":2843},[2844,2845,2846,2847,2848,2849],{"id":1793,"depth":218,"text":1794},{"id":1820,"depth":218,"text":1821},{"id":1864,"depth":218,"text":1865},{"id":2007,"depth":218,"text":2008},{"id":2024,"depth":218,"text":2025},{"id":2049,"depth":218,"text":2050},{"id":2071,"depth":187,"text":2072,"children":2851},[2852,2853,2854],{"id":2078,"depth":218,"text":2079},{"id":2139,"depth":218,"text":2140},{"id":2172,"depth":218,"text":2173},{"id":2251,"depth":187,"text":2252},{"id":2393,"depth":187,"text":2394},{"id":2532,"depth":187,"text":2533},{"id":2647,"depth":187,"text":2648},{"id":2716,"depth":187,"text":2717},{"id":2738,"depth":187,"text":2739},{"id":2773,"depth":187,"text":2774},"2026-02-19","How to run OpenClaw on a DigitalOcean VPS, lock it down with Tailscale, and sync everything to Obsidian with Syncthing.","md",{},"\u002Fblog\u002Fclawdbot-vps-setup",null,{"title":5,"description":2863},"published","blog\u002Fclawdbot-vps-setup",[2872,2873,2874,2875,2876,375],"ai","productivity","tooling","developer-experience","devops","\u002Fblog\u002Fclawdbot-vps-setup.webp","XLWmF4sFe9FN7IwZdzp6WFK8NtZJmny5QccD7k49FeQ",[2880,2891,2897,2904,2911,2913,2924,2934,2944,2951,2957,2964,2974,2983,2994,3000,3008,3015,3021,3030,3037,3046,3054,3061,3070,3076],{"path":2881,"title":2882,"description":2883,"createdAt":2884,"thumbnail":2885,"tags":2886,"status":2869,"publishAt":2884,"_path":2881},"\u002Fblog\u002Fhow-i-work-async-remote","How I work async and remote-first: specs, workstreams, Loom over Zoom","How I run remote client engagements as a freelance developer. Written specs, workstreams, Loom over meetings, and the Rework and Remote (Basecamp) influence behind it.","2026-05-29","\u002Fblog\u002Fclaude-code-workflow.webp",[2887,2888,2889,2890],"workflow","remote","freelance","communication",{"path":2892,"title":2893,"description":2894,"createdAt":2895,"thumbnail":2885,"tags":2896,"status":2869,"publishAt":2867,"_path":2892},"\u002Fblog\u002Fai-dev-workflow-timeline","My AI dev workflow timeline — from cancelling Cursor to multi-model routing","A chronology of how I started using Claude Code: cancelling Cursor in December 2024, discovering it through TLDR, and what eleven months of daily use turned the workflow into.","2026-05-16",[2872,2873,2874,2875],{"path":2898,"title":2899,"description":2900,"createdAt":2862,"thumbnail":2901,"tags":2902,"status":2869,"publishAt":2867,"_path":2898},"\u002Fblog\u002Fai-coding-agents-pr-level","PR-level AI agents: Copilot, Claude, and Gemini in your GitHub workflow","Extending my AI coding workflow with GitHub PR agents. When to use @copilot vs @claude vs @gemini, and how they fit into a multi-layer development stack.","\u002Fblog\u002Fai-coding-agents-pr-level.webp",[2872,2873,2874,2875,2903],"github",{"path":2905,"title":2906,"description":2907,"createdAt":2862,"thumbnail":2908,"tags":2909,"status":2869,"publishAt":2867,"_path":2905},"\u002Fblog\u002Fai-coding-editors","Editor-level AI: completions, agents, and the Zed setup I actually use","The middle layer of AI coding tools. Inline completions, agent panels, and external agents like Claude Code running inside your editor.","\u002Fblog\u002Fai-coding-editors.webp",[2872,2873,2874,2875,2910],"zed",{"path":2866,"title":5,"description":2863,"createdAt":2862,"thumbnail":2877,"tags":2912,"status":2869,"publishAt":2867,"_path":2866},[2872,2873,2874,2875,2876,375],{"path":2914,"title":2915,"description":2916,"createdAt":2917,"thumbnail":2918,"tags":2919,"status":2869,"publishAt":2867,"_path":2914},"\u002Fblog\u002Ftrue-cost-technical-debt","The True Cost of Technical Debt: When 'Good Enough' Becomes Expensive","That quick fix from two years ago is now costing you hours every week. Here's how technical debt accumulates and when it makes sense to pay it down.","2026-01-29","\u002Fblog\u002Ftechnical-debt.webp",[2920,2921,2922,2923],"technical-debt","maintenance","business","refactoring",{"path":2925,"title":2926,"description":2927,"createdAt":2928,"thumbnail":2929,"tags":2930,"status":2869,"publishAt":2867,"_path":2925},"\u002Fblog\u002Flead-generation-websites-convert","Lead Generation Websites That Actually Convert","Most lead gen sites are slow, confusing, or ask for too much too soon. Here's what makes the difference between a site that generates leads and one that just exists.","2026-01-27","\u002Fblog\u002Flead-generation-websites.webp",[2931,2932,2933,2922],"lead-generation","conversion","performance",{"path":2935,"title":2936,"description":2937,"createdAt":2938,"thumbnail":2939,"tags":2940,"status":2869,"publishAt":2867,"_path":2935},"\u002Fblog\u002Fhiring-web-developer-guide","What Business Owners Should Know Before Hiring a Web Developer","Questions to ask, red flags to watch for, and how to tell if someone actually knows what they're doing. A practical guide from the other side of the table.","2026-01-25","\u002Fblog\u002Fhiring-web-developer-guide.webp",[2922,2889,2941,2942,2943],"web-development","wordpress","hiring",{"path":2945,"title":2946,"description":2947,"createdAt":2948,"thumbnail":2949,"tags":2950,"status":2869,"publishAt":2867,"_path":2945},"\u002Fblog\u002Fwordpress-site-losing-money","Why Your WordPress Site Is Losing You Money","That 6-second load time isn't just annoying - it's costing you customers. Here's what's actually wrong with most WordPress sites and how to fix it.","2026-01-23","\u002Fblog\u002Fwordpress-site-losing-money.webp",[2942,2933,2922],{"path":2952,"title":2953,"description":2954,"createdAt":2955,"thumbnail":2885,"tags":2956,"status":2869,"publishAt":2867,"_path":2952},"\u002Fblog\u002Fclaude-code-workflow","How I Use Claude Code to Ship Better Code Faster","My actual workflow with AI pair programming. Custom skills, autonomous agents, and the specific ways Claude Code has changed how I work.","2026-01-21",[2872,2873,2874,2875],{"path":2958,"title":2959,"description":2960,"createdAt":2955,"thumbnail":2961,"tags":2962,"status":2869,"publishAt":2867,"_path":2958},"\u002Fblog\u002Fobsidian-claude-code-workflow","My Developer Second Brain: Obsidian and Claude Code Together","How I combine Obsidian for knowledge capture with Claude Code for automation. The note structure, AI integration, and workflows that actually stick.","\u002Fblog\u002Fobsidian-claude-workflow.webp",[2873,2872,2963,2875],"obsidian",{"path":2965,"title":2966,"description":2967,"createdAt":2968,"thumbnail":2969,"tags":2970,"status":2869,"publishAt":2867,"_path":2965},"\u002Fblog\u002Fcloudflare-blocks-ai-bots","How Cloudflare Blocks AI Bots From Scraping Your Content","Cloudflare now lets you block AI bots like GPTBot, ClaudeBot, and others from scraping your site. Here's how it works and whether it actually matters.","2025-12-03","\u002Fblog\u002Fcloudflare-blocks-ai-bots.webp",[2971,2872,2972,2973],"cloudflare","security","web",{"path":2975,"title":2976,"description":2977,"createdAt":2978,"thumbnail":2979,"tags":2980,"status":2869,"publishAt":2867,"_path":2975},"\u002Fblog\u002Fimage-optimization-web-performance","Image Optimization for Web Performance","Shipping 5MB images to production? I've been there. Learn how to optimize images properly and why it matters more than you think for web performance.","2024-12-03","\u002Fblog\u002Fimage-optimization-performance.webp",[2933,2981,2982],"frontend","optimization",{"path":2984,"title":2985,"description":2986,"createdAt":2987,"thumbnail":2988,"tags":2989,"status":2869,"publishAt":2867,"_path":2984},"\u002Fblog\u002Fcomponent-driven-development-cdd","Component-driven development (CDD)","Stop building pages from scratch. Component-driven development changed how I build UIs - here's why it works and how to get started.","2024-11-03","\u002Fblog\u002Fcomponent-driven-development.webp",[2981,2990,2991,2992,2993],"vue","ui","components","storybook",{"path":2995,"title":2996,"description":2997,"createdAt":2987,"thumbnail":2998,"tags":2999,"status":2869,"publishAt":2867,"_path":2995},"\u002Fblog\u002Ffrontend-best-practices","Frontend best practices","I've shipped features fast only to struggle understanding my own code months later. Here's what I've learned about building frontend applications you'll actually enjoy maintaining.","\u002Fblog\u002Ffrontend-best-practices.webp",[2981,2991,2992],{"path":3001,"title":3002,"description":3003,"createdAt":2987,"thumbnail":3004,"tags":3005,"status":2869,"publishAt":2867,"_path":3001},"\u002Fblog\u002Fmodern-css-styling-approaches","Modern CSS Styling Approaches","Remember having one massive styles.css file for an entire site? I don't miss that. Here's how CSS styling has changed and what I actually use now.","\u002Fblog\u002Fmodern-css-styling.webp",[3006,3007,2981,2991],"css","styling",{"path":3009,"title":3010,"description":3011,"createdAt":2987,"thumbnail":3012,"tags":3013,"status":2869,"publishAt":2867,"_path":3009},"\u002Fblog\u002Foptimizing-assets-for-web-performance","Optimizing Assets for Maximum Web Performance","The worst performance culprits? Unoptimized images, bloated JavaScript bundles, and poor asset loading. Here's what actually makes a difference.","\u002Fblog\u002Foptimizing-web-assets-performance.webp",[2981,3014],"nuxt",{"path":3016,"title":3017,"description":3018,"createdAt":2987,"thumbnail":3019,"tags":3020,"status":2869,"publishAt":2867,"_path":3016},"\u002Fblog\u002Freducing-mental-overhead-css","Mental Overhead of Custom Global Classes in CSS","I've worked on projects with hundreds of custom CSS classes like .helper-12 and .util-spacing-3. Can you guess what they do? Neither could I.","\u002Fblog\u002Fcss-mental-overhead.webp",[3006,3007,2981,2991],{"path":3022,"title":3023,"description":3024,"createdAt":3025,"thumbnail":3026,"tags":3027,"status":2869,"publishAt":2867,"_path":3022},"\u002Fblog\u002Fpath-environment-dotfiles-shell-config","The PATH Environment Variable, Dotfiles and Shell Configuration Files","I once spent two hours debugging why 'node' wouldn't run after installing it. Turns out my PATH was broken. Here's what I wish I'd known about shell configuration.","2024-08-27","\u002Fblog\u002Flaptop.jpeg",[3028,3029],"dotfiles","shell",{"path":3031,"title":3032,"description":3033,"createdAt":3034,"thumbnail":3035,"tags":3036,"status":2869,"publishAt":2867,"_path":3031},"\u002Fblog\u002Fmobile-first-design","Mobile-First Design For Enhanced Web Performance","Most web traffic is mobile now, but I still see projects building desktop-first. Here's why that approach kills performance.","2024-08-24","\u002Fblog\u002Fmobile-first-design.webp",[2981,2933],{"path":3038,"title":3039,"description":3040,"createdAt":3041,"thumbnail":3042,"tags":3043,"status":2869,"publishAt":2867,"_path":3038},"\u002Fblog\u002Fwebpack-modern-bundlers","It's time to leave webpack behind - modern bundlers are here","I spent three days fighting a webpack config file. Here's why I switched to Vite and esbuild, and why you should consider it too.","2024-08-16","\u002Fblog\u002Fwebpack.svg",[2981,3044,3045],"bundlers","tools",{"path":3047,"title":3048,"description":3049,"createdAt":3050,"thumbnail":3051,"tags":3052,"status":2869,"publishAt":2867,"_path":3047},"\u002Fblog\u002Fusing-axios-proxy-with-nuxt","Understanding axios proxy and getting it to work with nuxt.js","How to get axios to work with nuxt.js. Configure proxy settings when trying make axios requests in Nuxt.","2021-03-11","\u002Fblog\u002Fnuxt.svg",[2981,3053,3014],"axios",{"path":3055,"title":3056,"description":3057,"createdAt":3058,"thumbnail":3051,"tags":3059,"status":2869,"publishAt":2867,"_path":3055},"\u002Fblog\u002Fadding-images-with-nuxt-content","Adding Images To Markdown With Nuxt Content Module","How to add images to Nuxt Content blog posts using @nuxt\u002Fimage for automatic optimization and lazy loading.","2021-03-01",[2981,2990,3014,3060],"images",{"path":3062,"title":3063,"description":3064,"createdAt":3065,"thumbnail":3066,"tags":3067,"status":2869,"publishAt":2867,"_path":3062},"\u002Fblog\u002Fpage-speed-load-time","How Page Speed & Load Time Impacts Conversions","Slow sites kill conversions. Here's what happens when users wait too long for your pages to load, and why page speed should be your top priority.","2020-12-22","\u002Fblog\u002Ffast_loading.svg",[2981,3068,2933,3069],"speed","conversions",{"path":3071,"title":3072,"description":3073,"createdAt":3074,"thumbnail":3066,"tags":3075,"status":2869,"publishAt":2867,"_path":3071},"\u002Fblog\u002Fsteps-to-improve-page-speed-load-time","Website Performance Optimization Strategies To Reduce Page Loading Speed","Every site owner thinks their site is fast enough. Then users bounce after 3 seconds. Here's what actually moves the needle on performance.","2020-12-20",[2981,3068,2982,2933],{"path":3077,"title":3078,"description":3079,"createdAt":3080,"thumbnail":3081,"tags":3082,"status":2869,"publishAt":2867,"_path":3077},"\u002Fblog\u002Fremote-working-productivity","Time Management When Working Remotely","I once spent an entire remote workday doing almost nothing productive. That's when I learned remote work requires a completely different approach to time management.","2019-11-03","\u002Fblog\u002Ftime_management.svg",[2873,2888],[3084,26,21,3085,16,3086,3087,3088,3089,3090,3091,3092,3093,3094,3095,2781,3096,3097,3098,3099,3100,3101,3102,3103,3104,3105],"\u002Fblog\u002Fadding-images-with-nuxt-content\u002F","\u002Fblog\u002Fai-dev-workflow-timeline\u002F","\u002Fblog\u002Fclawdbot-vps-setup\u002F","\u002Fblog\u002Fcloudflare-blocks-ai-bots\u002F","\u002Fblog\u002Fcomponent-driven-development-cdd\u002F","\u002Fblog\u002Ffrontend-best-practices\u002F","\u002Fblog\u002Fhiring-web-developer-guide\u002F","\u002Fblog\u002Fhow-i-work-async-remote\u002F","\u002Fblog\u002Fimage-optimization-web-performance\u002F","\u002Fblog\u002Flead-generation-websites-convert\u002F","\u002Fblog\u002Fmobile-first-design\u002F","\u002Fblog\u002Fmodern-css-styling-approaches\u002F","\u002Fblog\u002Foptimizing-assets-for-web-performance\u002F","\u002Fblog\u002Fpage-speed-load-time\u002F","\u002Fblog\u002Fpath-environment-dotfiles-shell-config\u002F","\u002Fblog\u002Freducing-mental-overhead-css\u002F","\u002Fblog\u002Fremote-working-productivity\u002F","\u002Fblog\u002Fsteps-to-improve-page-speed-load-time\u002F","\u002Fblog\u002Ftrue-cost-technical-debt\u002F","\u002Fblog\u002Fusing-axios-proxy-with-nuxt\u002F","\u002Fblog\u002Fwebpack-modern-bundlers\u002F","\u002Fblog\u002Fwordpress-site-losing-money\u002F",1795336811140]