Skip to content

taiiiyang/oss-stamp

Repository files navigation

OSS Stamp

Contributor health metrics on GitHub

A browser extension that shows contributor score cards in pull request sidebars.

简体中文 | English

GitHub Stars License Last Commit

Chrome Web Store

Demo

Screenshot coming soon — see Install to try it yourself.

Features

Contributor Score Card

See a contributor's tier (S/A/B/C/D) and overall score at a glance, right in the GitHub PR sidebar.

Dual Scoring System

Two independent scores — Repo Trust Score (context-specific) and Profile Score (global profile) — each rated 0–100 across four dimensions.

Dark Mode

Automatically matches GitHub's light or dark theme — no manual toggle needed.

Multilingual

Supports English and 简体中文.

How Scoring Works

OSS Stamp computes two independent scores, each 0–100 with four dimensions.

Repo Trust Score

Measures the contributor's relationship with the current repository.

Special case: The repository owner always receives S / 100.

Dimension Max Factors
Repo Familiarity 35 Merged PRs (0–12), reviews given (0–8), active duration (0–10), contributor flag (+5)
Community Standing 25 Account age (0–5), followers (0–10), org membership (+10)
OSS Influence 20 Top repo stars (0–15), total stars (0–5)
PR Track Record 20 Merge rate bands: <50% → 5, 50–74% → 10, 75–89% → 15, ≥90% → 20 (no PRs → 5)

Profile Score

Measures the contributor's global GitHub profile, independent of any specific repo.

Dimension Max Factors
Community Presence 25 Account age (0–5), followers via log scale (0–12), follower/following ratio (0–4), has bio (+4)
OSS Impact 25 Top repo stars via log scale (0–10), total stars via log scale (0–10), total forks via log scale (0–5)
Activity 30 Yearly contributions via log scale (0–18), public repos via log scale (0–12)
Ecosystem 20 Org memberships (0–12), language diversity (0–8)

Tiers

Both scores share the same tier thresholds:

Tier Score
S 90–100
A 70–89
B 50–69
C 30–49
D 0–29

Log Scale

Several Profile Score factors use a logarithmic scale (logScale(value, ref, max)) to prevent extreme values from dominating. The ref parameter is the reference value that maps to ~70% of the maximum points. For example, logScale(followers, 200, 12) means 200 followers ≈ 8.4 points out of 12.

Install

From Store

From Source

git clone https://github.com/taiiiyang/oss-stamp.git
cd oss-stamp
pnpm install && pnpm build

Then load the unpacked extension:

  • Chrome: go to chrome://extensions → enable Developer mode → Load unpacked → select .output/chrome-mv3
  • Firefox: go to about:debugging#/runtime/this-firefox → Load Temporary Add-on → select any file in .output/firefox-mv2

Browser Support

Browser Status
Chrome Supported
Firefox Supported
Development

Prerequisites

Commands

# Install dependencies
pnpm install

# Start dev server (Chrome)
pnpm dev

# Start dev server (Firefox)
pnpm dev:firefox

# Production build (Chrome)
pnpm build

# Production build (Firefox)
pnpm build:firefox

Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feat/amazing-feature)
  3. Commit using Conventional Commits
  4. Push and open a Pull Request

See Development for setup instructions.

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors