Skip to main content

Analyze a GitHub profile and get honest, actionable advice for building real reputation

Project description

github-rep

PyPI version Python versions CI License: MIT

Score any GitHub user's reputation across 11 honest signals and get a prioritized fix list — in under 30 seconds.


Why this exists

GitHub profiles are the de-facto developer resume. Most advice on building GitHub reputation is either vague ("just contribute more") or gameable (spam-stars, low-effort PRs). This tool measures the signals that actually matter to recruiters, maintainers, and other developers — and tells you exactly what to fix first, ordered by impact.


Install

pip install github-rep

Requires Python 3.9+. No configuration needed — works unauthenticated (60 req/hr) or with a GitHub token for 5000 req/hr.


Quickstart

# Analyze any GitHub user
github-rep analyze-profile torvalds

# Use a token to avoid rate limits
export GITHUB_TOKEN=ghp_yourtoken
github-rep analyze-profile sindresorhus

# Machine-readable JSON output
github-rep analyze-profile gvanrossum --json

# Show all findings, including low-priority ones
github-rep analyze-profile octocat --verbose

# Compare multiple profiles side by side
github-rep compare torvalds gvanrossum sindresorhus

# Check your API rate limit
github-rep rate-limit

Sample output

$ github-rep analyze-profile torvalds

╭──────────────────────────────── GitHub Profile ─────────────────────────────╮
│ @torvalds  |  Linus Torvalds                                                │
│                                                                              │
│ Followers: 305,509  |  Public repos: 12  |  Stars earned: 246,028           │
╰──────────────────────────────────────────────────────────────────────────────╯
Grade: B  (78/100)
Tier: Active developer

                Score Breakdown
┏━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━┓
┃ Dimension                ┃  Score ┃   Max ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━┩
│ Profile Completeness     │      4 │    10 │
│ Readme Quality           │     12 │    15 │
│ Star Signal              │     20 │    20 │
│ Contribution Streak      │     15 │    15 │
│ Repo Diversity           │      7 │    10 │
│ Description Quality      │     10 │    10 │
│ Topic Tags               │      0 │     5 │
│ Fork Ratio               │      5 │     5 │
│ Recent Activity          │      5 │    10 │
│ Release Cadence          │      0 │     5 │
│ Profile Readme           │      0 │     5 │
└──────────────────────────┴────────┴───────┘

Priority fixes:
  [HIGH] Missing bio
     Your bio is empty. It is the first thing visitors read.
     Fix: Write 1-2 sentences: your focus, what you build, your superpower.

What is working:
  [GOOD] Strong star signal (246028 total, top repo: 235147)
  [GOOD] Active recent commits (0d ago)
  [GOOD] All repos have descriptions

Grades: A (≥80) · B (≥65) · C (≥50) · D (≥35) · F


The 11 scored dimensions

# Dimension Max pts What it measures
1 Profile Completeness 10 Name, bio, avatar, location, website / social link
2 README Quality 15 Top repo README length, code examples, install instructions
3 Star Signal 20 Total stars earned across all repos (log-scaled)
4 Contribution Streak 15 Days since last profile activity
5 Repo Diversity 10 Number of public repos and language breadth
6 Description Quality 10 Fraction of repos with meaningful descriptions
7 Topic Tags 5 Repos tagged with relevant GitHub topics
8 Fork Ratio 5 Proportion of original work vs. forked repos
9 Recent Activity 10 Repos with pushes in the last 90 days
10 Release Cadence 5 Published GitHub Releases on top repos
11 Profile README 5 Presence and quality of the username/username profile README

Total: 100 points.

Dimensions 10 and 11 are new in v0.2.0 and measure signals that indicate a polished, production-ready presence — publishing versioned releases and curating a profile page.


All flags

github-rep analyze-profile <username> [OPTIONS]
Flag Description
--json Machine-readable JSON output (all scores + findings)
--verbose / -v Show all findings including low-priority improvements
--token / -t GitHub PAT (also reads GITHUB_TOKEN env var)
--top N Number of top repos to deep-analyze (default: 10)
--help Show help and exit

JSON output

github-rep analyze-profile gvanrossum --json
{
  "username": "gvanrossum",
  "total": 72,
  "grade": "B",
  "tier": "Active developer",
  "breakdown": {
    "profile_completeness": 8,
    "readme_quality": 12,
    ...
  },
  "findings": [
    {
      "category": "topic_tags",
      "severity": "medium",
      "title": "Most repos have no topic tags",
      "detail": "Missing from GitHub Explore category pages entirely.",
      "fix": "Add topics to your top 3 repos today - GitHub UI, takes 2 minutes."
    }
  ]
}

Caching

Results are cached for 5 minutes under ~/.cache/github-rep/ to avoid hitting rate limits when running the tool multiple times. Delete the cache directory to force a fresh fetch.


FAQ

Do I need a GitHub token? No. Unauthenticated usage gets 60 API requests per hour — enough for a single profile analysis. Set GITHUB_TOKEN to get 5000 requests per hour and avoid hitting limits when comparing many profiles.

How is the score calculated? Each dimension is scored independently against fixed max points (totalling 100). There is no machine learning or relative ranking — the score reflects the absolute presence or absence of each signal.

Can I game the score? You could game every individual metric, but you would also genuinely improve your GitHub presence in the process. The signals are chosen because they correlate with real reputation value.

Why does a well-known developer score lower than expected? Some high-reputation developers (including Linus Torvalds) score below 80 because they skip signals like topic tags, profile READMEs, or GitHub Releases. The tool measures profile hygiene signals, not absolute influence.

How often should I re-run this? After each batch of improvements. Treat it like npm audit — run it, fix the findings, move on.


Contributing

See CONTRIBUTING.md. Bug reports and improvements welcome — open an issue on github.com/basilalshukaili/github-rep.


License

MIT — see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

github_rep-0.2.1.tar.gz (21.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

github_rep-0.2.1-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

Details for the file github_rep-0.2.1.tar.gz.

File metadata

  • Download URL: github_rep-0.2.1.tar.gz
  • Upload date:
  • Size: 21.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for github_rep-0.2.1.tar.gz
Algorithm Hash digest
SHA256 0d220e4c43f6f240c8cc3200d81453b2139026a4e4cc064fca0c77eaac12ea5c
MD5 afc0789505f67fcda0ded30283828c58
BLAKE2b-256 d359a58a2e08cb87c5f79f9909bc7583eeb09a45b9419a7a199b963b1a6e38bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for github_rep-0.2.1.tar.gz:

Publisher: publish.yml on basilalshukaili/github-rep

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file github_rep-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: github_rep-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for github_rep-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c571abf26d3578b3100513d86a3e2d0bdbfc9f31b9591f1951ea32922307e1fe
MD5 9e89376b591c4a5fb84a5ce74fbf7442
BLAKE2b-256 2493519faf889de9855883b4b56b0247da8f8c26ab5233489d20bd5cd5f55cfb

See more details on using hashes here.

Provenance

The following attestation bundles were made for github_rep-0.2.1-py3-none-any.whl:

Publisher: publish.yml on basilalshukaili/github-rep

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page