# Floppygram: Turn a Floppy Disk into a Gift

I am excited to announce my Kiroween hackathon project called [Floppygram](https://floppygram.vercel.app) 💾

> **Floppygram** turns a floppy disk into a gift. Fill a virtual disk with photos, a letter, and a few links, give it a color and a label, and send one private link. The person who gets it slides the disk into a tiny retro computer and opens each memory.

🌐 View the live version of the site at [floppygram.vercel.app](https://floppygram.vercel.app)

💻 Check out the GitHub repo at: <https://github.com/Cool-Runningz/kiroween-2026>

# ✨ How it Works

### Customizing a disk

1. Choose **Make a floppy disk**, then pick a plastic color, a title, and a short message.
2. Add a photo, write a letter, and paste a link.
3. Choose **Publish**, then **Share**, and copy the private link.

When you make your first disk, your browser gets a private management link, and that link is what proves the disk is yours. This makes it so that no account is required.

![Customizing a floppy disk](https://cdn.hashnode.com/uploads/covers/5f29f6abe180c5164cdece86/458518de-5497-4725-ac43-33ff03331177.png align="center")

### Opening a disk

The recipient lands on a desk with a small CRT computer. The floppy slides into the drive, the screen reads the disk, and the contents spill onto the desk as tactile objects:

- 📸 Photos are **Polaroids**
- 📜 Letters are **sheets of lined paper** set in Courier
- 🏷️ Links are **luggage tags**

![ A small CRT reads the disk before anything appears. Phosphor green is only ever used for the machine's voice.](https://cdn.hashnode.com/uploads/covers/5f29f6abe180c5164cdece86/d142e25e-b2b3-4918-a3cd-e1c15a14c80b.png align="center")

### Limits

Each disk can store up to 25 MB, with individual files capped at 10 MB. An old-school floppy disk held about 1.44 MB, so I intentionally set these size limits to maintain a retro feel while allowing for the upload of modern items.

![The disk's contents land on a felt desk: photos as Polaroids, a letter on lined paper, and a link on a luggage tag.](https://cdn.hashnode.com/uploads/covers/5f29f6abe180c5164cdece86/dc7e8c94-b5f2-47d8-8dcf-8b835a414dcd.png align="center")

# 💡 How I Came up with the Idea

Kiroween has several categories, and I picked:

> **Resurrection**: Bring your favorite dead technology back to life. Reimagine obsolete tech with today’s innovations or solving tomorrow’s problems.

I didn't have to think long about this as I grew up using floppy disks and thought it would be cool to try and bring that back in a modern way.

<div data-node-type="callout">
<div data-node-type="callout-emoji">💾</div>
<div data-node-type="callout-text"><p><strong>I didn't try to bring back the <em>storage</em> aspects but rather I tried to bring back the <em>feeling </em>of using a floppy disk. Floppygram is a time capsule you can send to someone: a small, personal bundle that arrives as an object instead of a link in a text thread.</strong></p></div>
</div>

That decision shaped the rest of the project. If the experience is the product, then the recipient's first thirty seconds matter more than any feature list. I spent a lot of the build on small things like the sound the disk makes going into the drive, because those micro-interactions are the moments a person remembers.

# 🛠️ Tech Stack

1. [**React**](https://react.dev/) + [**TypeScript**](https://www.typescriptlang.org/) + [**Vite**](https://vite.dev/) (Frontend)
2. [**Tailwind CSS v4**](https://tailwindcss.com/) (Utility-first CSS framework)
3. [**Zustand**](https://zustand-demo.pmnd.rs/) (Lightweight state management)
4. [**Vercel**](https://vercel.com/) (Frontend hosting)
5. [**AWS SAM**](https://aws.amazon.com/serverless/sam/) (Infrastructure as code for the backend)
6. [**API Gateway**](https://aws.amazon.com/api-gateway/) (REST API with throttling)
7. [**Lambda**](https://aws.amazon.com/lambda/) (One Node.js 24 function on arm64 with internal routing)
8. [**DynamoDB**](https://aws.amazon.com/dynamodb/) (Single table, on-demand billing)
9. [**S3**](https://aws.amazon.com/s3/) (Private bucket, served through short-lived signed URLs)
10. [**Vitest**](https://vitest.dev/), [**Testing Library**](https://testing-library.com/), [**axe-core**](https://github.com/dequelabs/axe-core), and [**fast-check**](https://fast-check.dev/) (Testing)
11. [**Magic Patterns**](https://www.magicpatterns.com/) (Visual source of truth for the design)
12. [**Kiro**](https://kiro.dev) (Specs, steering, hooks, MCP, and sub-agents)

# 👻 How I Used Kiro

Everything Kiro used lives in the repo's `.kiro/` folder, committed alongside the code. Kiro proposed plans and implemented tasks. I reviewed every document and made the product and architecture decisions.

| Kiro feature | What I used it for |
| --- | --- |
| **Specs** | One per phase (6 total, about 10,500 lines). Kiro left the open decisions for me, each with options and a recommendation. |
| **Steering** | 5 files in every conversation, so the data model, security rules, accessibility rules, and design rules stayed consistent across six phases. |
| **Hook** | After every spec task, an agent hook writes a learning-focused entry in a build journal. |
| **MCP** | Magic Patterns for the design source of truth, Chrome DevTools to test in a real browser, and AWS tools for read-only checks on the deployment. |
| **Sub-agents** | Spec tasks ran in parallel through execution sub-agents when they touched different files. |

### 📋 Specs: one per phase

Instead of one giant [spec](https://kiro.dev/docs/specs/) for the whole app, I gave each phase its own focused spec. Each one has `requirements.md`, `design.md`, and `tasks.md`.

| Phase |
| --- |
| 1\. Technical Foundation |
| 2\. Disk Persistence |
| 3\. File Uploads and Storage |
| 4\. Desk Experience |
| 5\. Sharing |
| 6\. Polish and Launch |

### 🧭 Steering: decisions that carry over

Five [steering](https://kiro.dev/docs/steering/) files are included in every Kiro conversation, so I never had to re-explain what standards I wanted to keep as I implemented each phase.

| File | What it holds |
| --- | --- |
| `product-context.md` | What Floppygram is, the MVP scope, and the deferred features |
| `tech-conventions.md` | The stack, the DynamoDB data model, and save and upload consistency rules |
| `aws-security-cost.md` | Private S3, hashed tokens, short-lived signed URLs, and cost guardrails |
| `accessibility-standards.md` | Keyboard, screen reader, contrast, and reduced motion requirements |
| `design-language.md` | The design system |

### 🪝 Hooks: a build journal that writes itself

I'm a front-end developer, and this project involved a lot of backend and AWS work that was new to me. I wanted to *learn* it, not just ship it. I added an agent hook ([`build-journal.json`](https://github.com/Cool-Runningz/kiroween-2026/blob/main/.kiro/hooks/build-journal.json)) that runs after every spec task (`PostTaskExec`). Its prompt tells Kiro how to decide whether to write anything:

```markdown
MILESTONE (write an entry) if at least one is true:
- A top-level task or checkpoint of a spec just completed, or the last
  sub-task of a top-level task completed.
- A new technology, AWS service, or tool was used for the first time.
- A non-obvious technical decision was made or changed.
- A real problem was hit and resolved (including problems the user diagnosed).

NOT A MILESTONE (do nothing): a single sub-task in the middle of a larger
task, test-only or formatting changes, doc or comment tweaks, renames...
```

If it's a milestone, the hook adds an entry to [`docs/build-journal.md`](https://github.com/Cool-Runningz/kiroween-2026/blob/main/docs/build-journal.md) with what was built, the concepts explained for a frontend developer, the decisions, the challenges, the takeaways, and "check yourself" questions.

### 🔨 MCP (Model Context Protocol)

1. 🎨 [**Magic Patterns**](https://www.magicpatterns.com/) managed the visual design, and Kiro accessed it live in a read-only format via [their MCP](http://magicpatterns.com/docs/documentation/features/mcp-server/overview). The handoff folder, [`docs/design/`](https://github.com/Cool-Runningz/kiroween-2026/tree/main/docs/design), includes every frame ID and crucially notes what isn't transferred. By mocking up these designs in advance, Kiro received clear design guidelines, ensuring adherence to the design system when implementing smaller, unaccounted-for components.
2. 🌐 [**Chrome DevTools MCP**](https://github.com/ChromeDevTools/chrome-devtools-mcp) enabled Kiro to review its work effectively. Once the creator flow was completed, Kiro tested a real Chrome browser against the entire local stack, documenting findings and verifying the work throughout the process.
3. [**Agent Toolkit for AWS**](https://aws.amazon.com/products/developer-tools/agent-toolkit-for-aws/) provided Kiro with the necessary tools, knowledge, and guidelines to construct production-ready infrastructure on AWS. This proved invaluable during Phase 6, as the focus shifted towards publishing the backend, transitioning from purely local development.

# 👷🏽‍♀️ Implementation Details

The architecture is deliberately small: **one Lambda** that routes internally, **one DynamoDB table** in on-demand mode, and **one private S3 bucket**. Intentionally making the architecture lean keeps the cost near zero.

### 🏗️ Phase 1: Foundation

A SAM project with a health endpoint and a Vite app that calls it. I wanted to prove the frontend and backend could talk to each other before building anything else. This was my first time setting up a serverless backend, so I started small on purpose.

### 💾 Phase 2: Disk Persistence

DynamoDB with a single-table design. A disk has **published** values (what recipients see) and a **draft** (what the creator is editing). Publishing copies the draft into the published fields in one conditional update, so a recipient never sees a half-finished disk. There are no accounts. A creator is identified by a management link, and the backend stores only a hash of its token.

### 📸 Phase 3: Uploads

Photos go straight to a private S3 bucket through short-lived signed URLs. They land in a `pending/` prefix and are copied to `committed/` only after the backend verifies them. Orphaned pending uploads expire after seven days through a lifecycle rule, so there's no cleanup job to run.

### 🖥️ Phase 4: The Desk

The fun phase. Polaroids, lined paper, luggage tags, and the CRT, all built to follow the design steering file. Accessibility was part of every component instead of a final pass: keyboard navigation, focus traps in dialogs, live announcements for save and upload status, and `prefers-reduced-motion` versions of every animation.

### 🔗 Phase 5: Sharing

Unlisted share links with a read-only recipient experience, plus a creator preview so you can see exactly what your recipient will see. The recipient flow plays through the sleeve, the disk sliding into the drive, and the desk.

### 🚀 Phase 6: Polish and Launch

Accessibility and contrast adjustments, a security review of the repository, sound effects for inserting and ejecting the disk, the initial AWS deployment to us-east-2, and numerous other UX elements to make the micro-interactions memorable.

# 🧗 What Didn't Go Perfectly

I'd be lying if I said everything went smoothly. Here are some hurdles that had to be tackled:

- **Amplify hosting.** I planned to host the frontend on AWS Amplify, but a new AWS account's Amplify quota starts at zero. Rather than wait on a quota increase, I moved the frontend to Vercel and kept the API and storage on AWS.
- **Tests that missed real bugs.** All 377 unit tests passed, but a real-browser check still found problems they couldn't see, like a Desk with no way back to My Disks and a "Saved" label that contradicted "Unsaved changes."

# 🔮 MVP and Beyond

I am super proud of what I’ve been able to accomplish for the hackathon, however, there are many more improvements that I would like to make in the future. Below is a list of some items that I would like to add post-MVP:

1. **A shared list of items.** A place to keep the links and memories that have been shared with you.
2. **Audio uploads.** MP3s on a disk would be a natural fit for a mixtape.
3. **Time capsules.** A disk that unlocks on a date you choose.
4. **The guided tour.** An optional walkthrough for recipients. It's in the original design, but I deferred it.

# 👋🏽 El Fin

Thanks for reading about the journey to create this project. Floppygram started as a small nostalgic idea, and I'm happy it turned into something you can actually send to someone. I also learned a lot about working with Kiro and deploying a full-stack application on AWS infrastructure.

As always, thank you for reading, and happy coding! Feel free to make a disk for someone and check out the repository.

%[https://floppygram.vercel.app/]

%[https://github.com/Cool-Runningz/kiroween-2026]
