{"id":16902737,"url":"https://github.com/csabapalfi/gps","last_synced_at":"2026-05-16T23:01:42.191Z","repository":{"id":141913336,"uuid":"87481558","full_name":"csabapalfi/gps","owner":"csabapalfi","description":"Google PageSpeed Score CLI","archived":false,"fork":false,"pushed_at":"2018-02-12T11:43:18.000Z","size":9,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-25T14:21:47.831Z","etag":null,"topics":["google-pagespeed","google-pagespeed-insights","pagespeed","slack"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/csabapalfi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-04-06T22:41:45.000Z","updated_at":"2022-07-26T23:02:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"4f5a325a-af52-417f-8de9-a91a3b93b3d8","html_url":"https://github.com/csabapalfi/gps","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csabapalfi%2Fgps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csabapalfi%2Fgps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csabapalfi%2Fgps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csabapalfi%2Fgps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/csabapalfi","download_url":"https://codeload.github.com/csabapalfi/gps/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244637098,"owners_count":20485446,"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":["google-pagespeed","google-pagespeed-insights","pagespeed","slack"],"created_at":"2024-10-13T18:07:39.080Z","updated_at":"2026-05-16T23:01:37.127Z","avatar_url":"https://github.com/csabapalfi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google PageSpeed Score CLI\n\nCheck **G**oogle **P**ageSpeed **S**cores from the command line.\n\nThe idea is to run this from your CI/CD periodically and/or after deployments (and post the output message to Slack by piping it to slackcat)\n\nI built a node version of this for one of my clients but want to have a lighter single-binary version.\n\n## installation\n\nGrab the [latest release from Github](https://github.com/csabapalfi/gps/releases/latest).\n\n## basic usage\n\n```sh\ngps \"http://example.com\"\n```\nThis should output something like this:\n```\n📱 99 ✅  🖥 99 ✅  http://example.com\n```\nIf you want to post to Slack then check out [slackcat](https://github.com/csabapalfi/slackcat):\n```sh\ngps \"http://example.com\" | slackcat -tee -token=$SLACK_TOKEN -channel=$YOUR_CHANNEL\n```\n\n\n## defining thresholds\n\nYou can define thresholds to check your score using the `mobile` and `desktop` flags:\n```sh\ngps -mobile 100 -desktop 90 \"http://example.com\"\n```\nScores above the threshold get a green tick, scores below get a red X:\n```\n📱 99 ❌  🖥 99 ✅  http://example.com\n```\n\n## verbose output\n\nTo log PageSpeed API responses just pass the `-v` flag:\n\n```sh\ngps -v \"http://example.com\"\n```\n```\nHTTP/2.0 200 OK\n...\n{\n \"kind\": \"pagespeedonline#result\",\n \"id\": \"http://example.com\",\n \"responseCode\": 200,\n...\nHTTP/2.0 200 OK\n...\n{\n \"kind\": \"pagespeedonline#result\",\n \"id\": \"http://example.com\",\n \"responseCode\": 200,\n...\n📱 99 ✅  🖥 99 ✅  http://example.com\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsabapalfi%2Fgps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsabapalfi%2Fgps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsabapalfi%2Fgps/lists"}