email-course-creator
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v49View latest version
🏗️ Work-in-progress (not actively maintained) 🏗️
An email course generator designed with effective, research-backed learning techniques in mind: spaced repetition (via an interval between email lessons), retrieval practice (quizzing and fill-in-the-blank), elaboration and reflection (writing exercises).
The first (and only) course is about Make It Stick. Signup is closed. I wrote about the implementation on my digital garden.
Rendering mermaid diagram...
main.tsx— HTTP handler (signup, verification, lesson completion, unsubscribe)cron.tsx— Interval that sends daily lessons to students who completed their current onedb.ts— All SQLite operations (students table lives in account-scoped DB)email-helpers.ts— Email sending (verification, lessons, responses)html.tsx— HTML templates (signup form, confirmation email, lesson wrapper)lessons/— 10 lesson content files + index
- The
studentstable lives in the account-scoped SQLite database (not val-scoped) - The cron should be kept inactive since the course is not actively maintained
- Previously this was spread across ~25 separate single-file vals; consolidated April 2026