Skip to content

raythyme245/gcp-claude-code-mobile-workstation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Blog: GCP VM + Claude Code + systemd 個人 AI 工作站

Blog: Personal AI Workstation with GCP VM, Claude Code, tmux, systemd

這個目錄是一篇技術文章的全部素材,記錄如何在 GCP VM 上用 systemd user service + tmux + Claude Code 打造一個手機可遠端操作、跟 Google Drive 雙向同步的個人 AI 工作站。

All materials for a long-form post on building a mobile-first personal AI workstation on a GCP VM.


檔案清單 / File Manifest

檔案 用途
gcp-claude-code-tmux-systemd.md 主文章。動機、架構、四個版本踩坑紀錄、完整 copy-paste recipe、成本取捨、FAQ
appendix-rclone-setup.md 附錄 A。rclone + Google Drive 完整設定(含 headless VM OAuth 技巧與 crontab)
assets/claude-android.service 最終可用的 systemd user service 檔(匿名化)
assets/claude-tmux-start.sh 最終可用的啟動腳本(匿名化)
assets/rclone-sync.cron 完整的 crontab 範例(匿名化)

快速開始 / Quick Start

如果你只想複製整套架構,請依序:

  1. 主文章第 4 節「完整可複製的最終方案」
  2. assets/ 裡的三個檔案照需要複製到 VM 對應位置
  3. 把所有 $USER / YourName / 絕對路徑替換成你的實際值

如果你想理解為什麼這樣設計 / 踩過什麼坑,從主文章第 3 節「踩坑時序」開始看。每個版本都貼了原始 systemctl / journalctl 輸出,方便 Google 搜尋。


讀者定位 / Target Audience

  • 出差族 / 經常換裝置的工程師
  • BYOD 受限、不想把私人資料放公司機器的人
  • 極簡派(不想背筆電通勤)
  • systemd user service + tmux 自動化感興趣的人
  • Type=forking / KillMode=none / active (exited) 這幾個詞搜進來的後人 🪦

授權 / License

技術內容以 CC BY 4.0 釋出,歡迎轉載引用,請保留原始連結。


版本 / Version

  • 最後驗證:2026-04-18
  • 驗證環境:Ubuntu 24.04 LTS · Claude Code v2.1.114 · rclone v1.65+ · GCP e2-medium · asia-east1-b

About

Build a pocket AI workstation with phone + GCP VM + Claude Code + systemd + tmux

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages