Emergency coding setup: Claude Code on OCI free VM with Termux on Android

Emergency coding setup for production issues
A developer on r/ClaudeAI shared a practical setup for emergency coding when a laptop isn't available. The solution addresses production issues that can occur when you're away from your primary development machine.
Core components
- OCI Free Tier VM: Oracle Cloud Infrastructure's free VM with 24GB RAM and 4 vCPUs
- GitHub CLI: Installed on the VM
- Claude Code: Installed on the VM
- Termux: Android terminal emulator used to SSH into the VM
Cost breakdown
- OCI VM: Free
- Termux: Free
- Claude Pro ($20/month) or Claude Max ($100/month): Required for Claude Code access
- The developer notes that Claude Pro is sufficient for emergency use
Workflow
The setup is configured once. After that, when a production alert occurs:
- Open Termux on Android
- SSH into the OCI VM
- Claude Code is live on a 24GB machine within 2 minutes
The developer emphasizes this isn't a laptop replacement, but rather a way to "stop being blocked when it's not with you." They also ask the community about alternatives, specifically whether people prefer VS Code server or Blink Shell over Termux.
📖 Read the full source: r/ClaudeAI
👀 See Also

Practical Lessons from Deploying OpenClaw on Secure VPS
A Reddit user shares specific deployment advice: audit all Skills and Plugins for security and token efficiency, start with a basic setup, and use a VPS for economy and smaller attack surface. Proper setup can free up 40% of time on repetitive work.

Using Claude Code to Automatically Refresh OpenClaw OAuth Tokens
A developer shares a method using Claude Code to automatically rotate OpenClaw OAuth tokens every 8 hours, preventing expiration during long coding sessions. The approach requires keeping your computer on with an active Claude Code session.

Reddit user reports using Claude for story architecture improves video retention
A Reddit user tracked 150+ AI channels and found most died before 10 videos due to inconsistent content. They report using Claude to design story architecture instead of just writing scripts, then pairing it with LongStories for visual consistency, increasing retention from 40% to 60%.

Decoupling Narrative from State Tracking Fixes AI Text Adventure Amnesia
A developer built a stateful simulation engine where PostgreSQL tracks game state and LLMs only generate narrative text after state changes, preventing inventory hallucinations and plot loss.