projports CLI scans repos to map all declared ports before runtime
A developer has released projports, a lightweight Go command-line tool that scans a project repository and identifies every port declared across configuration files — entirely offline and without requiring a running Docker daemon. The tool parses sources including Docker Compose files, .env files, package.json scripts, Spring configs, Kubernetes manifests, Fly.io, Procfiles, and Vagrant forwarded ports. It addresses a common onboarding pain point where port conflicts only surface after attempting to start a multi-service project. Running with the -check flag, projports flags conflicting port declarations across files before any process is started. The tool is open source, installable via Go, and supports JSON output for use in CI pipelines and automated agents.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in