{"id":19607865,"url":"https://github.com/hirokisan/gh-lens","last_synced_at":"2026-02-24T03:02:19.146Z","repository":{"id":261419630,"uuid":"884255335","full_name":"hirokisan/gh-lens","owner":"hirokisan","description":"CLI to analyze your activity on GitHub.","archived":false,"fork":false,"pushed_at":"2025-12-13T02:03:54.000Z","size":392,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-17T16:24:31.695Z","etag":null,"topics":["analysis","cli","gh-lens","github"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/gh-lens","language":"Rust","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/hirokisan.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,"zenodo":null},"funding":{"github":"hirokisan","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2024-11-06T12:31:10.000Z","updated_at":"2025-12-13T01:55:17.000Z","dependencies_parsed_at":"2024-11-06T13:42:54.693Z","dependency_job_id":"d07f6f33-107d-4747-a45b-2351b3a1ae4c","html_url":"https://github.com/hirokisan/gh-lens","commit_stats":null,"previous_names":["hirokisan/gh-lens"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/hirokisan/gh-lens","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirokisan%2Fgh-lens","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirokisan%2Fgh-lens/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirokisan%2Fgh-lens/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirokisan%2Fgh-lens/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hirokisan","download_url":"https://codeload.github.com/hirokisan/gh-lens/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirokisan%2Fgh-lens/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29770220,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T01:40:24.820Z","status":"online","status_checked_at":"2026-02-24T02:00:07.497Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["analysis","cli","gh-lens","github"],"created_at":"2024-11-11T10:12:38.662Z","updated_at":"2026-02-24T03:02:19.104Z","avatar_url":"https://github.com/hirokisan.png","language":"Rust","funding_links":["https://github.com/sponsors/hirokisan"],"categories":[],"sub_categories":[],"readme":"# gh-lens\n\nCLI to analyze your activity on GitHub.\n\n## Install\n\n```console\n$ cargo install gh-lens\n```\n\n## Usage\n\nSet the GitHub PAT as an environment variable before running the command.\n\n```console\n$ export GITHUB_TOKEN = xxx\n```\n\n```console\n$ gh-lens prs --repo hirokisan/gh-lens --start-date 2024-11-12 --end-date 2024-11-18 | jq .\n{\n  \"start_date\": \"2024-11-12\",\n  \"end_date\": \"2024-11-18\",\n  \"prs_count\": 1,\n  \"comments_count\": {\n    \"sum\": 0,\n    \"average\": 0.0\n  },\n  \"commits_count\": {\n    \"sum\": 2,\n    \"average\": 2.0\n  },\n  \"changed_files_count\": {\n    \"sum\": 13,\n    \"average\": 13.0\n  },\n  \"time_to_first_contacted\": {\n    \"average\": 0.0\n  },\n  \"time_to_approved\": {\n    \"average\": 0.0\n  },\n  \"time_to_merged\": {\n    \"average\": 260219.0\n  },\n  \"prs_summaries\": [\n    {\n      \"url\": \"https://github.com/hirokisan/gh-lens/pull/1\",\n      \"author\": \"hirokisan\",\n      \"comments_count\": 0,\n      \"reviewee_comments_count\": 0,\n      \"reviewer_comments_count\": 0,\n      \"commits_count\": 2,\n      \"changed_files_count\": 13,\n      \"created_at\": \"2024-11-15T12:17:52Z\",\n      \"first_contacted_at\": null,\n      \"approved_at\": null,\n      \"merged_at\": \"2024-11-18T12:34:51Z\"\n    }\n  ]\n}\n```\n\n```console\n$ gh-lens issues --repo hirokisan/bybit --start-date 2024-01-01 --end-date 2024-10-31 | jq .\n{\n  \"start_date\": \"2024-01-01\",\n  \"end_date\": \"2024-10-31\",\n  \"issues_count\": 5,\n  \"assigns_count\": 1,\n  \"comments_count\": {\n    \"sum\": 12,\n    \"average\": 2.4\n  },\n  \"time_to_closed\": {\n    \"average\": 339269.2\n  },\n  \"issues_summaries\": [\n    {\n      \"url\": \"https://github.com/hirokisan/bybit/issues/190\",\n      \"author\": \"id-petrov\",\n      \"assignees\": null,\n      \"participants\": [\n        \"id-petrov\",\n        \"hirokisan\"\n      ],\n      \"comments_count\": 1,\n      \"created_at\": \"2024-10-28T20:10:43Z\",\n      \"closed_at\": \"2024-10-29T05:39:09Z\"\n    },\n    {\n      \"url\": \"https://github.com/hirokisan/bybit/issues/181\",\n      \"author\": \"austymenko\",\n      \"assignees\": null,\n      \"participants\": [\n        \"austymenko\",\n        \"hirokisan\"\n      ],\n      \"comments_count\": 5,\n      \"created_at\": \"2024-07-06T03:31:11Z\",\n      \"closed_at\": \"2024-07-13T13:29:15Z\"\n    },\n    {\n      \"url\": \"https://github.com/hirokisan/bybit/issues/175\",\n      \"author\": \"apeman76\",\n      \"assignees\": null,\n      \"participants\": [\n        \"apeman76\",\n        \"hirokisan\"\n      ],\n      \"comments_count\": 2,\n      \"created_at\": \"2024-06-12T14:13:08Z\",\n      \"closed_at\": \"2024-06-23T07:57:42Z\"\n    },\n    {\n      \"url\": \"https://github.com/hirokisan/bybit/issues/171\",\n      \"author\": \"s-prosvirnin\",\n      \"assignees\": [\n        \"hirokisan\"\n      ],\n      \"participants\": [\n        \"s-prosvirnin\",\n        \"hirokisan\"\n      ],\n      \"comments_count\": 2,\n      \"created_at\": \"2024-04-21T10:35:14Z\",\n      \"closed_at\": \"2024-04-22T11:54:24Z\"\n    },\n    {\n      \"url\": \"https://github.com/hirokisan/bybit/issues/160\",\n      \"author\": \"biancheng347\",\n      \"assignees\": null,\n      \"participants\": [\n        \"hirokisan\",\n        \"biancheng347\"\n      ],\n      \"comments_count\": 2,\n      \"created_at\": \"2024-01-25T09:18:51Z\",\n      \"closed_at\": \"2024-01-25T10:01:03Z\"\n    }\n  ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhirokisan%2Fgh-lens","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhirokisan%2Fgh-lens","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhirokisan%2Fgh-lens/lists"}