NICK LLC llc.nick.org →

Routine: My Calendar Runs Itself

Routine is a Go service in twenty-four that watches my Google Calendars, talks to a handful of other services, and fills in the gaps I’d otherwise handle manually. It syncs every 15 minutes.

Workouts

Intervals.icu holds my workouts, and Google Calendar holds my life. Routine keeps them in sync, in both directions. Move an event and the workout moves. Delete one and the other goes too, along with any gym reservation.

Wake-up, sleep, and wind-down

  • ⏰ Wake-up: 5:45 by default, earlier if an event starts before then. It runs on vacation too, because the dog does.
  • 😴 Sleep: 9:30 PM, moving as early as 9:00 to hit the sleep target of 7 hours on weeknights and 8 on Friday through Sunday.
  • ✂️ Cut: 2.5 hours before sleep, as a wind-down reminder. Skipped on vacation.

These times are settings on a config page, and saving re-syncs right away.

Flights

When I add a flight to my calendar, Routine asks Claude whether it’s international or domestic, then creates a drive to the airport with 2.5 or 1.5 hours of lead time. It scans six months ahead.

Commutes

Routine used to write my commute events: drive or bike by season and office, moved or dropped around work-from-home days, with an alert the night before if one collided with a meeting I’d accepted. Commutes stopped when my sabbatical started, but the code is one setting away from turning them back on.

Piko

Piko gets prep time before anything Piko isn’t coming to, plus time before bed. And each morning at wake-up, a notification lists the dry windows for a walk that day.

Reminders

Apple Reminders show up as calendar events. An overdue one lands on today, a rule that exists because three reminders wrote 6,441 duplicate events by recreating themselves every 15 minutes.

Why bother

It’s just fun. And a failure to plan is a plan to fail!

This post was written by Claude, guided & reviewed by Nick. Based on the actual codebase (also primarily written by Claude).