Repository navigation
Add port-from-project-name extension - #22312
Conversation
|
Congratulations on your new Raycast extension! 🚀 Due to our current reduced availability, the initial review may take up to 10 business days. Once the PR is approved and merged, the extension will be available on our Store. |
left a comment
There was a problem hiding this comment.
Greptile Overview
Summary
This PR adds a new extension that generates deterministic 4-digit ports (1000-9999) from project names using MD5 hashing. The implementation is clean and well-structured with two commands: port generation and history management.
Key highlights:
- Deterministic port generation algorithm using MD5 hashing with proper collision acknowledgment
- History tracking with automatic cleanup (1000 entry limit)
- Proper use of
useLocalStoragefrom@raycast/utilsfor persistence - Configuration follows Raycast standards (Prettier, ESLint)
- Comprehensive documentation and metadata screenshots included
- Appropriate platform specification for cross-platform compatibility
Minor observation:
- One minor casing inconsistency in action labels between the two command files
Confidence Score: 5/5
- This PR is safe to merge with minimal risk
- The extension follows all Raycast guidelines and coding standards. The implementation is straightforward with proper state management, no external dependencies beyond Raycast utilities, and comprehensive documentation. The only item noted is a minor style inconsistency that doesn't affect functionality.
- No files require special attention
Important Files Changed
File Analysis
| Filename | Score | Overview |
|---|---|---|
| extensions/port-from-project-name/package.json | 5/5 | Clean configuration with proper metadata, dependencies, and platform specification |
| extensions/port-from-project-name/src/generate-port.tsx | 5/5 | Implements deterministic port generation with history tracking and proper state management |
| extensions/port-from-project-name/src/view-port-history.tsx | 4/5 | History view with search and management actions; minor inconsistency in action label casing |
9 files reviewed, 1 comment
… generate-port.tsx Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
left a comment
There was a problem hiding this comment.
Hi 👋
Thanks for your contribution 💪
I have now tested your extension, and I have some feedback ready for you:
-
Could you add at least one screenshot of the extension and add them to a folder called
metadata- you need to use our tool to get the right padding on the images -
You can get command arguments directly from raycast-env.d.ts (you don't need to set the interface yourself)
I'm looking forward to testing this extension again 🔥
Request a new review when you are ready. Feel free to contact me here or at Slack if you have any questions.
…d of creating its own interface
commented
Nov 8, 2025
|
Hello @pernielsentikaer. Thank you for reviewing my extension! I am using the Raycast Windows beta and I cannot find the built-in screenshot tool. I found a thread on Slack with people saying that it's not available for Windows yet. Can you please help me with the screenshots? I want them the same as the 3 screenshots in my comment at the very top. |
c55093a to
d022ff1
Compare
commented
Nov 17, 2025
|
Published to the Raycast Store: |
commented
Nov 17, 2025
|
🎉 🎉 🎉 Such a great contribution deserves a reward, but unfortunately we couldn't find your Raycast account based on your GitHub username (@Vethya). Please link your GitHub account to your Raycast account to receive your credits and soon be able to exchange them for some swag. |
commented
Nov 17, 2025
Greptile Summary
Confidence Score: 5/5
Important Files Changed
|
left a comment
There was a problem hiding this comment.
9 files reviewed, no comments
Edit Code Review Agent Settings | Greptile
React with 👍 or 👎 to share your feedback on this new summary format
commented
Nov 17, 2025
Thanks very much for your help and review! |
Description
A extension that generates unique 4-digit ports for your development projects based on the project name.
Features:
Usage:
1. Generate Port
Use the "Generate port" command in Raycast:
Example:
This will generate a consistent port number for the "my-react-app" project.
2. View Port History
Use the "Port History" command to:
How It Works
The extension uses a deterministic algorithm to generate ports:
Port Range: 1000-9999 (4-digit ports commonly used for development)
Important Notes
Privacy
Development
This extension is built with:
License
MIT License - feel free to use and modify as needed.
Screencast
Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare placed outside of themetadatafolder