GodProfile Suite
GitHub Trophies Widget
Gamified achievement showcase ranking developer metrics across S, A, B, and C tiers
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Gamified achievement showcase ranking developer metrics across S, A, B, and C tiers
godprofile-trophies)export interface GodprofileTrophiesConfig {
disabledTrophies?: string[] // Array of trophy names to omit (e.g. ['Issues'])
accentColor?: string // Default: globalStyles.accentColor || '#b6a891'
textColor?: string // Default: globalStyles.textColor || '#eceff4'
}
| Trophy | S Rank | A Rank | B Rank | C Rank |
|---|---|---|---|---|
| Stars | ≥1000 | ≥200 | ≥50 | <50 |
| Commits | ≥3000 | ≥1000 | ≥300 | <300 |
| PRs | ≥200 | ≥50 | ≥10 | <10 |
| Issues | ≥200 | ≥50 | ≥10 | <10 |
| Repos | ≥100 | ≥30 | ≥10 | <10 |
| Followers | ≥500 | ≥100 | ≥20 | <20 |
import { renderWidgetSvg, WidgetInstance } from '@/engine'
const trophiesWidget: WidgetInstance = {
instanceId: 'trophies_01',
widgetId: 'godprofile-trophies',
name: 'GitHub Trophies',
position: { x: 0, y: 0 },
size: { width: 800, height: 280 },
config: {
disabledTrophies: ['Issues'],
accentColor: '#c5ff4a',
},
locked: false,
visible: true,
zIndex: 1,
}
const svgOutput = renderWidgetSvg(trophiesWidget, profileData, globalStyles)