{"id":18799921,"url":"https://github.com/mcnaveen/googlebot-webhook-trigger","last_synced_at":"2026-05-05T04:03:31.322Z","repository":{"id":103679979,"uuid":"415900608","full_name":"mcnaveen/GoogleBot-Webhook-Trigger","owner":"mcnaveen","description":"Fire a webhook when GoogleBot visits your website.","archived":false,"fork":false,"pushed_at":"2021-10-11T11:54:02.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-29T18:52:52.350Z","etag":null,"topics":["bash","bash-script","googlebot","googlecrawl","hacktoberfest","webhook"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mcnaveen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":"mcnaveen","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":"https://www.buymeacoffee.com/mcnaveen"}},"created_at":"2021-10-11T11:41:21.000Z","updated_at":"2021-10-12T20:06:35.000Z","dependencies_parsed_at":"2023-07-06T23:31:53.957Z","dependency_job_id":null,"html_url":"https://github.com/mcnaveen/GoogleBot-Webhook-Trigger","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcnaveen%2FGoogleBot-Webhook-Trigger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcnaveen%2FGoogleBot-Webhook-Trigger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcnaveen%2FGoogleBot-Webhook-Trigger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcnaveen%2FGoogleBot-Webhook-Trigger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcnaveen","download_url":"https://codeload.github.com/mcnaveen/GoogleBot-Webhook-Trigger/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239728880,"owners_count":19687418,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","bash-script","googlebot","googlecrawl","hacktoberfest","webhook"],"created_at":"2024-11-07T22:17:03.399Z","updated_at":"2026-01-03T08:30:17.235Z","avatar_url":"https://github.com/mcnaveen.png","language":"Shell","funding_links":["https://patreon.com/mcnaveen","https://www.buymeacoffee.com/mcnaveen"],"categories":[],"sub_categories":[],"readme":"# 🤖 GoogleBot Webhook Trigger\n\nFire a webhook when GoogleBot visit your website.\n\n## 💡 How does it work?\n\nUsing `tail` and `grep` to monitor the nginx log file. Once it matches the word \"GoogleBot\" it'll immediately send notification to your telegram\n\n\u003e This script is for Nginx webserver. If you're using different one. Please change the path accordingly.\n\n## 🔧 Script Setup\n\n- Download the [gbotwebhook.sh](https://github.com/mcnaveen/GoogleBot-Webhook-Trigger/blob/main/gbotwebhook.sh) file on your linux server in `root` or `home` (Home Recommended)\n\n- Open the file and add these values (Required)\n\n```sh\nwebhookURL= PASTE THE WEBHOOK URL HERE\nlogFile=/var/log/nginx/access.log #Path to your Nginx access log file. (This one is default) \n```\n\n\u003e This logFile path is for Nginx webserver. If you're using different one. Please change accordingly.\n- Now, Make it executable `chmod +x gbotwebhook.sh`\n- Next Setup `systemd` for Running this script continuously\n\n```bash\n\n\n# Navigate to this Directory\ncd /etc/systemd/system\n\n# Create New Service File\ntouch gbotwebhook.service\n\n# Create a Service file for systemd service\nnano gbotwebhook.service\n\n```\n\n- Now paste everything from \u003chttps://github.com/mcnaveen/GoogleBot-Webhook-Trigger/blob/main/gbotwebhook.service\u003e and save it.\n\n- Reload the systemd and enable the gbotwebhook service\n\n```bash\nsystemctl daemon-reload\nsystemctl enable gbotwebhook\nsystemctl start gbotwebhook\n```\n\n- You can Check the service status with\n\n```bash\nsystemctl status gbotwebhook\n```\n\n## ☑ LICENSE \n\nMIT\n\n----\n\n### Shoutout\n\nSimilar useful bash scripts: \n- Get Isso Comments Notification on your Telegram by Santhosh Veer - \u003chttps://github.com/mskian/isso-telegram-notifier/\u003e\n- Get Telegram Notification when GoogleBot visit your website - \u003chttps://github.com/mcnaveen/GoogleBot-Nginx-Telegram-Notifier\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcnaveen%2Fgooglebot-webhook-trigger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcnaveen%2Fgooglebot-webhook-trigger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcnaveen%2Fgooglebot-webhook-trigger/lists"}