Never break your coding streak again! This bot checks if you've committed code today and sends you Discord reminders throughout the day.
- ✅ Automatically checks all your GitHub commits daily
- 📬 Sends Discord notification if you haven't committed
- 🔥 Daily reminders at 8 AM & 8 PM (your time)
- 📊 Weekly summary every Saturday with stats
- ⚡ Runs automatically via GitHub Actions
- 🧪 Easy to test locally
| Check | Your Time | UTC |
|---|---|---|
| Morning Reminder | 8 AM | 6 AM |
| Evening Reminder | 8 PM | 6 PM |
| Weekly Summary | Saturday 12 PM | 10 AM |
- Total commits this week
- Current streak
- Most productive day
- Favorite repo
- Open Discord and go to your server
- Go to Server Settings → Integrations → Webhooks
- Click New Webhook
- Name it "Commit Reminder" and choose a channel
- Click Copy Webhook URL and save it
git clone https://github.com/timo-t-q/daily-commit-tracerk.git
cd daily-commit-tracerk
npm install- Go to your repo on GitHub
- Click Settings → Secrets and variables → Actions
- Add secret:
DISCORD_WEBHOOK_URL= your Discord webhook URL
cp .env.example .env
# Edit .env with your tokens
npm run check # Test daily check
npm run weekly # Test weekly summary- Go to the Actions tab in your repo
- Click I understand my workflows, go ahead and enable them
# Test daily check
npm run check
# Test weekly summary
npm run weeklyOr trigger workflows manually from the Actions tab.
Edit .github/workflows/daily-reminder.yml:
on:
schedule:
# '0 6 * * *' = 6 AM UTC (8 AM Budapest summer)
# '0 18 * * *' = 6 PM UTC (8 PM Budapest summer)
- cron: '0 6 * * *'
- cron: '0 18 * * *'Edit .github/workflows/weekly-summary.yml:
on:
schedule:
# '0 10 * * 6' = Saturday 10 AM UTC
- cron: '0 10 * * 6'Edit the workflow files to change the tracked user:
env:
GITHUB_USERNAME: your-usernameDaily Reminder (when no commits):
⏰ Daily Commit Reminder
Hey! You haven't committed any code today yet.
Don't break your streak! 💪
Even a small commit counts.
Weekly Summary (Saturday):
📊 Weekly Commit Summary
Total Commits: 23
🔥 Current Streak: 5 days
🏆 Most Productive Day: Wednesday (7 commits)
📂 Favorite Repo: timo-t-q/my-project (12 commits)
Workflow not running?
- Make sure GitHub Actions are enabled
- Check Actions minutes (free tier: 2000 min/month)
Not receiving Discord notifications?
- Verify webhook URL in Secrets
- Test locally first
"No commits" even though you committed?
- Commits use UTC timezone
- Make sure commit is pushed to GitHub
MIT License
Built by timo-t-q
Keep coding, keep committing! 🚀