A Raycast extension to quickly search for IP addresses across all your Google Cloud Platform projects.
Before using this extension, you need:
gcloud CLI installed:
brew install google-cloud-sdk
Authenticated with GCP:
gcloud auth login
Node.js (v18 or later) installed
Clone this repository:
cd /path/to/raycast-gcp-ip-search
Install dependencies:
npm install
Start development mode:
npm run dev
Open Raycast and search for "Search IP Address"
Once you're ready to publish to the Raycast Store:
npm run publish
Follow the prompts to submit your extension.
Cmd + M to switch modes. Enter does nothing to prevent accidental switching.Enter to configure your custom project list.The extension will:
Enter - Open in GCP Console (in result view) / Configure Custom Projects (in Custom Mode Welcome view)β + Enter - Copy GCP Console URLβ + D - Toggle Details Viewβ + M - Cycle Search Modes (Quick -> Detailed -> Custom)β + Shift + P - Configure Custom Projects (Only in Custom Mode)β + X - Remove from HistoryThe extension searches for IPs in:
raycast-gcp-ip-search/
βββ src/
β βββ search-ip.tsx # Main command UI
β βββ utils.ts # GCP CLI utilities
βββ assets/
β βββ icon.png # Extension icon
βββ package.json # Extension manifest
βββ tsconfig.json # TypeScript config
npm run dev - Start development mode with hot reloadnpm run build - Build the extensionnpm run lint - Lint the codenpm run fix-lint - Auto-fix linting issuesnpm run publish - Publish to Raycast StoreMake sure gcloud is installed and in your PATH:
which gcloud
# Should output: /usr/local/bin/gcloud or similar
Ensure you're authenticated:
gcloud auth list
# Should show your account
Try listing projects manually:
gcloud projects list
npm run dev is runningPin-Yi
MIT License - feel free to use and modify as needed!