~ git clone https://git.cass.si/awgit.git
~ git clone https://git.cass.si/awgit.git
A re-write of days, using ActivityWatch & Firebase.
API uses Vercel serverless functions written in TypeScript.
Now with support for GitLab & GitHub :)
You'll need these environment variables in your .env
NETLIFY_HOOK_ID
FIREBASE_EMAIL
FIREBASE_PASSWORD
FIREBASE_API_KEY
GITLAB_API_KEY
GITHUB_API_KEY
GITHUB_USERNAME
GITLAB_USERNAME
To get the collector to run every day, create a file called .collect.sh in your home, and add the following:
#!/bin/bash -l
cd /PATH_TO_REPO/awgit/collector
npm run collector
Then run crontab -e & add: 0 10 * * * /Users/YOUR_USERNAME/.collect.sh
Which will make the collector run every day at 10am