AWS Builder Center
Weekend Productivity Challenge: Procrastination Police

Weekend Productivity Challenge: Procrastination Police

A task tracker that does not just remind you, it calls you out. Miss a deadline and Procrastination Police uses AI to nudge, encourage, or roast you back on track, in a tone you pick, then follows up by email so there is nowhere left to hide.

Vision and What the App Does
I procrastinate. Not occasionally, consistently, and usually on the things that matter most. A reminder buzzing on my phone never really moved me, I would swipe it away and go back to whatever I was avoiding in the first place. So for this challenge I built something with a bit more bite. Procrastination Police is a task tracker that notices when you have missed a deadline and actually says something about it, in a tone you choose.
You add a task with a title and a due time. If you finish it in time, nothing happens, the task quietly gets marked done and life goes on. If you do not, the app flags it as overdue, works out how overdue it is, and asks an AI model to write you a short message about it. You get to pick the personality behind that message. Nice mode is gentle and encouraging. Balanced mode is direct and practical. Savage mode does not hold back. The same missed deadline can read like a hug or a jab, depending on what you need that day.
The message does not stay trapped in the browser tab either. It also lands in your inbox as an email, so closing the laptop does not mean escaping accountability.

How I built it
I started with the smallest working version I could manage, a form to add a task and a list to show it, backed by DynamoDB and a couple of Lambda functions behind API Gateway. Getting that first slice working end to end, add a task, see it appear, mark it complete, felt like the real milestone. Everything after that was layering on top of something that already worked.
Overdue detection came next. Each task compares its due time against the current time, and I set thresholds for how overdue something counts as, slightly, moderately, or severely. Waiting six real hours to test the severely overdue state during a hackathon weekend is not realistic, so I added a Simulate two hours button that fast forwards a task's clock. It turned into the best part of the demo, since you can watch a task go from on track to severely overdue in three clicks and watch the AI response change right along with it.
The AI piece uses Amazon Bedrock, calling the Nova Lite model with the task title, how overdue it is, and the selected tone, and asking for one short message back. Getting the tone difference to actually feel different, rather than just changing a couple of words, took some prompt tweaking. Savage mode in particular needed guardrails so it stayed sharp and funny rather than genuinely unkind.
The last piece was wiring in email. When a task is flagged overdue, the same Lambda function that generates the AI message also publishes it to an SNS topic, and that topic delivers it straight to my inbox.


AWS Services Used and Architecture Overview
  • The frontend is a React app built with Vite and hosted on AWS Amplify Hosting.
  • Requests go through Amazon API Gateway to a set of Lambda functions that handle creating tasks, listing them, marking them complete, and running the overdue simulation.
  • Task data lives in Amazon DynamoDB. When a task is flagged overdue, that same Lambda function calls Amazon Bedrock, specifically the Nova Lite model, to generate the tone based accountability message, then publishes that message to an Amazon SNS topic, which delivers it by email.

What I learnt This was also the first project I built using Amazon Bedrock, and it changed how I think about adding AI to an app. I have used AI APIs before, but always as a separate tool sitting outside the actual infrastructure. Calling Nova Lite from inside a Lambda function that already had a job to do, checking whether a task was overdue, felt different. The AI was not the product, it was one more service quietly doing its part alongside DynamoDB and SNS. Watching a plain timestamp comparison turn into your task is now more than six hours late, it is time to take action, was the moment the whole idea clicked into place.
If nothing else, building an app whose entire purpose is to call me out for procrastinating meant I could not exactly procrastinate on it myself. No more procrastination, starting now.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article