Skip to content

Add ports extension - #21729

Merged
mathieudutour merged 7 commits into
raycast:mainfrom
diegoleteliers10:ext/ports
Nov 14, 2025
Merged

mathieudutour merged 7 commits into
raycast:mainfrom
diegoleteliers10:ext/ports

Conversation

@diegoleteliers10

@diegoleteliers10 diegoleteliers10 commented Sep 21, 2025 •

Copy link
Copy Markdown
Contributor

Description

Port Manager is a Raycast extension for Windows that helps you monitor and manage open TCP ports. It lets you quickly see which processes are using specific ports, search and filter results, copy details to the clipboard, and even terminate processes in one click—all with real-time updates and keyboard shortcuts.

Screencast

image

Checklist

@raycastbot raycastbot added the new extension Label for PRs with new extensions label Sep 21, 2025
@raycastbot

ghost commented Sep 21, 2025

Copy link
Copy Markdown
Collaborator

Congratulations on your new Raycast extension! 🚀

You can expect an initial review within five business days.

Once the PR is approved and merged, the extension will be available on our Store.

@diegoleteliers10
diegoleteliers10 marked this pull request as ready for review September 23, 2025 04:54

ghost left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Greptile Summary

This PR introduces a new "ports" extension that provides port management functionality for Windows systems. The extension allows users to view open TCP ports, identify associated processes, and terminate them using Windows-specific command-line tools (netstat and taskkill). However, this extension appears to duplicate the functionality of the existing "port-manager" extension already in the repository.

The implementation consists of a main package configuration, utility functions for fetching port information and killing processes, and standard configuration files. The extension is properly restricted to Windows platforms in the package.json using the platforms field, which is appropriate given its reliance on Windows-specific commands.

The extension follows the basic Raycast extension structure with proper ESLint and Prettier configurations that align with repository standards. However, there are several significant issues that prevent this extension from meeting Raycast's quality standards and guidelines.

PR Description Notes:

  • The PR description lacks a summary of what the extension does
  • No screencast or screenshots are provided despite this being a new extension
Changed Files
Filename Score Overview
extensions/ports/.prettierrc 5/5 Standard Prettier configuration following Raycast guidelines
extensions/ports/.gitignore 5/5 Standard gitignore file with appropriate exclusions
extensions/ports/eslint.config.js 5/5 Proper ESLint configuration using Raycast standards
extensions/ports/package.json 1/5 Contains Spanish text and duplicates existing port-manager functionality
extensions/ports/lib/fetchPorts.ts 2/5 Windows-specific implementation with Spanish text and inadequate error handling
extensions/ports/lib/killProcess.ts 2/5 Process killing function with Spanish text and missing best practices
extensions/ports/README.md 1/5 Inconsistent documentation with naming conflicts and incorrect format

Confidence score: 1/5

  • This PR is not safe to merge due to multiple critical issues that violate Raycast's core guidelines
  • Score reflects Spanish text usage in an English-only codebase, duplication of existing functionality, and missing required documentation elements
  • Pay close attention to all files containing Spanish text and the overall necessity of this extension given the existing port-manager

Context used:

Rule - If an extension uses platform-specific APIs (like AppleScript or paths that only exists on on platform) without alternatives, the package.json of the extension should specify a platforms field to restrict the extension to the specified platforms (https://developers.raycast.com/information/manifest). (link)
Rule - Extensions must include at least one screenshot in a metadata folder for store submission. (link)

7 files reviewed, 10 comments

Edit Code Review Bot Settings | Greptile

Comment thread extensions/ports/lib/fetchPorts.ts Resolved
Comment thread extensions/ports/lib/fetchPorts.ts Resolved
Comment thread extensions/ports/lib/fetchPorts.ts Resolved
Comment thread extensions/ports/lib/fetchPorts.ts Resolved
Comment thread extensions/ports/README.md Resolved
Comment thread extensions/ports/README.md Resolved
Comment thread extensions/ports/lib/killProcess.ts Resolved
Comment thread extensions/ports/lib/killProcess.ts Resolved
Comment thread extensions/ports/lib/killProcess.ts Resolved
Comment thread extensions/ports/lib/killProcess.ts Resolved
Diego Letelier and others added 6 commits September 23, 2025 02:04
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
@diegoleteliers10

ghost commented Sep 26, 2025

Copy link
Copy Markdown
Contributor Author

I fixed every error mentioned due to level up the confidence of the pr.

@diegoleteliers10

ghost commented Oct 22, 2025

Copy link
Copy Markdown
Contributor Author

@mathieudutour Hey! Any new on this pr?

@mathieudutour
mathieudutour merged commit 4bb8c1d into raycast:main Nov 14, 2025
@github-actions

ghost commented Nov 14, 2025

Copy link
Copy Markdown
Contributor

@raycastbot

ghost commented Nov 14, 2025

Copy link
Copy Markdown
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

@diegoleteliers10
diegoleteliers10 deleted the ext/ports branch December 7, 2025 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new extension Label for PRs with new extensions platform: Windows Windows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants