Skip to content

Commit 4a5abec

Browse files
author
NellowTCS
committed
More stuff
1 parent b4c5ed6 commit 4a5abec

39 files changed

+1116
-1463
lines changed

Build/privacy.html

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>HTMLPlayer Privacy Policy</title>
7+
<meta name="description" content="HTMLPlayer Privacy Policy" />
8+
<link href="./src/global.css" rel="stylesheet" />
9+
<link
10+
href="./src/ui/resources/themes/Palettes/Blue/Blue.theme.css"
11+
rel="stylesheet"
12+
id="theme-link"
13+
/>
14+
<script>
15+
(function () {
16+
const savedMode = localStorage.getItem("themeMode") || "auto";
17+
if (savedMode === "dark") {
18+
document.documentElement.classList.add("dark");
19+
} else if (savedMode === "auto") {
20+
if (
21+
window.matchMedia &&
22+
window.matchMedia("(prefers-color-scheme: dark)").matches
23+
) {
24+
document.documentElement.classList.add("dark");
25+
}
26+
}
27+
})();
28+
</script>
29+
</head>
30+
<body>
31+
<div id="root"></div>
32+
<script type="module" src="./src/pages/privacyEntry.tsx"></script>
33+
</body>
34+
</html>

Build/public/privacy.html

Lines changed: 0 additions & 81 deletions
This file was deleted.

Build/public/tos.html

Lines changed: 0 additions & 92 deletions
This file was deleted.

Build/src/data/legal.ts

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
export interface LegalSection {
2+
heading: string;
3+
content: string | string[];
4+
}
5+
6+
export interface LegalDocument {
7+
title: string;
8+
effectiveDate: string;
9+
sections: LegalSection[];
10+
contact: string;
11+
}
12+
13+
export const privacyPolicy: LegalDocument = {
14+
title: "HTMLPlayer Privacy Policy",
15+
effectiveDate: "9/23/2025",
16+
sections: [
17+
{
18+
heading: "1. Introduction",
19+
content: `HTMLPlayer respects your privacy. Since the App is primarily client-side,
20+
we do not collect personal data unless you interact with external services
21+
(e.g., Discord integration).`,
22+
},
23+
{
24+
heading: "2. Data Collection",
25+
content: [
26+
"The App does not collect personal information by default.",
27+
"Optional Discord integration may send limited information (username, current activity) to Discord's servers for the purpose of updating your music activity.",
28+
],
29+
},
30+
{
31+
heading: "3. Cookies and Tracking",
32+
content: "HTMLPlayer does not use cookies or trackers for analytics or advertising.",
33+
},
34+
{
35+
heading: "4. Third-Party Services",
36+
content: `Discord integration is managed via OAuth; your authorization is handled by
37+
Discord directly. HTMLPlayer does not store Discord credentials or share
38+
data outside the Discord API.`,
39+
},
40+
{
41+
heading: "5. Security",
42+
content: `All client-side operations run in your browser; no server-side storage of
43+
music or personal data occurs. We take no responsibility for security
44+
vulnerabilities in your browser or Discord.`,
45+
},
46+
{
47+
heading: "6. Data Sharing",
48+
content: "HTMLPlayer does not sell, trade, or share personal information with third parties, except through authorized use of Discord features.",
49+
},
50+
{
51+
heading: "7. Updates to Privacy Policy",
52+
content: "We may update this Privacy Policy as HTMLPlayer evolves. Continued use indicates acceptance of the latest policy.",
53+
},
54+
{
55+
heading: "8. Contact",
56+
content: "For privacy questions, contact: nellowtcs@gmail.com",
57+
},
58+
],
59+
contact: "nellowtcs@gmail.com",
60+
};
61+
62+
export const termsOfService: LegalDocument = {
63+
title: "HTMLPlayer Terms of Service (TOS)",
64+
effectiveDate: "9/23/2025",
65+
sections: [
66+
{
67+
heading: "1. Acceptance of Terms",
68+
content: "By using HTMLPlayer (the \"App\"), you agree to these Terms of Service. If you do not agree, do not use the App.",
69+
},
70+
{
71+
heading: "2. Use of the App",
72+
content: [
73+
"HTMLPlayer is a free, open-source music player.",
74+
"All core functionality runs client-side in your browser; we do not collect usage data except when explicitly interacting with external services like Discord.",
75+
"You may use the App for personal, non-commercial purposes.",
76+
],
77+
},
78+
{
79+
heading: "3. Intellectual Property",
80+
content: `HTMLPlayer and its source code are licensed under the
81+
MIT License. You may copy, modify, or redistribute the App according to the MIT License terms.`,
82+
},
83+
{
84+
heading: "4. Discord Integration",
85+
content: `The App may optionally integrate with Discord to display music activity.
86+
Access to Discord features requires you to authorize HTMLPlayer via
87+
Discord OAuth. HTMLPlayer does not store your Discord credentials.`,
88+
},
89+
{
90+
heading: "5. Beta Disclaimer",
91+
content: "HTMLPlayer is currently in beta. Features may be unstable or incomplete. Use at your own risk.",
92+
},
93+
{
94+
heading: "6. No Warranty",
95+
content: `The App is provided "as-is" without warranty of any kind, either express
96+
or implied. The developers are not liable for any damages arising from the
97+
use or inability to use HTMLPlayer.`,
98+
},
99+
{
100+
heading: "7. Limitation of Liability",
101+
content: "You use HTMLPlayer entirely at your own risk. Developers are not responsible for any loss, data corruption, or other issues resulting from your use of the App.",
102+
},
103+
{
104+
heading: "8. Modifications to Terms",
105+
content: "We may update these Terms at any time. Continued use constitutes acceptance of the updated Terms.",
106+
},
107+
{
108+
heading: "9. Contact",
109+
content: "For questions about these Terms, contact: nellowtcs@gmail.com",
110+
},
111+
],
112+
contact: "nellowtcs@gmail.com",
113+
};

Build/src/global.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ body {
7575
overflow: hidden;
7676
}
7777

78+
html {
79+
overflow-y: auto;
80+
}
81+
7882
/* html {
7983
background: var(--themegradient);
8084
} */

0 commit comments

Comments
 (0)