Show HN: uvx ptn, scan a QR, get a terminal in your phone

https://news.ycombinator.com/rss Hits: 10
Summary

1. uvx ptn 2. Scan the QR 3. Access your terminal from your phone Why I wanted to vibe code from bed. ngrok requires registration and the free tier sucks. Cloudflare Quick Tunnel works great but is hard to use directly on the phone. Termius requires complicated setup: port forwarding, firewall rules, key management... Tried Claude Code web, but it can't access my local hardware and environment. Also tried Happy, but it's too bulky and updates lag behind. So I built something simpler: run a command, scan a QR, start typing. Features One command, instant access - No SSH, no port forwarding, no config files. Cloudflare tunnel + QR code. - No SSH, no port forwarding, no config files. Cloudflare tunnel + QR code. Actually usable on mobile - Essential buttons and gestures for everyday terminal use. - Essential buttons and gestures for everyday terminal use. Multi-tab shared sessions - Run builds in one tab, tail logs in another. Sessions and tabs persist across reconnects. - Run builds in one tab, tail logs in another. Sessions and tabs persist across reconnects. Cross-platform - Windows (PowerShell, CMD, WSL), Linux/macOS (Bash, Zsh, Fish). Auto-detects your shells. Install Method Install Update uvx (no install) uvx ptn uvx --refresh ptn uv tool uv tool install ptn uv tool upgrade ptn pipx pipx install ptn pipx upgrade ptn pip pip install ptn pip install -U ptn One-line install (uv + ptn): OS Command Windows powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/lyehe/porterminal/master/install.ps1 | iex" macOS/Linux curl -LsSf https://raw.githubusercontent.com/lyehe/porterminal/master/install.sh | sh Requires Python 3.12+ and cloudflared (auto-installed if missing). Usage ptn # Start in current directory ptn ~ /projects/myapp # Start in specific folder ptn --no-tunnel # Local network only ptn -b # Run in background ptn -v # Verbose startup logs ptn --init # Create .ptn/ptn.yaml config ptn -V # Show version ptn -U # Update to latest version ptn --ch...

First seen: 2026-01-03 10:17

Last seen: 2026-01-03 19:18