portless
БесплатноБез исполняемых скриптовНе проверенNamed HTTPS .localhost URLs with portless (v0.15.x): no port collisions, branch subdomains for worktrees, LAN and Tailscale sharing. Use for local dev URLs…
от yonatangross★ 312 звёзд на GitHubОб этом скилле
Portless Integration
Named .localhost URLs for local development. Replaces localhost:3000 with https://myapp.localhost.
Full CLI reference: Load
Read("references/upstream.md")for complete command docs.
New in 2026-04 → 2026-07 (portless 0.10.x → 0.15.0)
portless doctor(0.15.0) — read-only diagnostics that check Node.js, the state directory, proxy liveness, route entries, hostname resolution, HTTPS CA trust, and LAN prerequisites, then print suggested fixes. Run it before filing an issue or when a.localhostURL won't resolve.- HTTP/2 Host forwarding fix (0.15.0) — the proxy now forwards the HTTP/2
:authorityasHostto HTTP/1.1 backends, fixing apps that readHostand previously saw127.0.0.1for browser traffic.--forcetakeover cleanup now removes only routes still owned by the exiting process, so a forced takeover no longer deregisters the new owner's route. --ngrokflag (0.14.0) — share an app publicly via ngrok while local access keeps its.localhostURL. Pair with the existing Tailscale/Funnel options when you need a public URL without giving up the named-subdomain dev experience.- Node.js 24+ required (0.13.1, BREAKING) — the proxy and CLI now require Node.js 24 or newer; older runtimes are unsupported. This release also hardens startup-service persistence so
.localhostURLs survive reboot reliably. - State directory moved to
~/.portless(0.11, BREAKING) — state relocated from scattered/temp locations to~/.portless; override withPORTLESS_STATE_DIR. Old state from pre-0.11 installs is not migrated automatically. - OS startup service (0.13.0) —
portless service install/service status/service uninstallregister a native startup service for the HTTPS proxy across macOS launchd, Linux systemd, and Windows Task Scheduler..localhostURLs survive reboot without a manualportless proxy start.portless cleanremoves the service alongside CA + hosts cleanup. - Tailscale readiness preflight (0.13.0) —
--tailscaleand--funnelnow validate Tailscale HTTPS + Funnel prerequisites before starting the child process, surfacing actionable errors instead of hanging during registration. - Tailscale integration (0.12.0) —
--tailscaleshares your app over your tailnet with automatic HTTPS on port 443;--funnelexposes it publicly via Tailscale Funnel. Apps receivePORTLESS_TAILSCALE_URLso they can reference their own public address.portless listnow shows tailnet URLs. - Zero-config mode (0.11.0) — bare
portlessauto-discovers dev scripts frompackage.json. Multi-app monorepos get automatic subdomain assignment; Turborepo task-graph integration is wired in.portless.jsonconfig file supported.--scriptoverrides the default "dev" script. portless prune— removes orphaned dev servers and stale Tailscale registrations.portless clean(extended) — now also tears down Tailscale registrations alongside CA + hosts cleanup.- Rsbuild + VitePlus auto-port injection — same auto-wiring as Vite/Next.
- State directory moved to
~/.portless(was scattered). - HTTPS on 443 by default (breaking from 0.9.x http:1355). Valid cert, no setup.
--no-tlsreverts. NODE_EXTRA_CA_CERTSauto-injected (0.10.2) into child processes — node HTTPS calls trust portless CA with zero setup.--wildcardsubdomains —https://*.myapp.localhostfor multi-tenant / preview routing.portless alias <name> <port>— map a docker-compose / emulate port to a named URL without a long-runningrunprocess.portless clean— full teardown: stops proxy, removes CA, wipes state, cleans/etc/hosts.--lanmode — mDNS.localhostnames reachable across wifi (phone, tablet, other machines) without router config.- Fixed app ports —
--app-port 3000/PORTLESS_APP_PORTfor tools that need a known port (debuggers, docker). - hosts-sync on by default for Safari compat (disable with
PORTLESS_SYNC_HOSTS=0). - HTTP/2 HMR fixes for Vite/VitePlus/Next.js dev — websocket upgrades no longer break under h2.
- Expo / React Native support —
portless run expo startgives Metro a stable URL for device QR codes.
When to Use
- Starting a dev server that agents or browser tests will target
- Running multiple services locally (API + frontend + docs)
- Working in git worktrees (branch-named subdomains)
- Local OAuth flows (stable callback URLs)
- Connecting emulate API mocks to named URLs
Quick Start
# Instead of: npm run dev (random port)
portless run npm run dev
# → https://myapp.localhost (stable, named, HTTPS on 443 — default in 0.10+)
# Multi-service
portless run --name api npm run dev:api
portless run --name web npm run dev:web
# → https://api.localhost, https://web.localhost
# LAN mode (0.10.0) — reachable from phone/tablet via mDNS
portless proxy start --lan
portless run npm run dev
# → https://myapp.local (resolves across the local network
Установить portless в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл portless?
Named HTTPS .localhost URLs with portless (v0.15.x): no port collisions, branch subdomains for worktrees, LAN and Tailscale sharing. Use for local dev URLs. Not for production, CI or DNS hosting.
Как установить скилл portless?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл portless запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub