Google Indexing Script

Get your entire site indexed on Google in under 48 hours with a simple script and Google API.

2024-02-02

The Google Indexing Script is a powerful tool designed to expedite the indexing process of your website on Google. By utilizing the Google Indexing API, this script ensures that your web pages are discovered and indexed by Google in less than 48 hours, without resorting to any black-hat SEO techniques or hacks.

Key Features:

  • Quick Indexing: Significantly reduces the time it takes for Google to index your pages.
  • Structured Data Requirement: Works exclusively with pages that include either JobPosting or BroadcastEvent structured data.
  • No Ranking Impact: It’s important to note that this script only aids in indexing, not in improving your page’s ranking on Google.

Requirements:

  • Node.js installed on your machine (preferably version 20 or later).
  • A Google Search Console account with verified sites.
  • A Google Cloud account with the Indexing API enabled.
  • Service account credentials in a service_account.json file.

Installation & Usage:

  1. Install the script globally via npm: npm i -g google-indexing-script.
  2. Clone the repository and install dependencies.
  3. Place your service_account.json file in the ~/.gis directory.
  4. Run the script with your domain or specific URL: gis <domain or url>.

Additional Options:

  • Environment Variables: Use GIS_CLIENT_EMAIL and GIS_PRIVATE_KEY for authentication.
  • Custom Paths: Specify a custom path to your service_account.json file.
  • NPM Module: Integrate the script into your own projects for automated indexing.

Important Notes:

  • Your site must have sitemaps submitted to Google Search Console.
  • The script can be run multiple times, indexing only new or unindexed pages.
  • Larger sites may take longer to index; patience is required.

License:

This project is open-source under the MIT License and is sponsored by SEO Gets.

SEO Google Indexing Web Development Automation Node.js