Privacy Policy
This policy describes how Halo Music actually handles data today. Continuing to use the site means you understand the following.
1. What we collect
- Account data: email, username, and a one-way password hash (PBKDF2-SHA256, 100k iterations with a random salt — no plaintext passwords); optional display name and avatar URL.
- Google sign-in: we receive your Google account ID, verified email, name, and avatar URL. We never see your Google password.
- Library: your favorite songs and playlists, stored as JSON.
- Listening history: track ID, title, artist, duration, and play time. Used only to show you your listening stats.
- Email codes: only the code hash and expiry are stored. Codes expire after 10 minutes; rate-limit IP hashes are deleted after 24 hours and are only used to limit request frequency.
- Cache: search keywords are cached for about 45 seconds; resolved audio URLs for up to 365 days (to speed up playback and avoid repeated lookups). This also applies to anonymous visits.
2. Local browser storage
Theme preference, playlists, and the queue are stored locally in localStorage. Your session uses the HttpOnly cookie hm_token (Secure, SameSite=Lax, 30 days), which page scripts cannot read.
3. Third-party services
- Cloudflare: page hosting, API runtime, and database storage.
- Resend: sending registration code emails.
- Google: OAuth sign-in.
- Music platforms and their public parsing endpoints: search and playback; search keywords are sent to the corresponding platform.
This site does not load third-party analytics or tracking scripts.
4. How data is used
This data is used only for sign-in, syncing favorites and playlists, showing you your listening stats, and searching and playing content. Listening history powers only the stats you can see; it is never used for marketing or profiling.
5. Retention, export, and deletion
Account data is kept until you delete your account. After deletion, your account, favorites, playlists, listening history, and sessions are removed and cannot be recovered; underlying backups may retain snapshots for a while and then expire automatically. To export your data, ask via GitHub Issues.
6. Security
The site uses HTTPS; session cookies are HttpOnly, Secure, and SameSite; passwords are stored only as hashes. No internet service can guarantee absolute security — never reuse an important password here.
7. Minors
The site is not directed at children under 14, and we do not knowingly collect their personal information.
8. Changes and contact
Any changes will be posted on this page. Questions? Reach us via GitHub Issues or email edfc1582@shmarpe.resend.app.