Indexplease
Tool to push all urls from sitemap to Google Search Console for faster reindex + IndexNow
Install / Use
/learn @Hormold/IndexpleaseREADME
🚀 IndexPlease - Google Search Console Auto-Indexer
Automatically submit your website URLs to Google Search Console for indexing using TypeScript. No more paid SEO tools needed!
Features
- 🔄 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
Quick Start for Google Search Console
1. Clone & Install
git clone https://github.com/hormold/indexplease.git
cd indexplease
npm install
2. Set Up Google Cloud Service Account
- 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
3. Enable Google Search Console API
- Go to Google Cloud Console
- Search for "Google Search Console API"
- Click "Enable"
4. Configure Google Search Console
- Open Google Search Console
- Go to Settings → Users and Permissions → Add User
- Add your service account email (looks like:
name@project-id.iam.gserviceaccount.com) - Set permission level to "Owner"
5. Run the Tool
# Development
npm run dev
Configuration
Environment Variables
Create a .env file:
SERVICE_ACCOUNT_PATH=./service-account.json
USE_CSV_INPUT=false # Set to true to use urls.csv
CSV Input (Optional)
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.
URL History
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.
Contributing
Pull requests are welcome! For major changes, please open an issue first.
IndexNow
IndexNow is a protocol that allows you to submit your website URLs to search engines for faster indexing.
License
MIT
Made with ❤️ for the SEO community
