AWS Builder Center

Weekend Creative Challenge: Wonderloom

Wonderloom, a tiny creative-writing app that generates whimsical micro-stories based on your mood. Built with HTML, CSS, and JavaScript, then deployed as a static website on Amazon S3. A simple project, a fun learning experience, and a reminder that small ideas can make people smile.

AWS SBGL | Aspiring Computer Scientist | Passionate about AI, Cloud, and Cybersecurity

Vision and what the app does

Wonderloom is a tiny creative-writing toy designed to make a few ordinary seconds feel more imaginative. The goal was simple: create something playful that anyone could use immediately, without creating an account, learning a complicated interface, or waiting for a model response. A visitor selects a mood—Joyful, Dreamy, Brave, or Cozy—and presses “Spin a story.” Wonderloom then combines imaginative story fragments into a short, original-feeling micro-story.
The creative output is deliberately small. Instead of generating a long page of text, the app produces a miniature moment: perhaps a moon folding the night into a boat, a shy drummer taking one bright step anyway, or a scarf wrapping the moon in a woolly hug. I wanted the experience to feel like opening a fortune cookie made by a friendly surrealist.
The app also includes a Copy story button, so visitors can save a favorite result, send it to a friend, or use it as the seed for a poem, drawing, game idea, or longer story. Wonderloom is not trying to replace a writer’s imagination; it is an invitation to start playing with it.

How I built it

I built Wonderloom as a lightweight, browser-based application using HTML, CSS, and JavaScript. Keeping the stack small was an intentional decision. It made the app fast to load, simple to maintain, and easy to deploy without requiring a backend, database, user authentication, or paid API calls.
The visual design uses a warm paper-like background, soft color gradients, playful shadows, and a large editorial-style title. I wanted it to feel hand-made rather than overly technical. The mood controls are intentionally direct: one click chooses an emotional direction, and one click creates a story.
The JavaScript code stores separate banks of opening lines, middle actions, and endings for each mood. When someone spins a story, the app randomly chooses one fragment from each bank and joins them together. This approach produces many combinations while keeping every result curated and positive. It also avoids the challenge of unpredictable or inappropriate generated text.
One challenge was making the creative output feel varied without becoming incoherent. Randomness can be fun, but it can also create awkward combinations. I addressed that by writing fragments that were compatible within each mood category. For example, the “brave” set includes imagery about storms, paths, and first steps, while the “cozy” set focuses on teacups, scarves, cinnamon windows, and warm travelers.

AWS services used and architecture overview

Wonderloom is deployed with Amazon S3 static website hosting in the AWS  ap-southeast-2  Region. Amazon S3 stores the application files—HTML, CSS, and JavaScript—and serves them as a public static website. This is a Free Tier-friendly architecture because there are no running servers, containers, or databases to manage.
Architecture overview:
Visitor’s browser
|
v
Amazon S3 static website endpoint
|
+-- index.html
+-- styles.css
+-- app.js
|
v
Story generation runs entirely in the browser
The browser downloads the static files from S3, then the visitor’s own device generates the story locally. This means there is no per-request compute service and no user data is collected or stored. It is a good fit for a small creative experience that needs to be quick, inexpensive, and easy to understand.

What I learned

This project reinforced that a useful creative app does not need a large architecture to make people smile. A clear idea, thoughtful writing, and a little interaction can be enough. I also learned more about deploying static web applications to Amazon S3, including bucket configuration, public read access for website files, website index settings, and verifying a deployment through the live endpoint.
Another useful lesson was to think about the user experience before adding technology. I considered using a generative AI service, but for this version I chose a curated client-side story engine. That choice keeps the experience instant and keeps the infrastructure minimal. It also leaves room for future expansion: a later version could optionally use Amazon Bedrock to generate longer stories, illustrations, or voice narration.
The Weekend Creative Challenge was a great reason to ship a small idea quickly. Wonderloom proves that a little whimsy can be deployed to the web with a compact, cloud-native design.

Link to app

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