Auto Daily LeetCode Notification

Automating Daily LeetCode Notifications

My simple solution for daily LeetCode notifications:

💡 Tech Stack:

  • GitHub Actions: handles runtime and scheduling.
  • curl: fetches data from GraphQL.
  • jq: extracts problem details.
  • grep: derives new or solved status.
  • JS: creates GitHub issues to trigger email notifications.
  • flat file: extracts and stores solved problems.

❌ Avoided:

Airflow, Python, Kafka, Redis, and S3

See it in action

Auto-append solved problems

echo "message=$(git log -1 --pretty=%B)" >> $GITHUB_ENV

if [[ $message =~ ^[0-9]+$ ]]; then
  echo "is_integer=true" >> $GITHUB_ENV
fi

Last modified on 2025-03-30