Skip to content

Commit

Permalink
leaderboard: add badge
Browse files Browse the repository at this point in the history
  • Loading branch information
fxnn committed Dec 18, 2024
1 parent baac028 commit 96cdfa2
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions leaderboard-fetch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,16 @@ curl \
'.members
| values[]
| select(.name==$ENV.aoc_username)
| "user **"
| "!["
+ (.stars | tostring)
+ " stars]("
+ "https://img.shields.io/badge/"+
+ (.stars | tostring)
+ "-%E2%AD%90_stars-gold) "
+ user **"
+ .name
+ "** ("
+ (.stars | tostring)
+ " stars, last one at "
+ "last one at "
+ (.last_star_ts | todateiso8601)
+ ")"'

0 comments on commit 96cdfa2

Please sign in to comment.