Bash script that automates IndexNow API submissions to Bing, Yandex, Yahoo, Naver, and Seznam search engines for individual URLs, bulk lists, sitemaps, and web pages.
git clone https://github.com/nexoslabs/IndexNow.gitIndexNow is a Bash script that automates URL submission to major search engines including Microsoft Bing, Yandex, Yahoo, Naver, and Seznam through the IndexNow API. It supports four submission methods: single URL submission, bulk URLs from a file, URL extraction from XML sitemaps, and URL discovery from web pages. The script simplifies search engine indexing workflows by eliminating manual submissions and enabling batch processing of URLs. SEO professionals and website administrators benefit from faster index updates and reduced manual effort when notifying search engines of new or updated content.
Clone the repository and edit config/settings.env with your domain, IndexNow API key, and key location. Upload your API key verification file to your domain root. Run the script with bash scripts/indexnow.sh followed by flags: -u for single URL, -f for bulk file, -s for sitemap, or -p for web page URLs.
Submit newly published blog posts to search engines immediately after publication
Bulk update search engines with hundreds of URLs from a file
Automatically notify search engines of all pages listed in your XML sitemap
Discover and submit URLs found on a specific web page to IndexNow
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/nexoslabs/IndexNowCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Create a Bash script to automate IndexNow URL submission for [COMPANY] in the [INDUSTRY] sector. The script should support Bing, Yandex, Yahoo, and Seznam. Use the following [DATA] as the base URLs: [URL1], [URL2], [URL3]. Ensure the script is efficient and handles errors gracefully.
#!/bin/bash
# IndexNow URL Submission Script
# Company: GreenTech Solutions
# Industry: Renewable Energy
# Configuration
API_KEY="your_api_key_here"
API_ENDPOINT="https://www.bing.com/indexnow"
# URLs to submit
URLS=(
"https://greentech.com/solar-panels"
"https://greentech.com/wind-turbines"
"https://greentech.com/battery-storage"
)
# Submit URLs to IndexNow
for URL in "${URLS[@]}"; do
echo "Submitting URL: $URL"
curl -X POST -H "Content-Type: application/json" -d "{\"url\": \"$URL\", \"key\": \"$API_KEY\"}" $API_ENDPOINT
echo ""
done
echo "URL submission process completed."Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan