This repo contains a Val Town-ready script that:
Think of this as a simple weekly helper:
Even though this feels simple, it uses a few classic CS ideas:
If you can build or understand this, you’re already practicing real CS thinking—just without the scary jargon.
This project includes playful, Praise Cage-themed badges:
You can rename or swap these in notion_weekly_report.ts.
This report is for informational purposes only and is not medical advice. Healthy blood sugar ranges referenced here come from: https://www.ynhhs.org/articles/what-is-healthy-blood-sugar
Create a new database in Notion (table view is easiest) with these properties:
January 13, 2026)You can name the database anything (e.g., "Blood Sugar Log").
Open the database in the browser and copy the 32‑character ID in the URL.
Create a new Val in Val Town and paste notion_weekly_report.ts.
Add these secrets in Val Town (Settings → Secrets):
NOTION_TOKENNOTION_DATABASE_IDREPORT_FROM_EMAIL (optional, must be your_username.valname@valtown.email)REPORT_FROM_NAME (optional)REPORT_REPLY_TO (optional)Free tier note: this val emails the account owner by default.
In Val Town, schedule the Val to run weekly at 9:30am on Tuesdays (EST).
Suggested cron (set Val Town timezone to EST):
30 9 * * 2
Cron is a simple way to say “run this on a schedule.” It has five fields:
minute hour day-of-month month day-of-week
So 30 9 * * 2 means:
In other words: every Tuesday at 9:30am.
notion_weekly_report.ts.Made with 🖖 by Paul Chin Jr. and Markal.