Weekend Productivity Challenge: Aura
Discover how we built a unified, serverless focus workspace that pairs Amazon Bedrock Nova task decomposition with native Web Audio soundscapes to eliminate distractions and keep you in the zone.
Weekend Productivity Challenge: Aura
Tag:
#productivity
1. Vision & What the App Does
In today's fast-paced digital environment, productivity tools are often fragmented. We use one app to track tasks, another for a Pomodoro timer, another to play lofi beats, and yet another (or a browser tab) to query an AI assistant when we get stuck. This constant context-switching introduces micro-friction that breaks our "flow state."
Aura was born out of a simple vision: to create a unified, distraction-free, and immersive workspace that aligns structural organization with biological focus.
From a user perspective, Aura works in three main steps:
- The Brain Dump: The user enters a single, high-level macro-goal (e.g., "Set up a serverless API with JWT authentication"). Using the speed of Amazon Bedrock (Nova Lite), Aura instantly breaks this goal down into a logical, 4-to-7-step actionable checklist.
- The Ambiance Space: To block out distractions, the user is presented with a large Pomodoro focus timer paired with a Box Breathing visualizer (a glowing circle that expands and contracts to pace inhales and exhales). Underneath, a custom Web Audio synthesizer allows them to mix their own background lofi carrier waves, rain rumbles, and ocean sounds directly in their browser.
- The "Unstick" Assistant: When the user hits a roadblock on their active subtask, they can click a single-trigger "Get Unstuck" button. Bedrock analyzes their overall goal, their active task, and their specific problem to generate a direct, fluff-free technical solution (including code snippets) so they can return to work immediately.
2. How We Built It
We built Aura using React, TypeScript, and Vite on the frontend, and AWS Amplify (Gen 2) for the backend architecture.
During the development process, we made several critical decisions to optimize for developer velocity and app reliability:
- Code-First Backend: Rather than managing CloudFormation templates manually, we utilized Amplify Gen 2's TypeScript-first backend configuration. We defined our data schema and Lambda functions in code, ensuring end-to-end type safety from our database query interfaces straight to our React component states.
- Zero-Dependency Audio Synth: A major challenge with ambient workspaces is hosting and streaming heavy audio assets (which can lag, hit bandwidth limits, or break over time). We resolved this by building a custom, programmatic audio synthesizer using the native browser Web Audio API. By combining low-pass filters with white/pink noise generators and dual carrier wave oscillators, we synthesized rain, lofi carrier frequencies, and ocean rollers dynamically in real-time with zero external bandwidth cost.
- Strict Formatting Control: In our Lambda function, we wrote custom prompts and parser cleaning steps to ensure the Amazon Bedrock Nova Lite model returned a clean, parseable JSON array for the checklist, shielding the user interface from potential LLM formatting drift.
3. AWS Services Used & Architecture Overview
Aura leverages a serverless, highly scalable AWS architecture designed to remain well within the AWS Free Tier.
AWS Services Breakdown:
- AWS Amplify (Gen 2): Handles fullstack provisioning, infrastructure-as-code compilation, and hosts the static frontend assets.
- AWS AppSync: Provides a secure GraphQL API endpoint. We configured AppSync to use API Key authorization for frictionless access.
- AWS Lambda: Runs our
ai-helperfunction. Written in TypeScript, the function handles both thegenerate-flowandunstickquery resolvers.
- Amazon Bedrock (Nova Lite): Powering our AI prompts, the
amazon.nova-lite-v1:0model is incredibly fast and highly cost-efficient, making it perfect for rapid text generation and micro-advice.
4. What We Learned
Participating in the weekend challenge was an incredible learning experience.
First, we discovered the power of AWS Amplify Gen 2. The ability to define APIs, functions, and IAM policies directly in TypeScript files instead of navigating the AWS Console or writing raw CloudFormation made the backend setup feel like an extension of the frontend codebase.
Second, we learned how to work with Amazon Bedrock Nova models. The speed of the Nova Lite model is exceptional, making the "Unstick" feature feel responsive. We learned how to structure messages properly for the Nova API and handle JSON extraction.
Finally, we explored the Web Audio API to synthesize realistic ambient sounds. Programmatically creating low-pass low-frequency noise sweeps to simulate ocean waves opened our eyes to the rich multimedia capabilities available natively in modern web browsers.
5. Link to App and Repo
- GitHub Repository: https://github.com/lassestilvang/aws-july-weekend-challenge
- Live Deployment Link: https://main.d3ckd8os2oudz9.amplifyapp.com/
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article