{"slug": "my-side-account-posts-to-x-every-day-and-i-never-touch-it-here-s-the-setup", "title": "My side account posts to X every day and I never touch it — here's the setup", "summary": "A developer automated their side account on X and note using a dedicated always-on Raspberry Pi running Claude Code. The AI agent drafts and posts content on a schedule, and the developer can steer it from their phone via Remote Control. The setup keeps the main laptop free and runs even while the developer sleeps or travels.", "body_md": "For the last few months, one of my side-project social accounts has posted to X and note every morning and every night.\n\nI have never pressed the post button.\n\nIt runs on a palm-sized computer in the corner of my room — not my laptop. While I sleep, while I'm out, it keeps going. This post is about how it's wired up, what actually paid off, and the parts that tripped me up (skip to the gotchas if that's why you're here).\n\nTo be clear: I run this for a\n\nseparateside account. The account I'm postingthisfrom is still hand-run. I automate the parts that are safe to automate, and keep a hand on the rest.\n\nI wanted scheduled, AI-drafted posts. The obvious way is a script on my laptop + cron. But that means my laptop has to stay on, and it's tied up doing background work I don't want to think about.\n\nSo I moved the whole thing off my daily driver and onto a dedicated always-on machine.\n\nA small always-on box (a Raspberry Pi — but any spare machine running Ubuntu works the same) runs **Claude Code**. A cron job wakes it on a schedule, Claude drafts the post, and it publishes to X / note. I can check in or redirect it from my phone. That's it: **always-on machine + AI + a schedule.**\n\nThe interesting part isn't the cron line. It's that the AI agent lives on the box, so \"post every morning\" and \"hey, rewrite today's post to be softer\" are the same kind of instruction — one from cron, one from me on my phone.\n\n**1. My main laptop is completely free.** This was the whole point, and it delivered. I can close it, take it out, or push it hard on real work. The automation doesn't care — it's on a different box that never turns off.\n\n**2. I can steer it from my phone.** Claude Code has a Remote Control feature: the session on the Pi shows up in the Claude mobile app (or claude.ai/code in a browser). On the train I type \"change tonight's post angle\" and it's done. No laptop, no SSH.\n\n**3. It runs while I sleep and while I'm away.** No more waking up to hit \"post\" at 7am. Travel doesn't create a gap.\n\n**4. Failures stay contained.** Automation breaks sometimes. Because it's physically separate from my main environment, a bad run never touches my real work. Having a disposable \"experiment box\" is worth more than I expected.\n\n**PATH after install.** The native installer drops `claude`\n\nin `~/.local/bin`\n\n, which isn't on PATH by default. First thing after install, `claude`\n\ngives you `command not found`\n\n. Fix:\n\n```\necho 'export PATH=\"$HOME/.local/bin:$PATH\"' >> ~/.bashrc\nsource ~/.bashrc\n```\n\n**Sessions don't survive a reboot.** A running session keeps going when you close the terminal or the machine sleeps — but a full reboot stops it. You reopen it and re-attach. Plan for it (a login-shell line, or a systemd service if you want zero-touch recovery).\n\n**Enable linger, or logout kills it.** For the session to keep running after you disconnect SSH:\n\n```\nloginctl enable-linger $USER\n```\n\n**Remote Control needs a subscription + the machine online.** It uses your Claude account login (not an API key), and if the box is offline for ~10 minutes the session drops. Fine for a home box that's always on; worth knowing.\n\n**Turn Remote Control on once, globally.** Instead of running a server command every time, flip it on in `/config`\n\n(\"Enable Remote Control for all sessions\"). Then any session you start is reachable from your phone.\n\nYes. The mental shift is the real win: a small box that's always on, that an AI lives inside, that I can poke from my phone. Social automation is just the first thing I pointed it at.\n\nIf you want the full, start-to-finish build (OS flashing → Claude Code → phone control → deploys), I wrote it up as a guide. It includes a paste-and-go setup prompt that has Claude configure the box with you, conversationally.\n\n→ Get it on ** Gumroad** or\n\nHappy to answer setup questions in the comments.", "url": "https://wpnews.pro/news/my-side-account-posts-to-x-every-day-and-i-never-touch-it-here-s-the-setup", "canonical_source": "https://dev.to/creatortoolsjp/my-side-account-posts-to-x-every-day-and-i-never-touch-it-heres-the-setup-og3", "published_at": "2026-07-26 02:05:58+00:00", "updated_at": "2026-07-26 02:31:13.993663+00:00", "lang": "en", "topics": ["artificial-intelligence", "ai-agents", "developer-tools"], "entities": ["Claude Code", "Raspberry Pi", "X", "note", "Gumroad"], "alternates": {"html": "https://wpnews.pro/news/my-side-account-posts-to-x-every-day-and-i-never-touch-it-here-s-the-setup", "markdown": "https://wpnews.pro/news/my-side-account-posts-to-x-every-day-and-i-never-touch-it-here-s-the-setup.md", "text": "https://wpnews.pro/news/my-side-account-posts-to-x-every-day-and-i-never-touch-it-here-s-the-setup.txt", "jsonld": "https://wpnews.pro/news/my-side-account-posts-to-x-every-day-and-i-never-touch-it-here-s-the-setup.jsonld"}}