{"id":16839143,"url":"https://github.com/cyqsimon/what-the-port","last_synced_at":"2025-07-29T02:08:10.063Z","repository":{"id":242853450,"uuid":"810761279","full_name":"cyqsimon/what-the-port","owner":"cyqsimon","description":"Port lookup tool","archived":false,"fork":false,"pushed_at":"2025-01-09T07:11:42.000Z","size":314,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-22T02:42:25.603Z","etag":null,"topics":["cli","cross-platform","lookup","port","tool"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cyqsimon.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-06-05T09:59:49.000Z","updated_at":"2025-02-13T16:32:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"f80b4a13-32cf-4959-8064-61da10d9b9b1","html_url":"https://github.com/cyqsimon/what-the-port","commit_stats":null,"previous_names":["cyqsimon/what-the-port"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/cyqsimon/what-the-port","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyqsimon%2Fwhat-the-port","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyqsimon%2Fwhat-the-port/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyqsimon%2Fwhat-the-port/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyqsimon%2Fwhat-the-port/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cyqsimon","download_url":"https://codeload.github.com/cyqsimon/what-the-port/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyqsimon%2Fwhat-the-port/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267617643,"owners_count":24116208,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"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","cross-platform","lookup","port","tool"],"created_at":"2024-10-13T12:29:36.630Z","updated_at":"2025-07-29T02:08:10.037Z","avatar_url":"https://github.com/cyqsimon.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# what-the-port\n\nQuickly lookup what a port is used for or what port to use.\n\n[![Demo](https://asciinema.org/a/tgWvNGTvEmbhkK0hzmusu3hHp.svg)](https://asciinema.org/a/tgWvNGTvEmbhkK0hzmusu3hHp)\n\nAll links are clickable if your terminal supports [OSC8](https://github.com/Alhadis/OSC8-Adoption).\nIf not, you can always use `-l|--links` and/or `-r|--references` to print them in a separate section.\n\nIn case you are a [`NO_COLOR`](https://no-color.org/) kind of person, we got you covered as well,\nthanks to the magic of [`yansi`](https://docs.rs/yansi/latest/yansi/struct.Condition.html#associatedconstant.TTY_AND_COLOR).\n\n## Install\n\nThis tool is very new, so it hasn't been packaged in many places.\n\nIf you would like to help package it, please do so and submit an issue/PR so we can list it here.\n\n### AUR\n\n`paru -S what-the-port`\n\n### Build locally\n\n`cargo install what-the-port`\n\n## How it works\n\nIn essence, this program is a scraper + parser that takes the information in the excellent Wikipedia page\n[List of TCP and UDP port numbers](https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers)\nand presents it after formatting the data. There is really nothing special about it.\n\nThe main sell, as is the case for many CLI tools, is that of convenience.\nInstead of having to open up a browser, navigate to the page and scroll or search,\nyou can do it from the comfort of your terminal with one command.\nThere is also the additional benefit that you can now do this lookup offline thanks to caching.\n\nOf course, the intrinsic issue with any scraper is that it isn't particularly resilient.\nWikipedia is intended for human consumption first and foremost, not for a program.\nI fully expect this tool to have issues regularly, when the Wikipedia page gets updated\nin an unhandled way. Therefore most aspects of this tool are written to be fail-safe,\nmeaning it will try its best to produce usable output. If you encounter errors or warnings,\nplease report them as issues.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyqsimon%2Fwhat-the-port","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcyqsimon%2Fwhat-the-port","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyqsimon%2Fwhat-the-port/lists"}