{"id":16432059,"url":"https://github.com/mazipan/webperf-psi","last_synced_at":"2025-03-23T08:31:41.504Z","repository":{"id":85444244,"uuid":"253988834","full_name":"mazipan/webperf-psi","owner":"mazipan","description":"🚀 Easy to use, PSI API hit using Node.js to collect Web Performance Metrics","archived":true,"fork":false,"pushed_at":"2020-09-12T18:45:35.000Z","size":140,"stargazers_count":13,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T00:06:38.145Z","etag":null,"topics":["pagespeed-insight","pagespeed-insights-api","web-performance-reports"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/mazipan.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}},"created_at":"2020-04-08T04:54:46.000Z","updated_at":"2025-02-17T04:11:15.000Z","dependencies_parsed_at":"2023-03-13T05:18:08.363Z","dependency_job_id":null,"html_url":"https://github.com/mazipan/webperf-psi","commit_stats":{"total_commits":22,"total_committers":2,"mean_commits":11.0,"dds":0.5,"last_synced_commit":"9e7239359363af5773d6bd11e53b0722066f7ed2"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazipan%2Fwebperf-psi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazipan%2Fwebperf-psi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazipan%2Fwebperf-psi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazipan%2Fwebperf-psi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mazipan","download_url":"https://codeload.github.com/mazipan/webperf-psi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244999396,"owners_count":20544873,"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":["pagespeed-insight","pagespeed-insights-api","web-performance-reports"],"created_at":"2024-10-11T08:42:42.068Z","updated_at":"2025-03-23T08:31:41.466Z","avatar_url":"https://github.com/mazipan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 webperf-psi\n\nEasy to use, PSI API hit using Node.js to collect Web Performance Metrics\n\n![Run CLI](https://github.com/mazipan/webperf-psi/workflows/Run%20CLI/badge.svg?branch=master)\n\n![Usage example](screenshoot.png)\n\n## Get your own API Key\n\nVisit [https://developers.google.com/speed/docs/insights/v5/get-started](https://developers.google.com/speed/docs/insights/v5/get-started)\n\n## Usage\n\n- **With `npx`, using interactive mode**\n\n```bash\n$ npx webperf-psi\n```\n\n- **With `npx`, using CLI mode**\n\n```bash\n$ npx -p webperf-psi webperf-psi-cli --u={YOUR_PAGE} --k={API_KEY}\n```\n\nAvailable arguments:\n\n| Args  | Desc \t\t\t\t\t\t   | Required  | Default Value  |\n|-------|--------------------|-----------|----------------|\n| `u`   | Url to be tested   |  yes \t\t | -  \t\t\t\t\t\t|\n| `k`   | API Key  \t\t\t\t\t |  yes \t\t | -  \t\t\t\t\t\t|\n| `d`   | Device  \t\t\t\t\t |  no \t\t \t | mobile  \t\t\t\t|\n| `h`   | Number of hit PSI  |  no \t\t\t | 1  \t\t\t\t\t\t|\n| `q`   | Quantile  \t\t\t\t |  no \t\t\t | 0.75  \t\t\t\t\t|\n\n- **Run in your local**\n\nFork, then just run:\n\n```bash\n$ pnpm install\n$ pnpm run psi\n```\n\n## Support\n\nYou can support me by just giving a ⭐ in this repository\n\n---\n\n© 2020 Crafted by Irfan Maulana\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmazipan%2Fwebperf-psi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmazipan%2Fwebperf-psi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmazipan%2Fwebperf-psi/lists"}