/request-indexing

Find your missing on pages Google and request them to be indexed using the Web Search Indexing API.

Primary LanguageTypeScriptMIT LicenseMIT

Request Indexing

Get your pages indexed on Google within 48 hours. (on average)


requestindexing.com 🥳
Please report any issues 🐛
Made possible by my Sponsor Program 💖
Follow me @harlan_zw 🐦 • Join Discord for help

Note

These docs are a work in progress. Please check back soon for updates.

Features

  • ⚡ Request indexing on new sites and pages, have them appear on Google in 48 hours.
  • 📊 Dashboard to see the search performance of all your Google Search Console sites.
  • 🗓️ Keep all your site data. Google Search Console data deletes site data longer than 16 months, start keeping it. (soon)

Background

Building a SaaS is quick and easy with Nuxt.

This project is an effort to prove that and was a success. I shipped the first version in 64 hours total.

Built With:

Credits to google-indexing-script is the inspiration for this project. Learn more about how it works by reading the Google Indexing Script.

Run Locally

  1. Git clone the project:
git clone git@github.com:harlan-zw/request-indexing.git
  1. Install deps:
pnpm i
  1. Configure the keys:

You will need to create a Google OAuth Client ID and Secret. You can do this by visiting the Google Developer Console.

The following scopes are required:

  • userinfo.email
  • webmasters.readonly
  • indexing

You will need to add the redirect URL to your OAuth client. This will be http://localhost:3000/auth/google and http://localhost:3000/auth/google-indexing.

NUXT_OAUTH_GOOGLE_CLIENT_ID=<clientId>
NUXT_OAUTH_GOOGLE_CLIENT_SECRET=<clientSecret>

You should also set a unique 32 character string for the security keys:

NUXT_KEY=<mustbe32chars>
NUXT_SESSION_PASSWORD=<secret>
  1. Start the server:
pnpm dev
  1. Building your site:

To build and deploy site you will need to purchase a Nuxt UI Pro license.

Once you have your license update your .env file with your license key:

NUXT_UI_PRO_LICENSE_KEY=<license>

Then run the build command:

pnpm build

That's it!

Sponsors

License

MIT License © 2022-PRESENT Harlan Wilton