
Weekend Challenge: Turn One Annoying Task Into an App: StandupBot
StandupBot runs by itself every Monday at 9 AM. It reads my GitHub activity from the last seven days, writes a clean summary of it, and emails the summary to me. When I open my laptop, the draft is already sitting in my inbox. I read it, fix a line or two, and send it. The twenty minutes became about ninety seconds.
What the App Does
Every Monday morning I do the same boring thing. I open GitHub, scroll through my own commits from last week, and try to remember what I actually did. Then I turn that mess into a short update for my team. It takes me about twenty minutes. And I do it every single week.
The work itself is not hard. It is just annoying. All the information already exists in my commit history. I am only copying it from one place to another and making it sound nice.
So I built StandupBot.
StandupBot runs by itself every Monday at 9 AM. It reads my GitHub activity from the last seven days, writes a clean summary of it, and emails the summary to me. When I open my laptop, the draft is already sitting in my inbox. I read it, fix a line or two, and send it. The twenty minutes became about ninety seconds.
I did not want a dashboard. I did not want another app to log into. I already check my email, so the email is the interface.

How to Build It
I gave myself one rule for this weekend: no fancy stuff. One job, done properly.
My first real decision was about Python packages. Normally I would use the
requests library to call the GitHub API. But that means installing packages, zipping the folder, and uploading it to Lambda. That is slow, and it breaks in annoying ways. So I used urllib instead, which comes built into Python. boto3 is already inside the Lambda runtime. This meant zero dependencies. I could paste my code straight into the Lambda console and click Deploy. That one choice probably saved me two hours.The second decision was about my GitHub token. My first instinct was to put it in an environment variable. That works, but anyone with read access to the function can see it. Instead I stored it in AWS Systems Manager Parameter Store as a SecureString, and the Lambda reads it at runtime. It is a small extra step and it is much safer.
Then came the problems.
Problem 1: everything kept timing out. My function failed again and again with
Task timed out after 3.00 seconds . I stared at my code for a while before I understood the real issue. Lambda's default timeout is three seconds. My function calls GitHub and an AI model, which takes around 3344.10 milli seconds . The code was fine. The setting was wrong. I changed the timeout to 60 seconds and it worked immediately.Problem 2: the first summaries were bad. The model just rewrote my commit messages in longer sentences. That is not a status update. I rewrote the prompt to ask it to group related commits into one outcome, describe the result instead of the code, and keep every bullet under twenty words. I also added one strict line: never invent work that is not in the data below. That last line mattered more than anything else. Without it the model would politely make things up.

AWS Services Used / Architecture Overview
The whole thing is serverless. Nothing runs unless it is Monday.
Here is the flow:
Amazon EventBridge Scheduler wakes everything up. This is the trigger. It is a cron schedule set to
cron(0 9 ? * MON *) in the Asia/Kolkata timezone, and it invokes my Lambda function once a week. Nothing else can start the app.AWS Lambda does the actual work. It is a single Python 3.12 function that runs for roughly
3344.10 millisecouds per week.AWS Systems Manager Parameter Store holds my GitHub token as an encrypted SecureString.
Amazon Bedrock (Amazon Nova Lite) turns the raw commit data into readable English. I used the Converse API, which keeps the request format the same across different models.
Amazon SES sends the finished draft to my inbox.
Amazon DynamoDB stores one row for every run, so I have a history of my past updates.
Amazon CloudWatch collects the logs, which is how I found both of my bugs.


Learnings
Three things stuck with me.
A smaller model was enough. I assumed I needed a big model for good writing. Nova Lite handled summarising just fine, and it is far cheaper. The quality came from the prompt, not the model size.
Prompt rules beat prompt length. My long, detailed prompt produced worse output than my short, strict one. Telling the model what it must not do was more useful than describing what I wanted.
Most of a serverless app is permissions. I spent more time on the IAM policy than on the Python. Every service the Lambda touches needs an explicit allow. Getting
AccessDeniedException five times in a row taught me to read the error properly instead of guessing.I also learned that the most useful apps are small. StandupBot does one thing. That is exactly why it works.
Link to App or Repo
The repo has the full Lambda function, the IAM policy, the architecture diagram, and setup instructions so you can deploy your own copy.
StandupBot's output is an email rather than a website, so there is no public URL to click. The screenshots above show a complete run from trigger to delivered inbox message.
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article