{"id":13510607,"url":"https://github.com/ohdearapp/ohdear-cli","last_synced_at":"2026-02-25T14:11:24.725Z","repository":{"id":37593914,"uuid":"121807251","full_name":"ohdearapp/ohdear-cli","owner":"ohdearapp","description":"The official Oh Dear CLI","archived":false,"fork":false,"pushed_at":"2025-08-28T09:09:58.000Z","size":43924,"stargazers_count":138,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-10T08:17:40.587Z","etag":null,"topics":["cli","monitoring","uptime"],"latest_commit_sha":null,"homepage":"https://ohdear.app","language":"PHP","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/ohdearapp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["owenvoke"]}},"created_at":"2018-02-16T22:23:03.000Z","updated_at":"2025-11-26T23:29:35.000Z","dependencies_parsed_at":"2023-02-16T07:31:17.615Z","dependency_job_id":"a65b4519-6524-4f3a-9e05-edc3c84d98ff","html_url":"https://github.com/ohdearapp/ohdear-cli","commit_stats":{"total_commits":220,"total_committers":4,"mean_commits":55.0,"dds":0.08636363636363631,"last_synced_commit":"d09f755aceba47e5f560ccdce4d9ec790c37c5b4"},"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"purl":"pkg:github/ohdearapp/ohdear-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohdearapp%2Fohdear-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohdearapp%2Fohdear-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohdearapp%2Fohdear-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohdearapp%2Fohdear-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ohdearapp","download_url":"https://codeload.github.com/ohdearapp/ohdear-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohdearapp%2Fohdear-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29669870,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T00:11:43.526Z","status":"ssl_error","status_checked_at":"2026-02-20T23:52:33.807Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cli","monitoring","uptime"],"created_at":"2024-08-01T02:01:46.567Z","updated_at":"2026-02-25T14:11:24.719Z","avatar_url":"https://github.com/ohdearapp.png","language":"PHP","funding_links":["https://github.com/sponsors/owenvoke"],"categories":["PHP","cli","Projects using Laravel Zero"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"docs/example.jpg\" width=\"100%\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/ohdearapp/ohdear-cli/actions/workflows/static.yml\"\u003e\u003cimg src=\"https://img.shields.io/github/actions/workflow/status/ohdearapp/ohdear-cli/static.yml?style=flat-square\u0026label=static%20analysis\" alt=\"Static Analysis status\"/\u003e\u003c/a\u003e\n    \u003ca href=\"https://packagist.org/packages/ohdearapp/ohdear-cli\"\u003e\u003cimg src=\"https://img.shields.io/packagist/v/ohdearapp/ohdear-cli.svg?style=flat-square\u0026label=stable\" alt=\"Latest Stable Version\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://packagist.org/packages/ohdearapp/ohdear-cli\"\u003e\u003cimg src=\"https://img.shields.io/packagist/l/ohdearapp/ohdear-cli.svg?style=flat-square\" alt=\"License\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## About Oh Dear CLI\n\nOh Dear CLI is a command line tool to manage [Oh Dear](https://ohdear.app) website monitoring. Built with Laravel Zero, it auto-generates commands from the Oh Dear OpenAPI spec so every API endpoint is available as a CLI command.\n\n## Install\n\n\u003e **Requires [PHP 8.4+](https://php.net/releases)**\n\nVia Composer\n\n```shell\ncomposer global require ohdearapp/ohdear-cli\n```\n\nEnsure Composer's global bin directory is in your `PATH`:\n\n```shell\ncomposer global config bin-dir --absolute\n```\n\n## Authentication\n\nFirst, log in with your Oh Dear API token. You can generate one at [ohdear.app/user-settings/api](https://ohdear.app/user-settings/api).\n\n```shell\nohdear login\n```\n\nYou'll be prompted for your API token. The token is stored in `~/.ohdear/config.json`.\n\nTo log out:\n\n```shell\nohdear logout\n```\n\n## Usage\n\nList all available commands:\n\n```shell\nohdear list\n```\n\n### Monitors\n\n```shell\n# List all monitors\nohdear list-monitors\n\n# Get a specific monitor\nohdear get-monitor --monitor-id=123\n\n# Add a new monitor\nohdear create-monitor --field url=\"https://example.com\" --field team_id=1\n\n# Delete a monitor\nohdear delete-monitor --monitor-id=123\n```\n\n### Uptime and downtime\n\n```shell\nohdear get-uptime --monitor-id=123\nohdear get-downtime --monitor-id=123\n```\n\n### Broken links and mixed content\n\n```shell\nohdear list-broken-links --monitor-id=123\nohdear list-mixed-content --monitor-id=123\n```\n\n### Certificate health\n\n```shell\nohdear get-certificate-health --monitor-id=123\n```\n\n### Maintenance periods\n\n```shell\nohdear start-maintenance --monitor-id=123\nohdear stop-maintenance --monitor-id=123\nohdear list-maintenance-periods --monitor-id=123\n```\n\n### Status pages\n\n```shell\nohdear list-status-pages\nohdear get-status-page --status-page-id=123\nohdear create-status-page-update --status-page-id=123 --field title=\"Investigating\" --field text=\"Looking into it.\"\n```\n\n### Cron checks\n\n```shell\nohdear list-cron-checks --monitor-id=123\nohdear create-cron-check --monitor-id=123 --field name=\"Daily Backup\" --field frequency_in_minutes=1440\n```\n\n### Lighthouse reports\n\n```shell\nohdear get-latest-lighthouse-report --monitor-id=123\nohdear list-lighthouse-reports --monitor-id=123\n```\n\n### Other commands\n\n```shell\nohdear get-me                    # Display authenticated user info\nohdear get-dns-history           # DNS history for a monitor\nohdear list-application-health-checks  # Application health checks\nohdear list-tags                 # List all tags\nohdear clear-cache               # Clear cached OpenAPI spec\n```\n\nAll commands output JSON. Run `ohdear \u003ccommand\u003e --help` for full parameter details.\n\n## AI Skill\n\nInstall the Oh Dear skill for AI coding assistants:\n\n```shell\nohdear install-skill\n```\n\n## Contributing\n\nThank you for considering contributing to Oh Dear CLI. All contributions are welcome via pull requests.\n\nYou can have a look at the [CHANGELOG](CHANGELOG.md) for constant updates and detailed information about the changes.\n\n## License\n\nOh Dear CLI is an open-sourced software licensed under the [MIT license](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohdearapp%2Fohdear-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fohdearapp%2Fohdear-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohdearapp%2Fohdear-cli/lists"}