Commit 9beab8c

Anton Medvedev <anton@medv.io>
2023-10-12 14:49:34
Add repo names
1 parent 3aa9835
Changed files (1)
src
all-badges
src/all-badges/stars/stars.ts
@@ -72,7 +72,7 @@ function text(repos: Repo[], max: number): string {
   let totalStars = 0
   for (const repo of repos) {
     totalStars += repo.stargazers_count || 0
-    text += `* <a href="https://github.com/${repo.owner.login}/${repo.name}">${repo.stargazers_count}</a>\n`
+    text += `* <a href="https://github.com/${repo.owner.login}/${repo.name}">${repo.owner.login}/${repo.name}: ★${repo.stargazers_count}</a>\n`
     if (totalStars >= max) {
       break
     }