Skip to content

bchewy/github-reminder

Repository files navigation

Commit Tracker

Get nudged every 6 hours if you haven't pushed any commits today. Funny, motivational messages to guilt-trip you into coding.

Deploy to Vercel

Deploy with Vercel

Environment Variables

Set these in your Vercel dashboard:

Variable Required Description
EMAIL Yes Where to send reminders
GITHUB_TOKEN Yes Your GitHub token (gh auth token or create one)
RESEND_API_KEY Yes API key from Resend
RESEND_FROM Yes Verified sender email in Resend

How It Works

  1. Vercel cron hits /api/check every 6 hours
  2. Checks your GitHub activity for pushes today
  3. If no commits → sends a guilt-trip email
  4. If you've pushed → does nothing

Endpoints

Endpoint Description
POST /api/check Run check, send email if no commits today
POST /api/check?dryRun=1 Preview without sending
POST /api/test-email Verify Resend config works

Local Development

npm install
cp .env.example .env  # fill in your values
npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors