Skip to main content

Automated WakaTime Leaderboards for your GitHub profile

Project description

Wakatime-Leaderboards📶

Wakatime Leaderboards Release Bandit CodeQL & Pylint Quality Gate Status codecov Docker Image Size Docker Pulls Python Version from PEP 621 TOML Pylint GitHub License OpenSSF Scorecard OpenSSF Best Practices wakatime Visitor Badge

Automated WakaTime Leaderboards for your GitHub Profile


Prerequisites

  1. Wakatime API Key: API key is required to fetch your account details. Get your API key from here.
  2. Markdown Comments: Update the markdown file by adding the comments where your Wakatime Leaderboard Stats will be embedded to. Refer here to learn more.

[!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.


Example

Wakatime Leaderboards (Worldwide)

Public Leaderboards (Weekly)

Ranked Hours Coded Daily Avg
None 4 hrs 47 mins 41 mins

Top Language (Batchfile)

Ranked Hours Coded Daily Avg
None 1 hr 32 mins 13 mins

Update README

Add below comment in your markdown file for Wakatime Leaderboards Stats

<!-- Wakatime-Start -->
<!-- Wakatime-End -->

Setup with Example

After completing the steps mentioned in the Prerequisites, you have to save all the mentioned keys(except markdown comments) like Wakatime API Key as Secrets in your Github repo's settings.

Repo Settings -> Security -> Secrets and Variables -> Actions -> Add in Repository Secrets

If you are new to Github Secrets then you can checkout this official doc here.

Sample Workflow File

wakatime.yml

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: Run Wakatime Leaderboards
            uses: nicconike/wakatime-leaderboards@master
            with:
                WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY }}

Contributions

Star⭐ and Fork🍴 the Repo to start with your feature request(or bug) and experiment with the project to implement whatever Idea you might have and sent the Pull Request through 🤙

Please refer Contributing.md to get to know how to contribute to this project. And thank you for considering to contribute.


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wakatime_leaderboards-1.2.3.tar.gz (13.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wakatime_leaderboards-1.2.3-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file wakatime_leaderboards-1.2.3.tar.gz.

File metadata

  • Download URL: wakatime_leaderboards-1.2.3.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for wakatime_leaderboards-1.2.3.tar.gz
Algorithm Hash digest
SHA256 9f701f63f087232c60963f43b43ae265a5c61b5a67c2d930e5f3f0054f6b684a
MD5 c56a29de1013ec324a87b8a3deea93f7
BLAKE2b-256 3eba19c60a82c011e2cd741d4fafd3b10b842efcecd0aa01e8f1ddd19a16be2b

See more details on using hashes here.

File details

Details for the file wakatime_leaderboards-1.2.3-py3-none-any.whl.

File metadata

File hashes

Hashes for wakatime_leaderboards-1.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8b04760106f417b1d659ff9aea1b2be6c23e0cb41a3d9d60a76cb1b1c077ed64
MD5 f60b57cf51914ceaef8173e9127ca961
BLAKE2b-256 1803d6f70a9ae635d2c47e0cbc4c88cdae7ac278faf1c5ed9e0f315f08f719ec

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page