https://github.com/pforret/indexnow
Actively submit new URLs to Bing/Google via IndexNow protocol
https://github.com/pforret/indexnow
bash bashew bing google-search indexnow
Last synced: about 2 months ago
JSON representation
Actively submit new URLs to Bing/Google via IndexNow protocol
- Host: GitHub
- URL: https://github.com/pforret/indexnow
- Owner: pforret
- License: mit
- Created: 2024-09-15T16:03:38.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-09-15T17:29:20.000Z (9 months ago)
- Last Synced: 2025-04-05T10:09:38.869Z (2 months ago)
- Topics: bash, bashew, bing, google-search, indexnow
- Language: Shell
- Homepage: https://www.bing.com/indexnow/getstarted
- Size: 729 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README






[](https://www.basher.it/package/)# pforret/indexnow

submit URLs to search engine with [IndexNow protocol](https://www.bing.com/indexnow/getstarted)
## 🔥 Usage
```
Program : indexnow by [email protected]
Version : v1.0.0 (Sep 15 19:06:37 2024)
Purpose : submit URLs to search engine with IndexNow protocol
Usage : indexnow [-h] [-Q] [-V] [-f] [-A ] [-K ] [-L ] [-T ]
Flags, options and parameters:
-h|--help : [flag] show usage [default: off]
-Q|--QUIET : [flag] no output [default: off]
-V|--VERBOSE : [flag] also show debug messages [default: off]
-f|--FORCE : [flag] do not ask for confirmation (always yes) [default: off]
-A|--API > : [option] API endpoint [default: https://api.indexnow.org/IndexNow]
-K|--KEY > : [option] API key for IndexNow - get one on https://www.bing.com/indexnow/getstarted
-L|--LOG_DIR > : [option] folder for log files [default: /Users/pforret/log/indexnow]
-T|--TMP_DIR > : [option] folder for temp files [default: .tmp]
: [choice] action to perform [options: sitemap,url,key,check,env,update]
: [parameter] input url (1 page or sitemap) (optional)
### TIPS & EXAMPLES
* use indexnow sitemap to submit all URLs in a sitemap to Bing/Google
indexnow sitemap https://example.com/sitemap.xml
* use indexnow url to submit 1 URL to Bing/Google
indexnow url https://example.com/news/page100/
* use indexnow key to check the key file
indexnow -K AZ102512655155PMDGHERY4225865 key https://example.com
* use indexnow check to check if this script is ready to execute and what values the options/flags are
indexnow check
* use indexnow env to generate an example .env file
indexnow env > .env
* use indexnow update to update to the latest version
indexnow update
* >>> bash script created with pforret/bashew
* >>> for bash development, also check out pforret/setver and pforret/progressbar```## ⚡️ Examples
```bash
> indexnow -h
# get extended usage info
> indexnow env > .env
# create a .env file with default values
```## 🚀 Installation
with [basher](https://github.com/basherpm/basher)
$ basher install pforret/indexnow
or with `git`
$ git clone https://github.com/pforret/indexnow.git
$ cd indexnow## 📝 Acknowledgements
* script created with [bashew](https://github.com/pforret/bashew)
© 2024 Peter Forret