Skip to content

A simple Bash/Shell script to automate IndexNow URL submission for search engines like Bing, Yandex, Yahoo, and Seznam.

License

Notifications You must be signed in to change notification settings

nexoslabs/IndexNow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

GitHub Release GitHub License GitHub Code


πŸš€ IndexNow URL Submit

Project Banner

A simple Bash script to automatically submit URLs to search engines like Microsoft Bing, Naver, Yandex, Yahoo, and Seznam using IndexNow API.


✨ Features

βœ”οΈ Single URL Submission
βœ”οΈ Bulk URL Submission from a File
βœ”οΈ Fetching & Submitting URLs from Sitemaps
βœ”οΈ Fetching & Submitting URLs from Web Pages
βœ”οΈ Multiple Search Engine Support


πŸ“₯ Installation

πŸ”§ Prerequisites

  1. A valid IndexNow API Key
  2. API Key Verification File
    • Create a text file: your-api-key.txt (replace with your actual key).
    • Upload it to your website’s root directory:
      https://www.yourdomain.com/your-api-key.txt
      
    • The file must contain the exact API key.
  3. Required Tools
    • cURL (Check installation: curl --version)
    • Install it if missing:
      sudo apt install curl  # Ubuntu/Debian
      brew install curl      # macOS (Homebrew)

⚑ Installation Steps

  1. Clone the Repository

    git clone https://github.com/nexoslabs/IndexNow.git
    cd IndexNow
  2. Set Up Configuration

    Edit config/settings.env and update the following:

    HOST="https://www.yourdomain.com"
    API_KEY="your-api-key-here"
    KEY_LOCATION="https://www.yourdomain.com/your-api-key.txt"

🎯 Usage

βœ… Submit a Single URL

bash scripts/indexnow.sh -u "https://www.yourdomain.com/sample-page"

βœ… Submit Bulk URLs from a File

bash scripts/indexnow.sh -f urls.txt

πŸ“Œ Ensure urls.txt contains one URL per line.

βœ… Submit URLs from a Sitemap

bash scripts/indexnow.sh -s "https://www.yourdomain.com/sitemap.xml"

βœ… Submit URLs Found on a Web Page

bash scripts/indexnow.sh -p "https://www.yourdomain.com"

🀝 Contributing

We ❀️ contributions! Follow these steps to contribute:

  1. 🍴 Fork the repository
  2. 🌿 Create a new branch (git checkout -b feature/AmazingFeature)
  3. πŸ’Ύ Commit your changes (git commit -m 'Add some AmazingFeature')
  4. πŸš€ Push to the branch (git push origin feature/AmazingFeature)
  5. πŸ”ƒ Open a Pull Request

πŸ“– See our Contribution Guidelines for more details.


πŸ“„ License

This project is licensed under the Apache-2.0 license. See the LICENSE file for details.


πŸ“¬ Contact & Community

πŸ’¬ Join us on Discord: Click Here
🐦 Follow on Twitter: @nexoslabs
πŸ“§ Email: contact@nexoscreation.tech

Made with ❀️ by the @nexoslabs Team

⭐ Star us on GitHub!

About

A simple Bash/Shell script to automate IndexNow URL submission for search engines like Bing, Yandex, Yahoo, and Seznam.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages