Skip to content
This repository has been archived by the owner on Apr 9, 2023. It is now read-only.
/ code-stats Public archive

[depr] πŸ‘¨πŸ½β€πŸ’» logging my daily coding stats through wakatime, and a dashboard to view the data

License

Notifications You must be signed in to change notification settings

AbhinRustagi/code-stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

code stats

Note: Project Deprecated/Unused

How does it work?

1. daily cron

A daily cronjob runs at 00:05 am (GMT) which fetches all the wakatime stats for the previous day for a set of Wakatime API Keys stored in environment variables. After fetching, it stores them as a JSON in logs folder. The workflow then commits the file into the main branch using Github Bot.

Check Github Workflow, main.py

2. react dashboard (wip)

On a push to the production (main) branch, a deployment on Vercel is triggered for the dashboard which is hosted at wakatime.abhin.dev

Check react-app

other

monthly cron

A monthly cronjob is also setup to run on the 1st of every month at 00:05 am (GMT) to compile all the stats of the previous month into 1 single file for ease of import in the react dashboard.

About

[depr] πŸ‘¨πŸ½β€πŸ’» logging my daily coding stats through wakatime, and a dashboard to view the data

Topics

Resources

License

Stars

Watchers

Forks