Automated daily coding activity tracking and analysis powered by WakaTime API and OpenAI
1vent is a tool that automatically tracks your coding activity using WakaTime, analyzes the data, and provides personalized insights through OpenAI. It runs daily via GitHub Actions and can optionally email you the results.
- Fork this repository
- Add secret variables to your repository
First make sure Github Actions are enabled in your forked repository. Then go to your repo settings, tab Secrets and variables -> Actions -> New repository secret and add the following variables:
GMAIL_USER
: Your email address (e.g.yourname@gmail.com
)GMAIL_PASSWORD
: Your gmail app-specific passwordRECIPIENT_EMAIL
: The email address to receive summariesOPENAI_API_KEY
: Your OpenAI API keyWAKATIME_API_KEY
: Your WakaTime API key
To save and analyze history coding activity, you also need to go Actions -> General -> Workflow permissions -> Add the Read and write permissions. Change the timezone and GPT model verion in src/config.py
.
For Gmail users, generate an app-specific password here.