{"id":20390520,"url":"https://github.com/checkly/checkly-cli","last_synced_at":"2026-03-03T07:01:59.863Z","repository":{"id":37092535,"uuid":"331431555","full_name":"checkly/checkly-cli","owner":"checkly","description":"TS/JS native Monitoring as Code workflow","archived":false,"fork":false,"pushed_at":"2026-02-26T16:26:21.000Z","size":7130,"stargazers_count":92,"open_issues_count":38,"forks_count":20,"subscribers_count":9,"default_branch":"main","last_synced_at":"2026-02-26T22:39:38.294Z","etag":null,"topics":["cli","javascript","monitoring","monitoring-as-code","nodejs","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/checkly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-01-20T21:03:11.000Z","updated_at":"2026-02-26T18:48:39.000Z","dependencies_parsed_at":"2023-12-20T14:45:53.066Z","dependency_job_id":"93162b33-1beb-471a-8be4-0016dd951daa","html_url":"https://github.com/checkly/checkly-cli","commit_stats":{"total_commits":574,"total_committers":29,"mean_commits":19.79310344827586,"dds":0.7996515679442509,"last_synced_commit":"2fc5bde0d4b64923960cd7af95081f42d1658db0"},"previous_names":[],"tags_count":271,"template":false,"template_full_name":null,"purl":"pkg:github/checkly/checkly-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/checkly%2Fcheckly-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/checkly%2Fcheckly-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/checkly%2Fcheckly-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/checkly%2Fcheckly-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/checkly","download_url":"https://codeload.github.com/checkly/checkly-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/checkly%2Fcheckly-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30032395,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T03:27:35.548Z","status":"ssl_error","status_checked_at":"2026-03-03T03:27:09.213Z","response_time":61,"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","javascript","monitoring","monitoring-as-code","nodejs","typescript"],"created_at":"2024-11-15T03:25:34.433Z","updated_at":"2026-03-03T07:01:59.813Z","avatar_url":"https://github.com/checkly.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","Observability"],"sub_categories":["Synthetic Monitoring"],"readme":"The Checkly CLI gives you a **JavaScript/TypeScript-native workflow** for coding, testing and deploying synthetic\nmonitoring at scale, from your code base. We call this workflow **monitoring as code** (MaC).\n\n- **Codeable, testable, reviewable monitoring constructs.** Works with your dev pipeline. From your IDE, via PR to CI.\n- **Native `@playwright/test` support.** No lock-in, just write standard `*.spec.ts` files.\n- **Alerting baked in.** Set alerts for Slack, SMS and many more channels.\n- **Typescript-first.** Fully typed for easy refactoring and code completion.\n- **Run in the cloud or on-prem.** Run on the Checkly cloud or in your network using the [Private Locations](https://www.checklyhq.com/docs/private-locations/)\n\n# A quick example\n\nMonitoring checks are written by instantiating constructs from the `checkly/constructs` package...\n\n```ts\n// books-api.check.ts\nimport { ApiCheck, AssertionBuilder } from 'checkly/constructs'\n\nnew ApiCheck('books-api-check-1', {\n  name: 'Books API',\n  request: {\n    url: 'https://danube-web.shop/api/books',\n    method: 'GET',\n    assertions: [\n      AssertionBuilder.statusCode().equals(200),\n      AssertionBuilder.jsonBody('$[0].id').isNotNull(),\n    ],\n  }\n})\n```\nFor browser checks, you can just write standard `*.spec.ts` files using `@playwright/test`.\n\n```ts\n// home.spec.ts\nimport { test, expect } from '@playwright/test'\n\ntest('webshop homepage', async ({ page }) =\u003e {\n  const response = await page.goto('https://danube-web.shop')\n  expect(response?.status()).toBeLessThan(400)\n  await expect(page).toHaveTitle(/Danube WebShop/)\n  await page.screenshot({ path: 'homepage.jpg' })\n})\n```\n\nRun your checks from your local machine or in CI  using `npx checkly test`\n\n```bash\nnpx checkly test\nParsing your project... done\n\nRunning 2 checks in eu-west-1.\n\n__checks__/books-api.check.ts\n  ✔ Books API 1 (52ms)\n__checks__/home.spec.ts\n  ✔ home.spec.ts (5s)\n\n2 passed, 2 total\n```\n\nNow deploy your checks to the Checkly cloud so they can monitor your apps and APIs around the clock and alert you when things break.\n\n```bash\nnpx checkly deploy\n\nParsing your project... done\nSuccessfully deployed project \"Acme webapp\" to account \"Acme Production\".\n```\n\n# Installation\n\nFirst, make sure you sign up for a [free Checkly account](https://app.checklyhq.com/signup) or signup via the terminal using\n`npx checkly login`.\n\nThen, the **easiest** way to get started is to install the CLI using the following command:\n\n```bash\nnpm create checkly@latest\n```\nThis command will guide you through some simple steps and set up a fully working example project for you. Should take\n~1 minute.\n\nYou can also set up the CLI **from scratch** by running:\n\n```bash\nnpm install --save-dev checkly\n```\n\n# Docs\n\nOfficial docs are over at [checklyhq.com/docs/cli](https://checklyhq.com/docs/cli/)\n\n# AI Agents \u0026 Coding Assistants\n\nThe Checkly CLI is designed with AI-powered development in mind. With [**Monitoring as Code**](https://www.checklyhq.com/docs/concepts/monitoring-as-code/), your entire monitoring setup lives in TypeScript files — perfect for AI agents that can read, write, and reason about code.\n\nTo give your AI coding assistant full context about the Checkly CLI, install the Checkly skill:\n\n```bash\nnpx skills add checkly/checkly-cli\n```\n\nThis provides your AI with documentation, best practices, and examples so it can help you create and manage API checks, browser checks, alert channels, and more.\n\nCheck out our [AI Agents \u0026 Coding Assistants docs](https://www.checklyhq.com/docs/integrations/ai/overview) for more best practices and examples.\n\n\n## Need help?\n\n- Check out our [Getting Started Guide](https://checklyhq.com/docs/cli/)\n- Join our [Slack Community](https://checklyhq.com/slack). The devs who built this hang out there.\n- Found a bug? [File an issue on this repo](https://github.com/checkly/checkly-cli/issues/new/choose)\n\n# Local Development\n\nUse `CHECKLY_CLI_VERSION` environment variable to set the latest version you want to test.\n\nTo get started with local development check [CONTRIBUTING.MD](https://github.com/checkly/checkly-cli/blob/main/CONTRIBUTING.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheckly%2Fcheckly-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcheckly%2Fcheckly-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheckly%2Fcheckly-cli/lists"}