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!