pgrok — самохостинг туннелей для локальной разработки

★ 1.1K

R44VC0RP/pgrok is an open-source tool that exposes a local development port to the internet over your own VPS, giving it a permanent HTTPS address on your domain. Reach for it when you need to receive a Stripe or Telegram webhook directly on your laptop, share an undeployed build with a client via a real URL, debug an OAuth redirect that requires a public callback, or spin up a staging URL without a full deployment. Under the hood: Caddy on the VPS handles on-demand TLS (Let's Encrypt with ZeroSSL fallback), traffic flows through SSH reverse tunnels with no extra tunneling software, a Python script dynamically manages Caddy routes, and the TUI client (TypeScript + Bun, built with OpenTUI) provides a live dashboard with a color-coded HTTP request log, connection stats, and response-time percentiles. The client installs via a bash script on Mac or Linux; the server side runs through Docker Compose. The direction here is outbound exposure of a local service — not a production reverse proxy. Unlike hosted ngrok or Cloudflare Tunnel, there are no plans, quotas, or third-party dashboards; your domain and data stay yours. Requires a VPS with ports 80 and 443 open, Docker, and a domain wit