This widgets can show your stats about your usage programming languages, editors, operating systems and more!
1. Create wakatime account and add wakatime plugin to your IDE
settings --> plugins --> search 'wakatime'
After install plugin you need add wakatime api key from wakatime site to plugin
If you did everything right, you will see this icon in the lower right corner in JetBrains IDEs
Go to settings --> Developer settings -->
Enter token name
Select expiration as 'No expiration'
Select 'repo' scope
Click 'Generate token'
- Enter action file name (can be any)
- Write configuration for run action
name: Waka Readme on: schedule: - cron: '0 1 * * *' # Run at 1:00 AM (you can edit it) workflow_dispatch: jobs: update-readme: name: Update Readme with Metrics runs-on: ubuntu-latest steps: - uses: syavabrazzzers/waka-widgets@main with: WAKATIME_API_KEY: ${{secrets.WAKATIME_API_KEY}} GH_TOKEN: ${{secrets.GH_TOKEN}}
- Commit changes
Add GH_TOKEN and WAKATIME_API_KEY secrets (secret names need be like this)
Include this strings to your README.md file
<!--START_SECTION:waka--> <!--END_SECTION:waka-->Widgets will be created in this block
And now, if you did everything right, your README will be updated daily at 1 am (if you did not change in the action file)