AWS Builder Center
Weekend Productivity Challenge: Unblock

Weekend Productivity Challenge: Unblock

A self-hosted AI app that breaks procrastination by turning stuck tasks into 3-5 concrete physical actions you can do right now. Built on EC2 with llama.cpp and Phi-3 Mini after hitting Bedrock's quota wall.

Cloud Engineer

Vision & What the App Does

Unblock is a procrastination breaker. You type in a task you've been avoiding, optionally explain why you're stuck, and the AI responds with 3-5 concrete physical next actions. Not subtasks. Literal movements: "Open your browser, go to bank.com, click Settings, then Security, then Change Password."
The problem is narrow. Everyone has tasks they keep pushing to tomorrow. Productivity tools sort and prioritize, but they don't help when you already know what to do and still can't start. That paralysis comes from ambiguity. The task feels like one big thing, and your brain won't engage.
Unblock converts "I need to do my taxes" into a sequence of physical actions you can follow without thinking. The first action is always so small it requires no willpower to begin.
screenshot of the unblock me page


How You Built It

The original plan was straightforward: call Amazon Bedrock, get a response, display it. Ten minutes of integration work. Except my account's invocation quota turned out to be effectively zero. One token per day across all models, quota increase requests still pending. The managed AI service was off the table.
GPU instances weren't available either. Supply constraints across the board.
I went with self-hosting an open-source model on CPU.
The model is Microsoft's Phi-3 Mini (3.8B parameters) in Q4_K_M quantization, compressed to about 2.3GB. I chose it over Llama 3 8B because it's half the size and noticeably faster on CPU, while still producing reliable structured JSON output. For a task this focused, you don't need a 70B model. You need something fast and consistent.
The inference server is llama.cpp, compiled from source on Amazon Linux 2023. I picked it over vllm or TGI because it has zero Python dependencies and compiles cleanly without fighting package managers. Its built-in HTTP server exposes an OpenAI-compatible API on port 8080, so no wrapper code was needed.
The frontend is a single HTML file. Vanilla JS, inline CSS, no build step. The design takes cues from Todoist: warm off-white canvas, ember-red accents, Inter and Manrope fonts, decorative SVG wave strokes. It looks polished without a single npm package.
Nginx sits in front of everything, serving the static frontend on  /  and proxying  /api/*  requests to llama.cpp. One config file. One instance doing one thing.
Unblock taxes


AWS Services Used / Architecture Overview

Browser → Nginx (port 80) → static frontend (HTML/JS)
→ /api/* → llama.cpp server (port 8080)
└── Phi-3 Mini 3.8B Q4
The whole app runs on a single EC2 t3.xlarge (4 vCPU, 16GB RAM) with Amazon Linux 2023. Nginx serves the frontend and reverse-proxies API requests to llama.cpp. No Lambda, no API Gateway, no DynamoDB, no S3.
Why this simple? I didn't need anything else. Adding Lambda in front of an EC2 endpoint adds a network hop and cold start latency for zero benefit. A database would store what, exactly? The app is stateless by design. You ask a question, you get steps, you go do the thing.
The request flow: browser sends POST to  /api/v1/chat/completions  with the task description and a system prompt that constrains the output format. Nginx proxies it to llama.cpp. The model generates a JSON array of action steps. Total round trip is 5-10 seconds depending on output length.

What You Learned

Bedrock's free tier has real limits that the documentation doesn't make obvious. New accounts can hit invocation quotas so low they're unusable for development. One token per day is not a rate limit you can work around. If you're building a weekend project, have a backup plan for model access before you commit to an architecture.
llama.cpp surprised me. I expected to write a Python wrapper around the model, handle request queuing, format conversion, all of it. Instead the built-in HTTP server handles concurrent requests, supports streaming, and speaks the OpenAI API format natively. I pointed the frontend at it and it worked.
Small models work when the task is constrained. Phi-3 Mini at 3.8B parameters produces clean structured output when you give it a tight system prompt and ask for JSON. It doesn't hallucinate step sequences or get creative when you don't want it to. The trick is keeping the scope narrow enough that a small model can handle it confidently.
CPU inference on a t3.xlarge gives you 5-10 second responses with a quantized 3.8B model. For a single-user tool where you submit one request and then go do the steps, that latency is fine. The weekend constraint forced simplicity, and the app works better for it. Fewer moving parts means fewer things to debug at 11pm on a Sunday.
Unvlock me laundry


Link to Repo

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