pugloo
open source · agent-ready · mit

A preview URL in
one command

Turn localhost into a stable public HTTPS URL your coding agent can create and share. Local HTTPS, routing, and WebSockets too.

$ pugloo preview
 https://myapp-feat-login.pugloo.show → localhost:3000

free · no account to start · macOS & Linux · Node 18+

* * *
preview urls

# Made for agents

Stable per-branch URL, returned as JSON. Same branch, same link — across pushes, machines, and CI.

$ pugloo preview --json
{"url":"https://myrepo-feat-login.pugloo.show",
 "branch":"feat/login", "stability":"account"}
* * *
local https

# HTTPS on localhost

Map a .test domain to a port. Local CA, per-domain certs, hosts managed — green lock, zero config.

$ pugloo map app.test 3000
$ pugloo map app.test/api 8080
app.test      → :3000     app.test/api → :8080
* * *
for agents

# Native MCP server

Your agent gets create_preview as a tool — change, ship a preview, reply with the URL.

$ claude mcp add pugloo -- pugloo mcp

Full contract in AGENTS.md.

* * *
install
$ npm install -g pugloo

Then pugloo preview, or pugloo login to sign in. Self-host the gateway.