{"id":26793227,"url":"https://github.com/beapi/bash-collection","last_synced_at":"2025-10-07T22:47:05.133Z","repository":{"id":282306414,"uuid":"948137067","full_name":"BeAPI/bash-collection","owner":"BeAPI","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-17T19:40:48.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-17T10:50:15.660Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BeAPI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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,"zenodo":null}},"created_at":"2025-03-13T20:10:58.000Z","updated_at":"2025-06-17T20:03:01.000Z","dependencies_parsed_at":"2025-06-17T19:37:48.772Z","dependency_job_id":"ab3dfb21-9c73-4022-8f42-9d7061549f2a","html_url":"https://github.com/BeAPI/bash-collection","commit_stats":null,"previous_names":["beapi/bash-collection"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BeAPI/bash-collection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeAPI%2Fbash-collection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeAPI%2Fbash-collection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeAPI%2Fbash-collection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeAPI%2Fbash-collection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BeAPI","download_url":"https://codeload.github.com/BeAPI/bash-collection/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeAPI%2Fbash-collection/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278861032,"owners_count":26058632,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-03-29T16:19:32.662Z","updated_at":"2025-10-07T22:47:05.127Z","avatar_url":"https://github.com/BeAPI.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BeAPI Bash Collection\n\nA collection of useful bash scripts for various tasks.\n\n## Available Scripts\n\nThis repository contains a collection of bash scripts organized by category:\n\n### HTTP Authentication\n\nScripts for managing HTTP authentication in web servers.\n\n- [add_http_auth.sh](http-auth/add_http_auth.sh) - Add HTTP Basic authentication to an .htaccess file with support for IP-based access control and compatibility with both Apache 2.2 and 2.4\n\n### WordPress\n\nScripts for managing WordPress installations.\n\n- [wp-cron.sh](wp-cron-sentry/wp-cron.sh) - Execute WordPress cron tasks via WP-CLI with support for multisite installations and Sentry monitoring via HTTP API (supports both Sentry.io and self-hosted instances with customizable API paths)\n- [wp-cron.sh](wp-cron-healthchecks/wp-cron.sh) - Execute WordPress cron tasks via WP-CLI with support for multisite installations and Healthchecks.io monitoring (start/success/fail pings)\n- [wp-rocket-cache.sh](wp-rocket-cache/wp-rocket-cache.sh) - Clear WP-Rocket cache via WP-CLI with support for multisite installations and automatic detection of active WP-Rocket instances\n\n## Installation\n\nClone the repository:\n\n```bash\ngit clone git@github.com:BeAPI/bash-collection.git\ncd bash-collection\n```\n\nMake the scripts executable:\n\n```bash\nchmod +x */**.sh\n```\n\n## Usage\n\nEach script is located in its own directory with specific documentation. Navigate to the script's directory and check its README.md file for detailed usage instructions.\n\nFor example:\n\n```bash\ncd http-auth\n./add_http_auth.sh --help\n```\n\nOr:\n\n```bash\ncd wp-cron-sentry\n./wp-cron.sh --help\n\ncd wp-cron-healthchecks\n./wp-cron.sh --help\n\ncd wp-rocket-cache\n./wp-rocket-cache.sh --help\n```\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is released under the MIT License. See the LICENSE file for details.\n\n## Author\n\nBeAPI - [https://beapi.fr](https://beapi.fr)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeapi%2Fbash-collection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeapi%2Fbash-collection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeapi%2Fbash-collection/lists"}