[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-76401":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":27,"readmeContent":28,"aiSummary":29,"trendingCount":16,"starSnapshotCount":16,"syncStatus":30,"lastSyncTime":31,"discoverSource":32},76401,"gh-profiler","ehmatthes\u002Fgh-profiler","ehmatthes","Examine a GH user's profile, to help quickly decide how much to invest in their contributions.","",null,"Python",126,13,43,20,0,4,14,63,12,3.44,"MIT License",false,"main",true,[],"2026-06-12 02:03:41","gh-profiler\n===\n\nMany of us have received waves of open source contributions where many of the new \"contributions\" aren't worth engaging with. gh-profiler lets you quickly see a snapshot of the submitter's profile, and recent PR activity.\n\nThis meant to give you some quick context about how much to invest in reviewing the PR. It's not meant to give an immediate signal to close the PR or issue.\n\nRunning as a tool\n---\n\nIf you have uv installed, you can run this as a tool against any GitHub user:\n\n```sh\n$ uvx gh-profiler \u003Credacted>\nGitHub user: \u003Credacted>\n  🟡 Account age: 159 days\n\n  🟢 Profile information:\n      name: \u003Credacted>\n      blog: https:\u002F\u002F\u003Credacted>.com\n      email: info@\u003Credacted>.com\n     Empty fields: company, location, bio\n\n  🟢 \u003Credacted> has opened fewer than 10 PRs in the last 21 days.\n\n  🔴 \u003Credacted> has opened 6 new issues in the last 21 days.\n     🟢 0 issues have been closed as NOT_PLANNED.\n     🔴 6 issues were opened with the same title:\n        📋 Documentation Enhancement Suggestion (6)\n```\n\nIf you're working in your local project directory, you can simply provide a PR or issue number. The tool will look up the PR or issue, identify the user who opened it, and give a report on that user:\n\n```sh\n$ uvx gh-profiler 8\nIssue #8: Accept a username or an issue\u002F pr number.\nAuthor: ehmatthes\n  🟢 Account age: 5058 days\n  ...\n```\n\nInstalling and then running\n---\n\nYou can also install the project, and then run the bare `gh-profiler` command:\n\n```sh\n(.venv) $ pip install gh-profiler\n(.venv) $ gh-profiler ehmatthes\nGitHub user: ehmatthes\n  🟢 Account age: 5058 days\n  ...\n```\n\nWhen you've installed the project, you can also run it as a module:\n\n```sh\n$ python -m gh_profiler \u003Cusername>\n```\n\nConcise output\n---\n\nIf you want just the simplest summary, you can pass the `--concise` flag:\n\n```sh\n$ uvx gh-profiler \u003Credacted> --concise\nGitHub user: \u003Credacted>\n🟡 Some concerns found with user's profile.\n🟢 No concerns found with recent PR activity.\n🔴 Significant concerns found with recent issue activity.\n\nFor a more detailed report, run `gh-profiler \u003Credacted>`.\n```\n\nGitHub Actions\n---\n\ngh-profiler can write a GitHub Action that will automatically run `gh-profiler --concise` any time a new PR or issue is opened on your project. The output will be written as a comment on the new PR or issue.\n\nThe `--generate-workflow` flag does this by writing a `profile_contributors.yml` file to `.github\u002Fworkflows`:\n\n```txt\n$ uvx gh-profiler --generate-workflow\nThis will generate a GitHub action that will automatically run gh-profiler\nwhenever someone opens a new issue or PR in your repository. The profile\noutput will be written as a comment on the issue or PR.\n\nThe workflow will be written at the following location:\n  \u002F...\u002F.github\u002Fworkflows\u002Fprofile_contributors.yml\n\nAre you sure you want to do this? (y\u002Fn) y\n\nThe new workflow file was written:\n  \u002F...\u002F.github\u002Fworkflows\u002Fprofile_contributors.yml\n\nTo start seeing profiles when new issues and PRs are opened:\n- Commit the workflow file to your main branch.\n- Push your main branch to GitHub.\n  ...\n```\n\nMaintaining\n---\n\n### `--redact`\n\nFor live demos and screenshots, you can pass the `--redact` flag. The username and profile information sections will show \"\\\u003Credacted\\>\" in place of identifying information:\n\n```sh\n$ uv run gh-profiler 39 --redact\nIssue #39: Add a `--redact` flag\nAuthor: \u003Credacted>\n  🟢 Account age: 5064 days\n\n  🟢 Profile information:\n      name: \u003Credacted>\n      blog: \u003Credacted>\n      ...\n```\n\n### Add\u002F modify a requirement\n\n- Add or modify a requirement by modifying pyproject.toml, or running `uv add \u003Cpackage>`.\n- For a dev dependency, run `uv add --dev \u003Cpackage>`.\n- Then run `uv lock`.\n\nRunning tests\n---\n\n```sh\n$ uv run pytest\n```\n\nProfiling\n---\n\n```sh\n$ uv run python -m cProfile -s cumtime -m gh_profiler ehmatthes > profile.txt\n```\n\nNew releases\n---\n\nUpdate changelog and bump version, then:\n\n```sh\n$ uv lock\n# Commit all changes.\n$ git tag vX.Y.Z\n$ git push origin vX.Y.Z\n$ rm -rf dist\u002F*\n$ uv build\n$ uv publish\n```\n","gh-profiler 是一个用于快速评估 GitHub 用户贡献价值的工具。它通过分析用户的账户年龄、个人资料完整度以及近期的 PR 和 issue 活动，帮助项目维护者决定对特定贡献者的投入程度。该工具使用 Python 编写，支持直接运行或作为模块调用，并且可以生成简洁版报告。此外，还提供了 GitHub Actions 支持，自动为新提交的 PR 或 issue 生成并添加用户概况评论。适用于需要高效筛选和管理开源项目贡献的场景，提高审查效率而不至于立即拒绝任何 PR 或 issue。",2,"2026-06-11 03:55:03","CREATED_QUERY"]