Automated GitHub Action and Docker container to display your WakaTime leaderboard stats in your profile README.
| Ranked | Hours Coded | Daily Avg |
|---|---|---|
| None | 9 hrs 45 mins | 1 hr 23 mins |
| Ranked | Hours Coded | Daily Avg |
|---|---|---|
| 215 | 5 hrs 26 mins | 46 mins |
- Get your WakaTime API Key
- Save it as GitHub Secret in your profile repository
- Add to your workflow:
name: Wakatime Leaderboards
on:
schedule:
# Runs every Monday at 12AM IST (UTC+5:30)
- cron: "30 18 * * 0"
workflow_dispatch:
push:
branches: [master]
jobs:
update-readme:
name: Wakatime Leaderboards
runs-on: ubuntu-latest
steps:
- name: Wakatime Leaderboards
uses: nicconike/wakatime-leaderboards@master
with:
WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY }}- Add markdown comments to your README:
<!-- Wakatime-Start -->
<!-- Wakatime-End -->| Feature | Description |
|---|---|
| π Global Leaderboards | Worldwide coding stats |
| π» Language Rankings | Top language leaderboards |
| β‘ Automated Updates | Scheduled via GitHub Actions |
| π³ Docker Support | Containerized execution |
- Wakatime API Key: API key is required to fetch your account details. Get your API key from here.
- Markdown Comments: Update the markdown file by adding the comments where your Wakatime Leaderboard Stats will be embedded to.
Note
Coding Activity: Total hours coded over the last 7 days from Yesterday, using default 15 minute timeout, only shows coding activity from known languages.
Public Leaderboards: You will appear in the public leaderboards only if your weekly coded hours is around 10 hrs (Changes from time to time).
Not in the Leaderboards? You can follow their Guidelines on how to show up in the Leaderboards.
Star β this project if you find it useful!
For detailed support options: Contributing Guide
π Report Issues β’ π¬ Discussions