johunsang

Anddev — DevOps skill for Claude Code

DevOps community

원터치로 안드로이드 폰을 리눅스 원격 개발서버로 (proot/chroot + Cloudflare + Codex/Claude).

How to install Anddev

This entry records only its repository, not the path inside it, so there is no exact command to give. Open johunsang/anddev and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Anddev does

원터치로 안드로이드 폰을 리눅스 원격 개발서버로 (proot/chroot + Cloudflare + Codex/Claude).

Alternatives in DevOps

  • Cloudflare Deploy — Deploy apps to Cloudflare using Workers, Pages, and platform services 14.6k ★
  • Claudable — Claudable is an open-source web builder that leverages local CLI agents, such as Claude Code, Codex, Gemini CL 4k ★
  • Agents Starter — A starter kit for building ai agents on Cloudflare 1.3k ★

README

anddev — 안드로이드 폰을 원터치 리눅스 원격 개발서버로

낡은/여분 안드로이드 폰을 **루팅 없이** 리눅스 원격 개발서버로 바꿔주는 스크립트입니다. SSH 로 접속하면 바로 **Codex** 와 **Claude Code** 를 쓸 수 있습니다.

┌─────────── 안드로이드 폰 (Termux) ───────────┐
│  proot Ubuntu                                 │
│  ┌──────────────┐                             │
│  │ sshd :22     │◀─ localhost ─┐              │
│  │ codex/claude │              │              │
│  └──────────────┘     ┌────────┴─────┐        │
│                       │ cloudflared  │── 바깥으로 ──┐
│                       └──────────────┘        │     │
└───────────────────────────────────────────────┘     ▼
                                              Cloudflare 엣지
   내 PC:  ssh ... dev@xxx.trycloudflare.com  ◀──────┘
  • 루팅 불필요prootptrace 로 가짜 chroot 를 만듦 (Termux 방식)
  • 공인 IP·포트포워딩 불필요 — Cloudflare Quick Tunnel 이 바깥으로 나가는 연결만 사용
  • 무계정·무도메인*.trycloudflare.com 랜덤 주소 (실행 때마다 바뀜)

1단계(현재): Termux 셸 스크립트로 핵심 체인 검증. 2단계(예정): 검증된 로직을 독립 APK 로 포장 (foreground service + 원터치 UI).


준비물

  • 안드로이드 폰 + Termux (⚠️ Play 스토어 말고 F-Droid 또는 GitHub 릴리스 버전)
  • 저장공간 2~4GB, 가급적 충전 연결 권장 (상시 서버라 발열/배터리 소모)
  • 접속할 PC 에 `cloudflared` 설치

설치 + 실행 (폰의 Termux 에서) — 단일 파일, 원터치

`git clone` 도 여러 파일도 필요 없습니다. **`anddev.sh` 한 파일**만 받아서 실행하면 미설치면 설치하고, 설치돼 있으면 바로 서버를 켭니다.

curl -fsSL https://raw.githubusercontent.com/johunsang/anddev/main/anddev.sh -o anddev.sh
bash anddev.sh        # 원터치: 설치(최초 1회) → 서버 켜기

한 줄로 끝내려면: `curl -fsSL https://raw.githubusercontent.com/johunsang/anddev/main/anddev.sh | bash` (단, 다음부터 다시 켜려면 파일을 남겨두는 위쪽 방식이 편합니다.)

다시 켜기 (매번)

bash anddev.sh start   # 또는 인자 없이 bash anddev.sh (자동 감지)

설치만 다시 하려면 `bash anddev.sh setup`. (`setup.sh` / `start.sh` / `connect.sh` 는 `anddev.sh` 로 위임하는 하위호환 wrapper 입니다.)

접속 주소를 잃었으면 (터미널이 스크롤됐거나 창을 닫았어도 **서버가 켜져 있는 동안**):

bash