Automatically submit your website URLs to Google Search Console for indexing using TypeScript. No more paid SEO tools needed!
- 🔄 Automatic URL submission to Google Search Console
- 📊 Support for multiple websites
- 🗺️ Sitemap parsing
- 📑 Optional CSV input for specific URLs
- ⚡ Fast and efficient
- 🔐 Secure authentication via Google Cloud Service Account
- 🌐 IndexNow support for faster indexing
git clone https://github.com/hormold/indexplease.git
cd indexplease
npm install
- Create a new project in Google Cloud Console if you don't have one already (it's free)
- Go to Google Cloud Console
- Click "+ CREATE SERVICE ACCOUNT"
- Fill in the details and create
- Under "Actions" → "Manage keys" → "Add key" → "Create new key"
- Choose JSON format (it will download automatically)
- Move the downloaded .json file to your project root
- Rename it to
service-account.json
- Go to Google Cloud Console
- Search for "Google Search Console API"
- Click "Enable"
- Open Google Search Console
- Go to Settings → Users and Permissions → Add User
- Add your service account email (looks like:
[email protected]
) - Set permission level to "Owner"
# Development
npm run dev
Create a .env
file:
SERVICE_ACCOUNT_PATH=./service-account.json
USE_CSV_INPUT=false # Set to true to use urls.csv
If you want to index specific URLs, create urls.csv
:
https://example.com
https://example.com/about
https://example.com/contact
Then set USE_CSV_INPUT=true
in your .env
file.
The tool automatically maintains an indexed-urls.json
file that tracks all previously indexed URLs. This allows you to:
- Skip already indexed URLs
- Re-index only specific URLs
- Keep track of your indexing history
The file is created automatically on first run.
Pull requests are welcome! For major changes, please open an issue first.
IndexNow is a protocol that allows you to submit your website URLs to search engines for faster indexing.
MIT
Made with ❤️ for the SEO community