On this page
← back to projects

PRODUCTIVITY / INTERACTIVE WEB / 2026

Little Room: Pomodoro Timer

A cozy space to focus, collect companions, and make your own.

I built Little Room to turn focused work into a room that grows with me. Focus sessions help me hatch companions, decorate the room, and build a routine I can look back on in the Journal.

  • React
  • JavaScript
  • Node.js
  • Web Audio
A ROOM TO FOCUS INView code on GitHub →

THE IDEA

I wanted a timer that felt like a place.

I wanted a reason to return to my focus routine beyond watching a number reach zero. I paired the timer with small rewards, animal companions, and a room I could arrange myself. Notes, daily goals, and a Journal keep it useful as a workspace, while the collection gives each session something to build toward.

TECH STACK

INTERFACE

  • React 18
  • JavaScript · CSS

STATE

  • React reducer
  • Timestamp timers

LOCAL DATA

  • Node.js HTTP
  • JSON saves · recovery

AUDIO + CHECKS

  • Web Audio API
  • Jest · Playwright

Inside Little Room

Focus, collect, and decorate in one space. The timer, companions, room layout, and Journal share the same saved progress.

(Screenshots use a fictional demo profile, including sample notes and Journal history.)

Focus and notes

Start a Pomodoro countdown or an open-ended count-up session, attach a task, and keep a thought in the Scratchpad. Short and long breaks support the routine, while optional overtime lets a good focus session continue.

Eggs and rewards

Focus earns Shilligems to spend on basic and mystery eggs. Active focus time moves the selected egg toward hatching, turning another session into progress toward a new companion.

Pet companions

An album tracks collected pets, undiscovered companions, and each pet’s animation unlocks. Accessories and upgrades make the collection part of the room, with companions that feel like they belong there.

Make the room yours

Choose furniture, place companions, and move the timer and daily-goal widgets. Arrange mode keeps the room visible beside its editing controls, so I can see the whole layout as I change it.

Journal and daily goals

Daily goals, session history, and a 30-day activity chart make the routine visible. Journal statistics are calculated from saved sessions, with tasks and tags keeping the time connected to what I worked on.

Sound and atmosphere

Layer rain, a fireplace, and brown noise at independent volumes. Timer cues and interaction sounds have their own controls. Web Audio generates the ambient layers and sound effects.

ENGINEERING DECISIONS

Under the hood

Time from timestamps

I calculate elapsed time from timestamps and saved snapshots, so a delayed browser tick does not lose focus time. A central reducer settles sessions by ID, keeping timer completion and rewards separate from animation and sound.

Recoverable local saves

A local Node.js service saves progress to JSON files with revision checks, atomic writes, and a backup. The interface queues edits while a save is in flight and keeps a recovery draft when versions conflict. The app runs on my computer without an account or cloud sync.

Room layout and gestures

I save percentage anchors for room objects and fit the editing view around the furniture and controls. Drag positions stay temporary until release; Escape, a resize, or a cancelled gesture discards the draft without changing the saved placement.