Dec 10, 2023#p1
When I listed my default apps I said: "if I had my way, more of these would be using something I built myself." I joked this probably meant I was going to build more things. Yesterday saw me head down that route with the first item: Reminders.
I use my /notes page for more than just notes – lists, links, To Do's – and recently added proper handling of checkboxes, but thought it would be nice to be able to flag items for follow-up.
Now I can add a date & time to a note using <input type="datetime-local"> then write this to the database. Using a cron job that runs every x minutes (currently 30) I send myself a mail for each item found with a reminder at that time – the job loads a page which does the work. It checks for plus/minus 60 seconds to account for slight delays in it running and the reminder is cleared once the mail is sent.
It's a shame that the 'step' attribute for the datetime-local input doesn't appear to be implemented anywhere, otherwise I could have the input only show 30 minute intervals to match the cron job but that's not a big issue.
Next, I'm thinking about building a view for /reader specifically for podcast episodes so that I don't need a separate client. 🤔