Skip to content

finnianjs/learn-anything

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learn Anything

Daily lesson emails on any topic you want to learn. Powered by Claude, SendGrid, and GitHub Actions.

Quick Start

  1. Set up your course — Run /setup in Claude Code to configure what you want to learn
  2. Generate lessons — Run /generate-lessons to create your personalized curriculum
  3. Configure email delivery:
    • Create a SendGrid account and get an API key
    • Verify a sender email in SendGrid
  4. Push to GitHub and add these secrets in Settings > Secrets > Actions:
    • SENDGRID_API_KEY — Your SendGrid API key
    • TO_EMAIL — Email address to receive lessons
    • FROM_EMAIL — Your verified sender email
  5. Set the start date — Add START_DATE (YYYY-MM-DD) as a repository variable in Settings > Variables > Actions
  6. Done! You'll receive one lesson per day at 6am MT

How It Works

  • /setup asks what you want to learn, your current level, your goals, and preferences
  • /generate-lessons creates a structured curriculum with daily lessons as JSON files
  • A GitHub Actions cron job runs daily, calculates which lesson to send based on the start date, and emails it via SendGrid

Local Testing

npm install
SENDGRID_API_KEY=your_key TO_EMAIL=you@example.com FROM_EMAIL=sender@example.com START_DATE=2026-03-02 node scripts/send-lesson.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors