跳到正文

nMaas8388

github-ranking-audit

Audit your GitHub repository search ranking signals. Checks name, description, topics, README, stars, forks, and activity.

README 已保存到本站,可直接阅读

Documentation snapshot

README 快照

这篇是英文原文

下面正文是项目自己的英文 README。想读全文就用浏览器自带的整页翻译: Chrome / Edge 点地址栏右侧的翻译图标,或用右键菜单里的「翻译成中文」; 手机浏览器一般在菜单里。

本页保存的是公开项目资料快照,阅读过程不需要连接 GitHub。

Audit your GitHub repository’s search ranking signals. Checks name, description, topics, README, stars, and activity. Scores each factor 0-100.

buygithub.com · How GitHub SEO Works


What it does

Pass any GitHub repository and get a search ranking audit. The tool checks six signals that affect where your repo appears in GitHub search results, scores each one, and gives you an overall grade with actionable tips.

Signals checked:

  • Name — does it contain the keywords people search for?
  • Description — is it complete and under 300 characters?
  • Topics — how many, and are they relevant?
  • README — word count and keyword presence in the first 200 words
  • Stars — competitive positioning
  • Activity — last push date (repos updated in the last 90 days rank higher)

Quick start

git clone https://github.com/nMaas8388/github-ranking-audit.git
cd github-ranking-audit
pip install requests
python ranking_audit.py facebook/react

Usage

Audit a single repository

python ranking_audit.py torvalds/linux
Auditing torvalds/linux...

  Repository:   torvalds/linux
  Description:  Linux kernel source tree
  Language:     C
  Stars:        183,247
  Forks:        54,102
  Topics:       3 (linux, kernel, c)
  Last push:    2026-09-16
  README words: 847

  Scores:
    name            75/100  [###############.....]
    description     60/100  [############........]
    topics          40/100  [########............]
    readme         100/100  [####################]
    stars          100/100  [####################]
    activity       100/100  [####################]

  Overall: 82/100 (Grade B)

  Tip: add 8-15 relevant topics to improve discoverability

Audit with a target search query

python ranking_audit.py owner/repo --query "cloudflare turnstile solver"

Audit multiple repos

python ranking_audit.py facebook/react vuejs/vue sveltejs/svelte

JSON output

python ranking_audit.py owner/repo --json

Scoring

SignalWeightWhat it checks
Name25%Query keyword match
Description15%Length and completeness
Topics15%Count (8-15 is optimal)
README15%Word count, first 200 words
Stars20%Logarithmic scale
Activity10%Days since last push

Grades: A (85+), B (70-84), C (50-69), D (30-49), F (<30)

How GitHub search ranking works

GitHub’s “Best match” sort combines text relevance (name > description > topics > README) with popularity signals (stars > forks > watchers > recent activity). The exact weights aren’t published, but the ranking order is well-documented by the community.

Read the full analysis: How GitHub SEO Works

Requirements

  • Python 3.8+
  • requests
  • Optional: GITHUB_TOKEN env var for higher API rate limits

License

MIT

Official distribution

获取与安装

暂未发现可确认的官方软件包地址

当前 README 快照没有出现 npm、PyPI、Crates.io、pub.dev 等官方包页链接。本站不会根据仓库名称猜测下载地址。

本站不托管项目文件;需要安装时,请以项目维护者发布的官方文档为准。

使用前核验

本站保存公开资料用于阅读,不代表安全审计或功能背书。安装前请核对许可证、依赖来源和发布签名,不要直接运行来源不明的二进制文件或高权限脚本。