explaingit

0xmassi/pocketdev

Analysis updated 2026-05-18

101GoAudience · developerComplexity · 3/5Setup · moderate

TLDR

A CLI that spins up a locked down cloud server for running your own AI coding assistant subscriptions, reachable securely from your phone.

Mindmap

mindmap
  root((pocketdev))
    What it does
      Provisions Hetzner box
      Tailscale only access
      Installs coding agent CLIs
    Tech stack
      Go
      Hetzner Cloud
      Tailscale
    Use cases
      Code from phone
      Remote AI coding box
      Bring your own server
    Audience
      Developers
      Vibe coders
    Setup
      go install
      Hetzner token
      Tailscale auth key

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Spin up a private cloud box that runs Claude Code, Codex, Cursor, or another AI coding CLI you already pay for.

USE CASE 2

Code from a phone by SSHing into a locked down server over a private Tailscale network.

USE CASE 3

Clone a GitHub repo or copy a local folder onto a fresh cloud box automatically during setup.

USE CASE 4

Adopt an existing server you own and install the coding agent CLIs onto it without rebuilding it.

What is it built with?

GoHetzner CloudTailscaleSSH

How does it compare?

0xmassi/pocketdevhenryswisvip/mirageaymanhs/nanotdb
Stars101101102
LanguageGoGoGo
Setup difficultymoderatemoderatemoderate
Complexity3/54/53/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires a Hetzner Cloud account with an API token and a Tailscale account with a reusable auth key before the first run.

No license information is given in the README, so reuse terms are unclear.

In plain English

pocketdev is a command line tool that sets up a small cloud computer for you so you can run AI coding assistants like Claude Code, Codex, Cursor, Gemini, Grok, or Aider from your phone or any other device, using the subscriptions you already pay for. Instead of exposing the machine to the open internet, it locks it down so the only way in is through Tailscale, a private networking tool, meaning there is no public login port for anyone else to find or attack. Setting it up is meant to take about two commands. On your laptop, running pocketdev walks you through a series of steps: pasting a Hetzner cloud token, picking a server size and region from a filtered table of live prices, choosing which AI coding tools to install, and picking what code the new box should start with, whether that is cloning a GitHub repository, copying a folder from your own computer, or starting empty. Once the box is created, you SSH into it once and run a setup command that installs anything missing and walks you through logging into each selected coding tool. Behind the scenes, the created server has a firewall that blocks all incoming public traffic, joins your private Tailscale network so only your own devices can reach it, and uses a restricted login user with no administrator rights, so that a coding agent running commands on the box cannot gain full control of the machine even if something goes wrong. The tool also supports adopting a server you already own instead of creating a new one, and includes a destroy command to remove a created box along with its firewall rule. For day to day cost, a small ARM based Hetzner server runs roughly five to eight euros a month, and Tailscale itself is free for personal use with up to six devices. The project also includes a phone focused workflow that generates a QR code and helps set up a properly authorized key on your phone, so you can reconnect to your ongoing coding session from a mobile SSH client. The tool is written in Go and can be installed with the Go toolchain or a prebuilt binary.

Copy-paste prompts

Prompt 1
Walk me through installing pocketdev with go install and setting up my first Hetzner box.
Prompt 2
Explain what happens during pocketdev setup after I SSH into a newly created box.
Prompt 3
Help me understand the security model: why can't an agent running on the box escalate to root?
Prompt 4
Show me how to use pocketdev mobile to connect to my coding session from my phone.
Prompt 5
Compare the cost of a CAX11 versus CAX21 Hetzner server for running pocketdev.

Frequently asked questions

What is pocketdev?

A CLI that spins up a locked down cloud server for running your own AI coding assistant subscriptions, reachable securely from your phone.

What language is pocketdev written in?

Mainly Go. The stack also includes Go, Hetzner Cloud, Tailscale.

What license does pocketdev use?

No license information is given in the README, so reuse terms are unclear.

How hard is pocketdev to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is pocketdev for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.