Skip to content

Add ip-in-menu-bar extension#27283

Open
greiner-petter wants to merge 5 commits intoraycast:mainfrom
greiner-petter:ext/ip-in-menu-bar
Open

Add ip-in-menu-bar extension#27283
greiner-petter wants to merge 5 commits intoraycast:mainfrom
greiner-petter:ext/ip-in-menu-bar

Conversation

@greiner-petter
Copy link
Copy Markdown

@greiner-petter greiner-petter commented Apr 19, 2026

Description

This PR introduces the IP in Menu Bar Raycast extension.

The extension displays your public or local IP address directly in the macOS menu bar, always visible at a glance without opening any window.

Key Features:

Shows public (IPv4/IPv6) or local IP in the menu bar — user's choice.
Smart caching: public IP is refreshed every 15 minutes or when the network changes
Click any address to copy it to the clipboard instantly.
Supports multiple local network adapters with a built-in picker.
Detects network changes via adapter fingerprinting to keep addresses in sync.

Screencast

ip-in-menu-bar-1
ip-in-menu-bar-2
ip-in-menu-bar-3

Checklist

- fix prettier style
- Initial commit
@raycastbot raycastbot added the new extension Label for PRs with new extensions label Apr 19, 2026
@raycastbot
Copy link
Copy Markdown
Collaborator

Congratulations on your new Raycast extension! 🚀

We're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 10-15 business days.

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

- Initial commit
- remove images from readme
- fix prettier style
- Initial commit
@greiner-petter greiner-petter marked this pull request as ready for review April 19, 2026 18:48
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented Apr 19, 2026

Greptile Summary

This PR adds a new ip-in-menu-bar menu-bar extension that displays the user's public or local IP directly in the macOS menu bar, with smart 15-minute caching, network-change fingerprinting, adapter selection, and one-click copy. The implementation is clean and follows Raycast conventions well — Prettier config, ESLint v9 flat config, changelog template, and dependency usage all check out.

Confidence Score: 5/5

Safe to merge — only a minor category-list suggestion remains.

All findings are P2 style suggestions; there are no logic bugs, security concerns, or missing required artifacts. The caching strategy, network fingerprinting, and Raycast API usage are all sound.

extensions/ip-in-menu-bar/package.json (category list)

Important Files Changed

Filename Overview
extensions/ip-in-menu-bar/src/ip-in-menu-bar.tsx Core menu-bar command — well-structured with proper caching, network-change detection via fingerprinting, and clean use of useCachedState/usePromise from @raycast/utils.
extensions/ip-in-menu-bar/package.json Valid metadata; lists three categories (Developer Tools, Productivity, System) where a single most-specific category is preferred per project rules.
extensions/ip-in-menu-bar/eslint.config.js ESLint v9 flat config using defineConfig from eslint/config — correct pattern.
extensions/ip-in-menu-bar/.prettierrc Matches required Raycast standard: printWidth 120, singleQuote false.
extensions/ip-in-menu-bar/CHANGELOG.md Uses the required {PR_MERGE_DATE} placeholder — correct Raycast convention.
Prompt To Fix All With AI
This is a comment left during a code review.
Path: extensions/ip-in-menu-bar/package.json
Line: 9

Comment:
**Overly broad category list**

The project rules ask for the single most-specific category based on primary functionality. An IP address display utility fits squarely in `"System"` (OS-level controls and system behaviour), so `"Developer Tools"` and `"Productivity"` are redundant here.

```suggestion
  "categories": ["System"],
```

**Rule Used:** What: Assign at least one predefined category to e... ([source](https://app.greptile.com/review/custom-context?memory=f49debbf-b6f6-4c0d-9b35-e1927815992b))

How can I resolve this? If you propose a fix, please make it concise.

Reviews (1): Last reviewed commit: "Update ip-in-menu-bar extension" | Re-trigger Greptile

Comment thread extensions/ip-in-menu-bar/package.json Outdated
greiner-petter and others added 2 commits April 19, 2026 20:58
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
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: macOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants