{"id":32119415,"url":"https://github.com/dnrsm/pagespeed","last_synced_at":"2026-04-11T21:34:48.445Z","repository":{"id":62421532,"uuid":"285500897","full_name":"dnrsm/pagespeed","owner":"dnrsm","description":"CLI tool and API Wrapper for the PageSpeed Insights API written in Deno 🦕","archived":false,"fork":false,"pushed_at":"2020-08-06T17:22:11.000Z","size":480,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-23T15:19:14.107Z","etag":null,"topics":["deno","pagespeed-insights","pagespeed-insights-api","typescript"],"latest_commit_sha":null,"homepage":"https://deno.land/x/pagespeed","language":"TypeScript","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/dnrsm.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}},"created_at":"2020-08-06T07:15:01.000Z","updated_at":"2020-11-22T17:06:02.000Z","dependencies_parsed_at":"2022-11-01T17:31:20.569Z","dependency_job_id":null,"html_url":"https://github.com/dnrsm/pagespeed","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dnrsm/pagespeed","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnrsm%2Fpagespeed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnrsm%2Fpagespeed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnrsm%2Fpagespeed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnrsm%2Fpagespeed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dnrsm","download_url":"https://codeload.github.com/dnrsm/pagespeed/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnrsm%2Fpagespeed/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31696743,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T21:17:31.016Z","status":"ssl_error","status_checked_at":"2026-04-11T21:17:24.556Z","response_time":54,"last_error":"SSL_read: 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":["deno","pagespeed-insights","pagespeed-insights-api","typescript"],"created_at":"2025-10-20T18:01:23.361Z","updated_at":"2026-04-11T21:34:48.434Z","avatar_url":"https://github.com/dnrsm.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pagespeed\n[![tag](https://img.shields.io/github/v/tag/dnrsm/pagespeed.svg)](https://github.com/dnrsm/pagespeed/tags/)\n![CI](https://github.com/dnrsm/pagespeed/workflows/CI/badge.svg) \n[![nest badge](https://nest.land/badge.svg)](https://nest.land/package/pagespeed)\n\nCLI tool and API Wrapper for the [PageSpeed Insights API](https://developers.google.com/speed/docs/insights/v5/get-started) written in Deno\n\u003e Inspired by https://github.com/GoogleChromeLabs/psi\n\n## Screen Shot\n![Screen Shot](assets/screenshot.png \"Screen Shot\")\n\n## Module\n### Usage\n```typescript\nimport { runPagespeed } from \"https://deno.land/x/pagespeed/mod.ts\";\n\nconst data = await runPagespeed(\"https://developers.google.com\", {\n  strategy: \"mobile\",\n});\n\nconsole.log(data);\n```\n\n### Options\n| Option | Type | Default | Description |\n|-------|--------------------|-----------|----------------|\n| `strategy` | `string` | `desktop` | The analysis strategy |\n| `key` | `string` | ` ` | API Key |\n\n## CLI\n## Install\n```\n$ deno install --allow-net --name pagespeed https://deno.land/x/pagespeed/mod.ts\n```\n\n## Usage\n```\npagespeed https://developers.google.com --strategy mobile --times 3\n```\n\n### Options\n```shell\nUsage: pagespeed [url] [options]\n\nOptions:\n  -h, --help: display help message\n  -s, --strategy: The analysis strategy (desktop or mobile) to use, and desktop is the default\n  -k, --key: API Key(Optional)\n  -t, --times: Number of times\n  -i, --interval: Time interval(ms)\n```\n\n## Testing\n```shell\n$ deno test --allow-net\n```\n\n## Code formatter\n```shell\n$ deno fmt\n```\n\n## License\n[MIT LICENSE](LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnrsm%2Fpagespeed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdnrsm%2Fpagespeed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnrsm%2Fpagespeed/lists"}