Weekend Productivity Challenge: One-Paragraph-Summarizer
An AI-powered tool that condenses long emails, meeting notes, or articles into a single clear paragraph using Amazon Bedrock and Nova Micro.
Weekend Productivity Challenge: One-Paragraph Summarizer
Tags: #productivity
Vision & what the app does
Most productivity tools try to add more to your day — another dashboard, another list, another thing to check. I wanted to build something that does the opposite: takes something long and gives you back something short.
The One-Paragraph Summarizer does exactly one thing. You paste in a block of text — a long email thread, a meeting transcript, a dense article, a Slack backlog you're behind on — and it hands you back a single, tight paragraph capturing what actually matters. No bullet points, no headers, no fifteen-slide breakdown. Just the gist, in the time it takes to read four to six sentences.
From a user's perspective, the flow is deliberately boring: open the page, paste text into a box, click Summarize, read the paragraph. That simplicity is the point. The tool for getting through more of your inbox shouldn't itself become something you have to manage.
Under the hood, every request is handled by a large language model — Amazon Nova Micro, running on Amazon Bedrock — with a prompt engineered to force a specific output shape: exactly one paragraph, focused on actionable information, with an explicit instruction to skip preamble and formatting. That constraint is doing more work than it looks like; without it, models default to bullet lists or multi-paragraph breakdowns, which defeats the entire purpose of a one-paragraph summarizer.

How I built it
I started by scoping the problem down as far as it would go. "Productivity tool" is a big umbrella, and it was tempting to build a to-do prioritizer with sorting logic, tagging, and persistence. Instead, I picked the smallest version of "AI helps me get through more information, faster" and built that end to end, cleanly, rather than a half-finished version of something bigger.
The build order was: Lambda function first, IAM permissions second, a public endpoint third, frontend last. Testing each layer with
curl before touching a browser meant that by the time I wired up HTML and JavaScript, I already knew the backend worked — any bugs left were purely frontend, which is a much smaller debugging surface.Two real snags came up along the way, both worth mentioning since they're the kind of thing that eats a weekend if you don't know to look for them:
Public Lambda Function URLs got blocked at the account level. My first instinct was to skip API Gateway entirely and expose the Lambda function directly via a Function URL with
AuthType: NONE — fewer moving parts, one fewer service. The resource policy was configured correctly, but every request came back 403 Forbidden . After ruling out propagation delay and confirming the Lambda function itself worked perfectly with a direct aws lambda invoke , it became clear the block was happening at the account/authorization layer for public Function URLs specifically, not in anything I'd configured. Rather than fight it, I put an API Gateway HTTP API in front of the same Lambda function instead — a five-minute change that sidesteps the restriction entirely, since it's a different service boundary with its own permission model.Lambda Function URL CORS has an undocumented six-character limit on each entry in
AllowMethods . OPTIONS is seven characters, so the initial CORS config failed AWS's own validation with a fairly cryptic error. Small thing, but the kind of thing you only learn by hitting it — using a wildcard "*" for methods sidesteps it. (This became moot once I moved to API Gateway, but it cost real debugging time before I got there.)I also hit the classic S3 public-bucket-policy trap: newer S3 buckets default to blocking public policies at the account level, so a bucket policy that looks completely correct silently does nothing until you explicitly turn that block off first.
AWS services used / architecture overview
The final architecture is deliberately thin — four hops, no unnecessary services:
Browser (HTML/JS) → Amazon API Gateway (HTTP API) → AWS Lambda (Python 3.12) → Amazon Bedrock (Amazon Nova Micro, via the Converse API)

- Amazon API Gateway — the public HTTPS entry point. A single HTTP API with CORS enabled and a Lambda proxy integration; no custom domain or auth layer needed for a demo like this.
- AWS Lambda — the entire application logic lives in one function. It receives the pasted text, builds a constrained summarization prompt, calls Bedrock, and returns JSON.
- Amazon Bedrock (Nova Micro) — the actual summarization happens here via the Converse API, which gives a consistent request/response shape regardless of which foundation model sits behind it.
- IAM — a Lambda execution role scoped narrowly to CloudWatch Logs plus
bedrock:InvokeModelon the Nova Micro model ARN specifically, not a blanket Bedrock policy.
- Amazon S3 (optional) — static website hosting for the single HTML frontend file, no build step or framework required.
Everything here fits comfortably inside AWS Free Tier limits for a weekend's worth of testing: Lambda's free tier alone covers well over a million requests a month, and Nova Micro's per-token cost is low enough that dozens of test summarizations amount to a rounding error.
What I learned
The most useful thing I picked up wasn't about Bedrock or Nova specifically — it was a reminder that AWS's "simplest" path (a public Lambda Function URL, zero extra services) isn't always actually the simplest path in practice. API Gateway added one more service to the architecture diagram, but it removed an entire category of debugging dead-end, and it's arguably the more "correct" pattern for a real API anyway.
On the Bedrock side, the Converse API turned out to be a genuinely good abstraction — the same request shape works whether you're calling Nova, Claude, or a Llama model on Bedrock, which makes swapping models later a one-line change rather than a rewrite.
The other lesson was more about scope discipline than AWS specifically: building the smallest possible version of the idea, and getting it fully working end-to-end, produced something more useful than a bigger half-built version would have. There's a version of this project with task tagging, history, and export options — but none of that mattered as much as making sure the one thing it does, it does reliably.
Link to app / repo
Source code, deployment scripts, and setup instructions: github.com/brajesh-sahoo/one-paragraph-summarizer
The repo includes a
deploy.sh script that reproduces the full setup via AWS CLI end to end, and a cleanup.sh script to tear everything down afterward.Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article