+
+
+
+ {:else if requiresConnect}
+ Loading your GitHub insights...
+
+
+
+
+ {:else if error}
+ Connect your GitHub account
+Link your GitHub to unlock your developer intelligence dashboard.
+ Connect GitHub +
+
+
+
+ {:else if insights}
+ {error}
+ +
+
+
+
+ {/if}
+
+
+
+
+
+
+
+ @{insights.username}
+Developer Intelligence Dashboard
+ {#if insights.statsAreCapped} +
+ ⚠️ Stats based on your most recently updated 200 repos. You have {insights.totalRepos} repos total.
+
+ {/if}
+
+
+
+
+ {#if insights.aiSummary}
+
+
+ {insights.totalRepos}
+ Repositories
+
+
+ {insights.totalStars}
+ Total Stars
+
+
+ {insights.totalForks}
+ Total Forks
+
+
+ {insights.followers}
+ Followers
+
+
+ {#if insights.primaryLanguage}
+ {insights.following}
+ Following
+
+
+ {/if}
+ {insights.primaryLanguage}
+ Primary Language
+
+
+ {/if}
+
+
+ {#if insights.languageStats.length > 0}
+ 🤖 AI Developer Summary
+ {insights.aiSummary}
+
+
+ {/if}
+
+
+ {#if insights.topRepos.length > 0}
+ Language Breakdown
+ +
+ {#each insights.languageStats as lang}
+
+
+
+ {lang.language}
+ {lang.percentage.toFixed(1)}%
+
+ {/each}
+
+
+ {/if}
+
+ Top Repositories
+
+ {#each insights.topRepos as repo}
+
+
+ {repo.name}
+ {#if repo.description}
+ {repo.description}
+ {/if}
+
+ ⭐ {repo.stars}
+ 🍴 {repo.forks}
+ {#if repo.language}💻 {repo.language}{/if}
+
+
+ {/each}
+ Last updated: {new Date(insights.fetchedAt).toLocaleString()}
+