How athy311/bsf works
This is a single-page personal “bestie” experience: visitors use playful controls, a tiny pet, wishes, and media features to produce messages, animations, and changing page state. The main runtime is a single JavaScript file, so its distinct interactions are represented as components sharing that source path. The excerpt shows wish persistence through browser localStorage and several event-handler relationships. HTML, CSS, and media contents were not sampled; links to those assets are therefore omitted or marked unverified where useful.
Main entry points: script.js Memory video controls · song.mp3 Background song · video1.mp4 Memory clips
Components 16
Page shell
- Page markup
index.html - Page styling
style.css
Interactive experience
- Page interactions
script.js - Mood and messages
script.js - Tiny pet
script.js - Wish jar
script.js - Browser wish storage
- Theme toggle
script.js - Love counter and hugs
script.js
Media and effects
- Music controls
script.js - Background song
song.mp3 - Memory video controls
script.js - Memory clips
video1.mp4 - Video modal
script.js - Hearts and confetti
script.js
Other components
- Visitor
Connections 16
- Visitor → Mood and messages: chooses mood
script.js - Visitor → Tiny pet: cares for
script.js - Visitor → Wish jar: adds wishes
script.js - Visitor → Theme toggle: toggles theme
script.js - Visitor → Love counter and hugs: sends affection
script.js - Visitor → Music controls: toggles music
script.js - Visitor → Memory video controls: controls clips
script.js - Visitor → Hearts and confetti: triggers effects
script.js - Wish jar → Browser wish storage: saves wishes
script.js - Wish jar → Browser wish storage: loads wishes
script.js - Tiny pet → Tiny pet: updates bars
script.js - Memory video controls → Video modal: opens modal
script.js - Memory video controls → Hearts and confetti: creates hearts
script.js - Hearts and confetti → Hearts and confetti: bursts hearts
script.js - Music controls → Background song: plays
- Memory video controls → Memory clips: plays clips