portless
AGENTS.md13k starsChanged 2 months agoApache-2.0View on GitHub
Use pnpm for all package management commands (not npm or yarn). Exception: End-user install instructions should use npm install -g (global) or npm install -D (project dev dependency) since npm is universal. Always check for the latest npm version when adding dependencies. Use pnpm add <package> (without version) to get the latest, or verify with npm view <package> version first. Do not use emojis anywhere in this repository (code, comments, output, docs). Never use -- as a dash in prose,…
- Installs packages
Trending
More talk lately.about the whole repository
Who's talking about vercel-labs/portless
- @camilleroux.com“Portless remplace tes `localhost:3000` par des URLs stables et nommées : `https://myapp.localhost`. Gère …”Bluesky · Mar 20, 2026 · 10 likes
- @skaldebane.dev“portless is awesome! got fancy `.test` domains set up on all my web/server projects during local …”Bluesky · Mar 15, 2026 · 7 likes
- @nearestnabors.com“If you're running more than one coding agent, you're running into localhost conflicts. Portless will fix …”Bluesky · Mar 20, 2026 · 6 likes
- @christianminich.com“Used portless today and I never want to see “localhost:3000” and friends ever again. …”Bluesky · Aug 19, 2026 · 5 likes
- @fpl9000.bsky.social“github.com/vercel-labs/...”Bluesky · Feb 16, 2026 · 4 likes
The biggest 5 of 72 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 72
Talked about on GitHub, Bluesky and Hacker News (72 times).
On GitHub · 47
- Sep 21, 2026chore(deps): bump the development-minor-patch group across 1 directory with 8 updates — MarcosCamara01/ecommerce-template1 reaction · 2 comments
- Sep 14, 2026chore(deps): bump the development-minor-patch group with 7 updates — MarcosCamara01/ecommerce-template1 reaction · 2 comments
- Sep 8, 2026chore(deps): bump the development-minor-patch group with 9 updates — MarcosCamara01/ecommerce-template1 reaction · 3 comments
- Aug 30, 2026chore(deps): modernize dependencies and tooling — minpeter/minpeter.v21 reaction · 2 comments
- Jun 4, 2026build(deps-dev): bump portless from 0.12.0 to 0.13.0 — phantompane/phantom1 reaction
42 more on GitHub
- May 16, 2026build(deps-dev): bump portless from 0.11.1 to 0.12.0 — phantompane/phantom1 reaction
- May 13, 2026build(deps-dev): bump portless from 0.10.3 to 0.11.1 — phantompane/phantom1 reaction
- Apr 13, 2026feat(portless): add Portless plugin to marketplace — pleaseai/claude-code-plugins1 reaction · 1 comment
- Mar 14, 2026Use ‘portless’ for human-friendly url’s? — techie2000/axiom1 reaction
- Mar 7, 2026registry: add portless (npm:portless) — jdx/mise1 reaction · 2 comments
- Mar 2, 2026Support custom hostname for portless / .localhost URL compatibility — vercel-labs/dev30001 reaction · 4 comments
- Oct 5, 2026chore(deps): bump the npm-minor-and-patch group across 1 directory with 12 updates — tmustier/pi-for-excel0 reactions · 1 comment
- Oct 5, 2026chore(deps): bump the npm group across 1 directory with 5 updates — Miragon/slidev-deck-template0 reactions · 2 comments
- Oct 5, 2026build(deps): bump the all-others group across 1 directory with 10 updates — anyulled/devbcn-nextjs0 reactions · 1 comment
- Oct 5, 2026chore(deps): bump the production-dependencies group with 10 updates — aquariolabs/blockbase0 reactions · 1 comment
- Oct 5, 2026chore(deps-dev): bump the development-dependencies group with 5 updates — LayishSieger/registry0 reactions · 2 comments
- Oct 5, 2026chore(deps)(deps-dev): bump portless from 0.15.6 to 0.15.7 — xabierlameiro/env-typegen0 reactions · 2 comments
- Oct 5, 2026build(deps): bump the minor-and-patch group across 1 directory with 22 updates — raveltan/nuxvel0 reactions
- Oct 4, 2026claude-code-plugins.github.vercel-labs.portless: init at 0.15.7 — sudosubin/agents.nix0 reactions
- Oct 4, 2026chore(deps-dev): bump the development-dependencies group across 1 directory with 12 updates — Umah-Creative/baithani-winner-picker0 reactions
- Oct 4, 2026Bump the minor-and-patch group across 1 directory with 31 updates — mblode/icons0 reactions · 1 comment
- Oct 4, 2026agent-skills.github.vercel-labs.portless: 0.15.6 → 0.15.7 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.vercel-labs.portless: init at 0.15.6 — sudosubin/agents.nix0 reactions
- Sep 28, 2026chore(deps): bump the development-minor-patch group with 10 updates — demo-nexoar/ecommerce0 reactions
- Sep 28, 2026chore(deps): bump the development-minor-patch group across 1 directory with 9 updates — MarcosCamara01/ecommerce-template0 reactions · 1 comment
- Sep 23, 2026deps(deps-dev): bump portless from 0.15.5 to 0.15.6 — psg2/feed-reader0 reactions · 4 comments
- Sep 14, 2026chore(deps): bump the npm-minor-and-patch group across 1 directory with 11 updates — netzbegruenung/gruenerator-excel0 reactions
- Sep 14, 2026chore(deps): bump the npm-minor-and-patch group across 1 directory with 11 updates — Jayanth-Ace/ev-excel0 reactions
- Sep 13, 2026chore(deps-dev): Bump portless from 0.15.5 to 0.15.6 in /frontend — frankieramirez/comicarr0 reactions · 3 comments
- Sep 4, 2026chore(deps): bump the minor group across 1 directory with 13 updates — milis92/nestjs-boilerplate0 reactions
- Sep 3, 2026chore(dev): add named portless URLs to dev.sh — Parra-Inc/feedback-mcp0 reactions
- Sep 1, 2026build(deps-dev): bump the npm group across 1 directory with 2 updates — baronunread/sproutboat0 reactions · 1 comment
- Sep 1, 2026chore(deps-dev): bump portless from 0.15.5 to 0.15.6 — rifandani/be-monorepo0 reactions · 2 comments
- Aug 31, 2026chore(deps-dev): bump portless from 0.15.5 to 0.15.6 — drakkr-team/epartim-v20 reactions · 1 comment
- Aug 31, 2026chore(deps-dev): bump portless from 0.14.0 to 0.15.6 — TinyCloudLabs/openkey0 reactions · 2 comments
- Aug 30, 2026chore(deps): bump portless from 0.15.5 to 0.15.6 — nickytonline/nickytdotco0 reactions · 3 comments
- Aug 20, 2026fix: avoid turbo duplicate route registration when root dev is portless (#332) — sohelshekhIn/portless0 reactions
- Aug 14, 2026chore(deps): bump the npm-minor-and-patch group across 1 directory with 11 updates — e1wayt1cket/pi4office0 reactions · 1 comment
- Aug 13, 2026Bump portless from 0.15.1 to 0.15.5 — superloglabs/responder-oss0 reactions · 1 comment
- Aug 6, 2026build(deps): bump portless from 0.13.0 to 0.15.5 — WayneGoosen/portless-dashboard0 reactions
- Jul 9, 2026npm(deps-dev): bump portless from 0.10.3 to 0.15.1 in the dev-dependencies group across 1 directory — fsegurai/scrollspy0 reactions · 3 comments
- Jul 6, 2026chore(deps-dev): bump portless from 0.14.0 to 0.15.1 — rikisamurai/guoba-ai0 reactions · 2 comments
- Jun 5, 2026add portless to start frontend apps — AmanVarshney01/create-better-t-stack0 reactions
- May 5, 2026vercel portless — radum/dotfiles0 reactions
- May 1, 2026build(deps-dev): bump the tooling group across 1 directory with 2 updates — anyulled/FaceLocator0 reactions · 1 comment
- Mar 15, 2026feat: portless integration for human-friendly local dev URLs — techie2000/axiom0 reactions
- Feb 20, 2026Agent: GitHub Mining Agent — first real AgentOS workload (daily repo analysis) — aryayt/flow0 reactions
On Bluesky · 24
- Mar 20, 2026Portless remplace tes `localhost:3000` par des URLs stables et nommées : `https://myapp.localhost`. Gère les sous-domaines, détecte les git… — @camilleroux.com10 likes and reposts
- Mar 15, 2026portless is awesome! got fancy `.test` domains set up on all my web/server projects during local development no more messy browser history!… — @skaldebane.dev7 likes and reposts · 1 reply
- Mar 20, 2026If you're running more than one coding agent, you're running into localhost conflicts. Portless will fix that for you AND it works with git… — @nearestnabors.com6 likes and reposts · 2 replies
- Aug 19, 2026Used portless today and I never want to see “localhost:3000” and friends ever again. github.com/vercel-labs/... — @christianminich.com5 likes and reposts
- Feb 16, 2026github.com/vercel-labs/... — @fpl9000.bsky.social4 likes and reposts · 1 reply
19 more on Bluesky
- May 3, 2026Un outil pour exposer une app locale en HTTPS avec un nom de domaine (local également). 🔗 https://github.com/vercel-labs/portless #https… — @kalvn.net3 likes and reposts
- Feb 26, 2026ポート番号の代わりに`myapp.localhost`のような名前付き`.localhost` URLを使えるようにする開発用プロキシツール。 `portless proxy start`でデーモンを起動し、`portless myapp next… — @azu.bsky.social3 likes and reposts
- Sep 2, 2026📦 vercel-labs / portless ⭐ 11,500 (+69) 🗒 TypeScript Replace port numbers with stable, named local URLs. For humans and agents. — @github-trending.bsky.social2 likes and reposts
- Aug 21, 2026https://github.com/vercel-labs/portless — @sigmanor.net2 likes and reposts
- Jun 3, 2026vercel-labs/portless Replace port numbers with stable, named .localhost URLs for local development. No more localhost:3000 — get… — @reposcout.bsky.social2 likes and reposts
- Apr 24, 2026vercel-labs/portless: Replace port numbers with stable, named local URLs. For humans and agents. #devopsish — @chrisshort.net2 likes and reposts
- Apr 20, 2026📦 vercel-labs / portless ⭐ 7,169 (+45) 🗒 TypeScript Replace port numbers with stable, named local URLs. For humans and agents. — @github-trending-js.bsky.social2 likes and reposts
- Mar 3, 2026portless 진짜 내가 에이전틱 코딩 하면서 정확히 완전히 딱 가려운 곳이었는데 이걸 긁어주네.. 역시 vercel이 참 잘하고 무섭다. 제발 내 법인을 인수해 줘... github.com/vercel-labs/... — @kivol.net2 likes and reposts
- Feb 27, 2026Why does every project now need to be "for agents"? Opening a port? Better make it for agents! github.com/vercel-labs/... If your agent can… — @theorangeone.net2 likes and reposts
- Sep 2, 2026📦 vercel-labs / portless ⭐ 11,500 (+69) 🗒 TypeScript Replace port numbers with stable, named local URLs. For humans and agents. — @github-trending-js.bsky.social1 likes and repost
- Aug 21, 2026github.com/vercel-labs... — @anotherbug.com1 likes and repost
- Apr 30, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 vercel-labs / portless ⭐ 8,312 (+393) 🗒 TypeScript Replace port numbers with stable, named local… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Mar 20, 2026Love that the tagline is "for humans and agents." The same abstraction that hides port conflicts from developers hides port-based IOCs from… — @4n68r.com1 likes and repost
- Mar 19, 2026Portless : remplacer les ports par des URLs nommées en développement local — @news.humancoders.com1 likes and repost
- Mar 2, 2026https://github.com/vercel-labs/portless — @tom-doerr.bsky.social1 likes and repost
- Feb 20, 2026github.com/vercel-labs/por... GitHub - vercel-labs/portless: Replace port numbers with stable, named .localhost URLs. For huma... — @technews4869.bsky.social1 likes and repost
- Feb 20, 2026GitHub - vercel-labs/portless: Replace port numbers with stable, named .localhost URLs. For humans and agents.… — @tech-trending.bsky.social1 likes and repost
- Feb 19, 2026ポート番号の代わりに安定した名前付きの`.localhost` URLを使えるようにするVercel Labsのツールらしい ローカル開発でポート競合に悩む開発者には便利そうかな yug1224 starred vercel-labs/portless… — @yug1224.com1 likes and repost
- Feb 17, 2026github.com/vercel-labs/... — @thani.sh1 likes and repost
On Hacker News · 1
- Feb 16, 2026Vercel-labs/portless: Replace port numbers with stable, named .localhost URLs3 points
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
19 rules. About 0 are common, 8 are distinctive, and 11 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 5
Use pnpm for all package management commands (not npm or yarn).
- Very specific: line 11
Always check for the latest npm version when adding dependencies.
- Distinctive: line 15
Do not use emojis anywhere in this repository (code, comments, output, docs).
- Very specific: line 19
Never use -- as a dash in prose, comments, or user-facing output.
- Very specific: line 23
Document boolean env vars using only 0 and 1 in CLI help, SKILL.md, docs pages, and README.
- Very specific: line 27
When a change affects how humans or agents use portless (new/changed/removed commands, flags, behavior, or config), update all of these:
- Very specific: line 39
Create a branch (e.g. prepare-v1.2.0)
- Very specific: line 41
Write the changelog entry in CHANGELOG.md, wrapped in <!-- release:start --> and <!-- release:end --> markers
- Very specific: line 42
Remove the <!-- release:start --> and <!-- release:end --> markers from the previous release entry (only the latest release should have …
- Very specific: line 43
Add a matching entry to apps/docs/content/docs/changelog.mdx
- Very specific: line 52
All scripts require AWS_PROFILE=portless-debug (or the profile must be set as default).
- Distinctive: line 70
Start the instance (if stopped):
- Distinctive: line 76
Run a command on Windows:
- Distinctive: line 88
Stop the instance when done (avoids cost):
- Very specific: line 96
SSM agent takes a long time to come online: After starting or restarting the instance, the SSM agent can take 5 to 10 minutes before it …
- Distinctive: line 114
Run unit tests on Windows:
- Distinctive: line 120
Run e2e tests on Windows:
- Distinctive: line 126
Check bootstrap progress (first boot only):
- Distinctive: line 142
Use this source code when you need to understand how a package works internally, not just its types/interface.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Agent Rules
Package Manager
Use pnpm for all package management commands (not npm or yarn).
Exception: End-user install instructions should use npm install -g (global) or npm install -D (project dev dependency) since npm is universal.
Dependencies
Always check for the latest npm version when adding dependencies. Use pnpm add <package> (without version) to get the latest, or verify with npm view <package> version first.
No Emojis
Do not use emojis anywhere in this repository (code, comments, output, docs).
Dashes
Never use -- as a dash in prose, comments, or user-facing output. Use an em dash (\u2014) when a dash is needed, but prefer rephrasing to avoid dashes entirely. The only exception is CLI flags (e.g. --port).
Boolean Environment Variables
Document boolean env vars using only 0 and 1 in CLI help, SKILL.md, docs pages, and README. Code accepts true/false as well (and skip for PORTLESS), but these alternatives are not documented.
Docs Updates
When a change affects how humans or agents use portless (new/changed/removed commands, flags, behavior, or config), update all of these:
README.md(user-facing documentation)skills/portless/SKILL.md(agent skill for using portless)packages/portless/src/cli.ts(--helpoutput)
Releasing
Releases are manual, single-PR affairs. The maintainer controls the changelog voice and format.
To prepare a release:
- Create a branch (e.g.
prepare-v1.2.0) - Bump the version in
packages/portless/package.json - Write the changelog entry in
CHANGELOG.md, wrapped in<!-- release:start -->and<!-- release:end -->markers - Remove the
<!-- release:start -->and<!-- release:end -->markers from the previous release entry (only the latest release should have markers) - Add a matching entry to
apps/docs/content/docs/changelog.mdx - Open a PR and merge to
main
CI compares the version in packages/portless/package.json to what's on npm. If it differs, it builds, publishes, and creates the GitHub release automatically. The release body is extracted from the content between the markers.
Windows Debugging
A remote Windows Server 2022 EC2 instance is available for debugging Windows-specific issues. It uses AWS Systems Manager (SSM) with no SSH or open ports. Commands run via aws ssm send-command and return stdout/stderr.
All scripts require AWS_PROFILE=portless-debug (or the profile must be set as default). Prefix every command with it or export it for the session:
export AWS_PROFILE=portless-debugPrerequisites
The instance must be provisioned first (one-time, by a human):
./scripts/windows-debug/provision.shRequires: AWS CLI v2 configured with ec2:*, iam:CreateRole, iam:AttachRolePolicy, ssm:SendCommand, ssm:GetCommandInvocation permissions and a default VPC.
Usage
Start the instance (if stopped):
./scripts/windows-debug/start.shRun a command on Windows:
./scripts/windows-debug/run.sh "<powershell-command>"Sync the current git branch and rebuild:
./scripts/windows-debug/sync.shStop the instance when done (avoids cost):
./scripts/windows-debug/stop.shImportant notes
SSM agent takes a long time to come online. After starting or restarting the instance, the SSM agent can take 5 to 10 minutes before it accepts commands. If run.sh returns InvalidInstanceId, wait and retry. Do not assume the instance is broken; poll with increasing intervals.
PowerShell uses ; not &&. The run.sh wrapper executes PowerShell, which does not support && as a command separator. Use ; instead:
./scripts/windows-debug/run.sh "cd C:\portless; pnpm test"OpenSSL may not be at the expected path. The bootstrap installs OpenSSL to C:\Program Files\OpenSSL-Win64\bin, but this can fail silently. Git bundles its own OpenSSL at C:\Program Files\Git\mingw64\bin. If openssl is not found, add Git's path:
./scripts/windows-debug/run.sh '$env:PATH = "C:\Program Files\Git\mingw64\bin;$env:PATH"; openssl version'SSM runs as SYSTEM. Commands execute as the SYSTEM account, not a normal user. This affects user-specific operations (e.g., certutil -addstore -user Root targets SYSTEM's trust store, not a real user's). Keep this in mind when testing user-facing features.
Common Workflows
Run unit tests on Windows:
./scripts/windows-debug/run.sh "cd C:\portless; pnpm test"Run e2e tests on Windows:
./scripts/windows-debug/run.sh "cd C:\portless; pnpm test:e2e"Check bootstrap progress (first boot only):
./scripts/windows-debug/run.sh "Get-Content C:\bootstrap.log"The repo lives at C:\portless on the instance. Node.js 24, pnpm 11, Git, and OpenSSL are pre-installed. The run.sh wrapper automatically adds these tools to PATH.
<!-- opensrc:start -->Source Code Reference
Source code for dependencies is available in opensrc/ for deeper understanding of implementation details.
See opensrc/sources.json for the list of available packages and their versions.
Use this source code when you need to understand how a package works internally, not just its types/interface.
Fetching Additional Source Code
To fetch source code for a package or repository you need to understand, run:
npx opensrc <package> # npm package (e.g., npx opensrc zod)
npx opensrc pypi:<package> # Python package (e.g., npx opensrc pypi:requests)
npx opensrc crates:<package> # Rust crate (e.g., npx opensrc crates:serde)
npx opensrc <owner>/<repo> # GitHub repo (e.g., npx opensrc vercel/ai)<!-- opensrc:end -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

