Back
Charlie Revett
Charlie Revett
@revcd
👋 bsky.app/profile/revcd.com
🇿🇦 London, currently in Cape Town (sabbatical)
🇿🇦 London, currently in Cape Town (sabbatical)
Add CTA at end of onboarding flow to ask for nearby city to set timezone
#morning
Add prompt for turning Telegram user input in to IANA timezone code (e.g. "near boston" → "America/New_York")
#morning
Update `users` table for
#morning to hold more information that Telegram includes within a webhook update, to make sending messages in the future easier.
Added a cron job to
#morning that generates a unique daily mantra using the OpenAI Assistant, and saves it in the database. Plus expanded the welcome message, and now hold state of users who interact with the Telegram bot.
As nice as the OpenAI playground is, I wanted a faster way to iterate on the system instructions for the Assistant that generates each daily mantra for
#morning.
I moved the instructions to a Markdown file within the project, with a Frontmatter block to hold metadata. Then added a toolbox command (internal CLI for ops tasks) for updating the Assistant.
Close out open Dependabot PRs after being away from the project for a few weeks #daylang