How kai-xin-02/leave-me works
leave.me is a hosted link-in-bio/profile product: visitors open a user’s public page, while creators authenticate, edit their profile and media, and manage incoming messages. The README describes profile content, social links, themed image/GIF/video backgrounds, music, anonymous messages, and view counts. The tree and excerpts show separate landing, dashboard, profile, and guestbook code; the guestbook entry point uses its own Supabase DAO. Dashboard and profile internals are only partially sampled, so uncertain implementation wiring is omitted.
Main entry points: dashboard.js Dashboard editor · landing.js Auth flows · profile.js Profile rendering · dashboard.html Creator dashboard
Components 19
Account access
- Sign-in page
index.html - Auth flows
js/landing.js - Supabase setup
js/supabase-config.js
Profile editing
- Creator dashboard
dashboard.html - Dashboard editor
js/dashboard.js - Music trimming
js/music-trimmer.js
Public experience
- Public profile
u/index.html - Profile rendering
js/profile.js - Theme controls
js/theme-controls.js
Messages and data
- Guestbook page
main.js - Guestbook DAO
supabaseClient.js - Message service
js/firebase.js - Message admin
admin.html - Admin controls
js/admin.js
Other components
- Creator
- Visitor
- Supabase
- Firebase
- Media storage
Connections 20
- Creator → Sign-in page: opens
- Sign-in page → Auth flows: runs
- Auth flows → Supabase setup: uses auth
- Supabase setup → Supabase: connects
- Auth flows → Creator dashboard: redirects
- Creator → Creator dashboard: opens
- Creator dashboard → Dashboard editor: runs
- Dashboard editor → Supabase: reads/writes
- Dashboard editor → Music trimming: uses
- Dashboard editor → Media storage: uploads media
- Visitor → Public profile: visits
- Public profile → Profile rendering: runs
- Profile rendering → Supabase: loads profile
- Profile rendering → Theme controls: uses
- Visitor → Guestbook page: opens
- Guestbook page → Guestbook DAO: calls
- Guestbook DAO → Supabase: queries and subscribes
- Message admin → Admin controls: runs
- Admin controls → Message service: calls
- Message service → Firebase: reads/writes/deletes