11 / 11 Tracks Fixed · Shipped Live

The Sanctuary: An Audio Audit

A private wellness PWA, built as a gift, went unused and untested. Reviving it meant finding out exactly how much of it actually worked — and it was less than it looked.

Live-URL Verification Self-Hosted Audio Real Journal Persistence
The Sanctuary · Home
VERIFIED
The Sanctuary's home screen: a breathing orb named Zenith above a 'Ready for Tranquility' play control, set over a rippling dark water background
11 / 11
audio tracks tested,
all silently dead
Code 4
src not supported,
on every single one
0
third-party audio
dependencies, after the fix
∞
journal entries now
actually kept
01 · The Brief

A sanctuary nobody ever entered.

The Sanctuary was built as a private gift: a single-page meditation app with a breathing orb named Zenith, an ambient audio library, guided readings, a journal, and rotating quotes — wrapped in a glass-and-gold aesthetic. It was never actually used.

Built as a gift, not a product

Designed entirely for one person, with no usage data, no bug reports, and no reason anyone would have caught what was broken.

The core feature was never load-tested

Every audio URL was typed in and assumed to work. None were opened in a real Audio element before shipping.

Reviving it meant auditing it first

Before adding anything new, the real question was simpler: does the thing people would actually press — the play button — work at all?

02 · The Audit

Eleven tracks, zero that played.

Every track pointed at a third-party URL — soundjay.com, doyogawithme.com, freepd.com, a WordPress upload. Each one was loaded directly into a live Audio element and watched for its canplay or error event.

TrackSourceResult
Ethereal Ambientluviana.com/.../Ambient-Meditation-Music-1.mp3FAIL · 4
Healing Solfeggiofreepd.com/music/Healing.mp3FAIL · 4
Deep Space Floatfreepd.com/music/Deep%20Space.mp3FAIL · 4
Relaxing Lightfreepd.com/music/Relaxing%20Light.mp3FAIL · 4
Midnight Rainsoundjay.com/nature/sounds/rain-03.mp3FAIL · 4
Ocean Wavessoundjay.com/nature/sounds/ocean-wave-1.mp3FAIL · 4
Forest Morningsoundjay.com/nature/sounds/forest-birds-1.mp3FAIL · 4
Mountain Riversoundjay.com/nature/sounds/river-1.mp3FAIL · 4
Release Stressdoyogawithme.com/audio/guided-meditation-stress-relief.mp3FAIL · 4
Morning Claritydoyogawithme.com/audio/morning-clarity.mp3FAIL · 4
Deep Rest (Yoga Nidra)doyogawithme.com/audio/deep-rest.mp3FAIL · 4
A quieter version of the same bug: in the Sacred Vault journal, the "Safely Stored" button cleared the textarea and flashed its success state, but never wrote the entry anywhere. A firebase.js file sat in the repo, configured but never wired in — a persistence layer that was started and never finished.
03 · The Fix

Self-host what you depend on.

Hotlinking someone else's media was the root cause, not just the specific dead URLs — any replacement links would eventually rot the same way. The fix was to stop depending on third-party hosts staying up at all.

Audio library, self-hosted

Sourced 11 replacement tracks under a commercial-use license, downloaded and bundled them into the repo, and rewired the player to local, relative paths. Nothing in playback depends on an external host anymore.

Mixkit license ~69MB bundled 11 tracks

Journal, actually persisted

Replaced the no-op save with real localStorage persistence: entries are timestamped, rendered back on load, and individually deletable. Verified an entry survives a full page reload.

localStorage dated entries delete support
One section got renamed, not just re-linked: "Guided Journeys" became "Quiet Practice." The replacement tracks are instrumental, not narrated — keeping the old copy would have promised spoken guidance the audio no longer delivers.
The Sonic Archives library tab showing the Atmospheres & Frequencies and Nature Elements track categories, now pointing at self-hosted audio
The Sonic Archives, rewired to self-hosted tracks
The Wisdom & Reflection tab showing a saved, dated journal entry with a delete control
A journal entry that actually survives a reload
04 · Verification

Checked on the live page, not the changelog.

A commit that looks right isn't the same as a feature that works. Verification happened against the deployed production URL: pressing play and reading the underlying Audio object's own state — currentTime advancing, readyState: 4, no error — and writing a real journal entry through the UI to confirm it round-tripped through localStorage.

Playback, live URL

Confirmed via the real Audio object's own properties — not just a visual check of the player UI.

Journal round-trip

Wrote an entry through the real UI, confirmed it landed in localStorage, then cleared the test entry.

A problem the fix didn't cause

Days later the production URL 404'd. Tracing GitHub's Actions history showed the Pages build had succeeded against the fix commit — pointing at a settings change, not a regression.

A sanctuary that works when you press play.

The product didn't need new features. It needed the ones it already claimed to have — a play button that plays, and a vault that actually keeps what you put in it.