Skip to content

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

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

Sponsor this project

Packages

Contributors

Languages