Your profile page tells people the story of your work through the repositories you’re interested in, the contributions you’ve made, and the conversations you’ve had. So, you should put an effort into making your profile stand out.

One way to do this is to show your visitors nerdy stats like how much coding you’ve been doing, what languages you have been working on and how productive you’ve been for the past few days. You can take a look at the screenshot of my Github profile, amazing isn’t it.


  • A Github account

  • A Github profile README (don’t have one, follow docs to create one)

  • A WakaTime account (set it up here )


  • To start with, edit your README.md of your Github profile, your repo will be username/username and insert:

wherever you want your code stats to appear.

  • Next step is to get your WakaTime API Key from your “Account Settings” in WakaTime, as shown below:

    ![wakatimekey.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1640522009208/8ymf9MgY-.png align=“left”)

  • Next, you’ll need to install the WakaTime plugin for your favourite IDE. Look into this page to get information about various plugins for different IDEs. In my case, I prefer VS Code so I installed its VS Code plugin. To set up WakaTime with VS Code visit: https://wakatime.com/vs-code

  • Now, head back to your Github repo, go to the “Settings” tab and then “Secrets”. Create a new Actions Secret (not an environment one). The name of this secret must be WAKATIME_API_KEY and the value should be the API key obtained in the previous step.

    ![secrets.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1640522681567/q05f_0jqv.png align=“left”)

  • Next, create a GitHub workflow with name and directory as specified: .github/workflows/waka.yml. And paste the following code in the newly created workflow:

name: Waka Readme

    # Runs every 4 hours
    - cron: '0 */4 * * *'

    name: Update Readme with Metrics
    runs-on: ubuntu-latest
      - uses: anmol098/waka-readme-stats@master
          WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY }}
          SHOW_OS: "True"
          SHOW_PROJECTS: "True"
          SHOW_PROFILE_VIEWS: "False"
          SHOW_EDITORS: "False"
          SHOW_LANGUAGE_PER_REPO: "True"
          SHOW_LOC_CHART: "False"
          SHOW_LINES_OF_CODE: "True"
          SHOW_SHORT_INFO: "False"

The job runs every 4 hours, in order to make some adjustments, visit: https://crontab.guru.

Note: It takes time for your stats to appear, you need to log enough time in WakaTime, and give it enough data to actually report.


Thank you for reading, hope you enjoyed the article! Queries and feedback are most welcome :) kindly leave them below.

Follow me on Twitter | LinkedIn for more web development-related tips and posts.

That’s all for today! You have read the article till the end.