{"id":22394272,"url":"https://github.com/qrichert/ports","last_synced_at":"2026-03-01T02:33:34.692Z","repository":{"id":247562303,"uuid":"826220887","full_name":"qrichert/ports","owner":"qrichert","description":"List listening ports.","archived":false,"fork":false,"pushed_at":"2025-05-17T18:12:36.000Z","size":70,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-19T14:39:46.061Z","etag":null,"topics":["cli","listen","network","ports","rust"],"latest_commit_sha":null,"homepage":"https://docs.rs/ports","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qrichert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-07-09T09:44:42.000Z","updated_at":"2025-09-13T20:55:17.000Z","dependencies_parsed_at":"2024-09-15T12:08:02.039Z","dependency_job_id":"9d886c9e-32bb-472e-8677-954ac12f4ba4","html_url":"https://github.com/qrichert/ports","commit_stats":null,"previous_names":["qrichert/ports"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/qrichert/ports","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qrichert%2Fports","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qrichert%2Fports/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qrichert%2Fports/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qrichert%2Fports/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qrichert","download_url":"https://codeload.github.com/qrichert/ports/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qrichert%2Fports/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29959129,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T01:47:18.291Z","status":"online","status_checked_at":"2026-03-01T02:00:07.437Z","response_time":124,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","listen","network","ports","rust"],"created_at":"2024-12-05T05:09:36.139Z","updated_at":"2026-03-01T02:33:34.670Z","avatar_url":"https://github.com/qrichert.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ports\n\n[![license: GPL v3+](https://img.shields.io/badge/license-GPLv3+-blue)](https://www.gnu.org/licenses/gpl-3.0)\n![GitHub Tag](https://img.shields.io/github/v/tag/qrichert/ports?sort=semver\u0026filter=*.*.*\u0026label=release)\n[![tokei (loc)](https://tokei.rs/b1/github/qrichert/ports?label=loc\u0026style=flat)](https://github.com/XAMPPRocky/tokei)\n[![crates.io](https://img.shields.io/crates/d/ports?logo=rust\u0026logoColor=white\u0026color=orange)](https://crates.io/crates/ports)\n[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/qrichert/ports/ci.yml?label=tests)](https://github.com/qrichert/ports/actions)\n\n_List listening ports._\n\nIt's sometimes hard to keep track of which process uses which port, or\nwhat is running in the background.\n\n```console\n$ ports 8000 50000-65535\nCOMMAND      PID  USER           HOST:PORT\nrapportd     449  Quentin          *:61165\nPython     22396  Quentin           *:8000\nrustrover  30928  Quentin  127.0.0.1:63342\nTransmiss  94671  Quentin          *:51413\n```\n\n\u003cdetails\u003e\u003csummary\u003eWith different levels of verbosity.\u003c/summary\u003e\n\u003cp\u003e\n\n```console\n$ ports -v 8000 50000-65535\nCOMMAND      PID  USER     TYPE        HOST:PORT  COMMAND\nrapportd     449  Quentin  IPv4          *:61165  /usr/libexec/rapportd\nrapportd     449  Quentin  IPv6          *:61165  /usr/libexec/rapportd\nPython     22396  Quentin  IPv6           *:8000  /usr/local/Cellar/python@3.12/3.12.3/Frameworks/Python.framework/Versions/3.12/Resources/Python.app/Contents/MacOS/Python -m http.server\nrustrover  30928  Quentin  IPv6  127.0.0.1:63342  /Applications/RustRover.app/Contents/MacOS/rustrover\nTransmiss  94671  Quentin  IPv4          *:51413  /Applications/Transmission.app/Contents/MacOS/Transmission\nTransmiss  94671  Quentin  IPv6          *:51413  /Applications/Transmission.app/Contents/MacOS/Transmission\n```\n\n```console\n$ ports -vv 8000 50000-65535\nCOMMAND      PID  USER     TYPE  NODE        HOST:PORT  %CPU  %MEM    START       TIME  COMMAND\nrapportd     449  Quentin  IPv4  TCP           *:61165   0.0   0.1  12Jul24    3:05.13  /usr/libexec/rapportd\nrapportd     449  Quentin  IPv6  TCP           *:61165   0.0   0.1  12Jul24    3:05.13  /usr/libexec/rapportd\nPython     22396  Quentin  IPv6  TCP            *:8000   0.0   0.1   5:47PM    0:00.18  /usr/local/Cellar/python@3.12/3.12.3/Frameworks/Python.framework/Versions/3.12/Resources/Python.app/Contents/MacOS/Python -m http.server\nrustrover  30928  Quentin  IPv6  TCP   127.0.0.1:63342  18.3  32.2  Mon06PM  295:40.56  /Applications/RustRover.app/Contents/MacOS/rustrover\nTransmiss  94671  Quentin  IPv4  TCP           *:51413   0.0   0.2   3Aug24   96:41.80  /Applications/Transmission.app/Contents/MacOS/Transmission\nTransmiss  94671  Quentin  IPv6  TCP           *:51413   0.0   0.2   3Aug24   96:41.80  /Applications/Transmission.app/Contents/MacOS/Transmission\n```\n\n\u003c/p\u003e\n\u003c/details\u003e\n\n## Installation\n\n### Directly\n\n```console\n$ wget https://github.com/qrichert/ports/releases/download/X.X.X/ports-X.X.X-xxx\n$ sudo install ./ports-* /usr/local/bin/ports\n```\n\n### Manual Build\n\n#### System-wide\n\n```console\n$ git clone https://github.com/qrichert/ports.git\n$ cd ports\n$ make build\n$ sudo make install\n```\n\n#### Through Cargo\n\n```shell\ncargo install ports\ncargo install --git https://github.com/qrichert/ports.git\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqrichert%2Fports","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqrichert%2Fports","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqrichert%2Fports/lists"}