From d8979796102c4ed776b81f98faa99a9587ffcc80 Mon Sep 17 00:00:00 2001 From: KrisHD1337 Date: Tue, 6 Jan 2026 22:47:18 +0100 Subject: [PATCH] Added Terms of Service and Privacy Policy --- PRIVACY_POLICY.md | 75 ++++++++++++++++++++++++++++++++++++++ README.md | 4 +++ TERMS_OF_SERVICE.md | 17 +++++++++ public/index.html | 9 +++++ public/legal.css | 49 +++++++++++++++++++++++++ public/privacy.html | 88 +++++++++++++++++++++++++++++++++++++++++++++ public/style.css | 51 ++++++++++++++++++++++++++ public/tos.html | 46 ++++++++++++++++++++++++ 8 files changed, 339 insertions(+) create mode 100644 PRIVACY_POLICY.md create mode 100644 TERMS_OF_SERVICE.md create mode 100644 public/legal.css create mode 100644 public/privacy.html create mode 100644 public/tos.html diff --git a/PRIVACY_POLICY.md b/PRIVACY_POLICY.md new file mode 100644 index 0000000..dd5dd84 --- /dev/null +++ b/PRIVACY_POLICY.md @@ -0,0 +1,75 @@ +Privacy Policy + +Last updated: 06.01.2026 + +1. Controller / Contact + +Application: DeepFake + +Owner/Controller: Kristian Cerni + +Contact: https://github.com/KrisHD1337 + +This policy applies to all users within Switzerland, the EU, and other jurisdictions. + +2. What We Collect + +We collect only what’s needed to provide our service: + +Account Data: Username, email (optional), hashed password + +Chat Data: Messages you send and the AI responses +All data is processed to provide your chat history and account functionality. + +3. Legal Basis (GDPR) + +For EU/EEA users, we process data based on: + +Contract performance (to provide your account and chat history) + +Legitimate interests (system security, fraud prevention) +Your data will not be processed for marketing without explicit consent. + +4. How We Use Data + +Your data is used to: + +Authenticate and manage your account + +Store and retrieve chat history + +Improve and maintain the app + +We do not sell your data. + +5. Data Retention + +We retain data as long as your account is active. If you request deletion, your data will be deleted unless we must retain it for legal reasons. + +6. Data Transfers + +Your data may be stored or processed where our servers reside. Switzerland has an adequacy decision with the EU, meaning transfers can occur without additional safeguards. + +7. Your Rights (GDPR + Swiss rights) + +Depending on jurisdiction, you may have the right to: + +Access your data + +Correct inaccuracies + +Request deletion + +Restrict or object to processing + +Request data portability (GDPR) + +To exercise these rights, contact us at: kriscerni@gmail.com + +8. Data Security + +We implement reasonable technical and organisational measures to protect your data — encryption for passwords and secure database access. + +9. Changes to this Policy + +We may update this document. Changes will be posted with a “Last updated” date. \ No newline at end of file diff --git a/README.md b/README.md index 0e920f0..59593ca 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # KrisHD_AI AI Frontend for ai.krishd.ch + +## Legal +- [Privacy Policy](PRIVACY_POLICY.md) +- [Terms of Service](TERMS_OF_SERVICE.md) \ No newline at end of file diff --git a/TERMS_OF_SERVICE.md b/TERMS_OF_SERVICE.md new file mode 100644 index 0000000..f84e941 --- /dev/null +++ b/TERMS_OF_SERVICE.md @@ -0,0 +1,17 @@ +Terms of Service + +Last updated: 06.01.2026 + +Use of DeepFake AI is subject to the following terms: + +Service +You agree that DeepFake is provided “as is,” and functionality may change. + +User Conduct +You are responsible for content you submit and maintaining secure account credentials. + +Data Processing +By using the service, you consent to storing and processing your data as described in the Privacy Policy. + +Limitation of Liability +We are not liable for service interruptions or data loss. \ No newline at end of file diff --git a/public/index.html b/public/index.html index ba1fcf6..69240fa 100644 --- a/public/index.html +++ b/public/index.html @@ -46,6 +46,15 @@ Create password + + diff --git a/public/legal.css b/public/legal.css new file mode 100644 index 0000000..6d7332f --- /dev/null +++ b/public/legal.css @@ -0,0 +1,49 @@ +body.legal-page { + display: block; + height: auto; + background-attachment: fixed; + background-repeat: no-repeat; + background-size: cover; + min-height: 100%; + overflow-y: auto; + overflow-x: hidden; + padding: 0; +} + +.legal-content { + max-width: 900px; + margin: 0 auto; + padding: 2rem 1.5rem; + color: var(--text-primary); + font-family: inherit; +} + +.legal-content h1, +.legal-content h2 { + color: var(--text-primary); +} + +.legal-content p, +.legal-content li { + line-height: 1.6; + color: var(--text-secondary); +} + +.legal-content * { + overflow-wrap: break-word; + word-break: break-word; +} + +@media (max-width: 600px) { + .legal-content { + padding: 1.25rem 1rem; + } + + .legal-content h1 { + font-size: 1.6rem; + } + + .legal-content h2 { + font-size: 1.2rem; + } +} diff --git a/public/privacy.html b/public/privacy.html new file mode 100644 index 0000000..7d18bc2 --- /dev/null +++ b/public/privacy.html @@ -0,0 +1,88 @@ + + + + + + Privacy Policy – DeepFake + + + + +
+

Privacy Policy

+

Last updated: 06.01.2026

+ +
+

1. Controller / Contact

+

Application: DeepFake

+

Owner/Controller: Kristian Cerni

+

Contact: https://github.com/KrisHD1337

+

This policy applies to all users within Switzerland, the EU, and other jurisdictions.

+
+ +
+

2. What We Collect

+

We collect only what’s needed to provide our service:

+
    +
  • Account Data: Username, email (optional), hashed password
  • +
  • Chat Data: Messages you send and the AI responses
  • +
+

All data is processed to provide your chat history and account functionality.

+
+ +
+

3. Legal Basis (GDPR)

+

For EU/EEA users, we process data based on:

+
    +
  • Contract performance (to provide your account and chat history)
  • +
  • Legitimate interests (system security, fraud prevention)
  • +
+

Your data will not be processed for marketing without explicit consent.

+
+ +
+

4. How We Use Data

+

Your data is used to:

+
    +
  • Authenticate and manage your account
  • +
  • Store and retrieve chat history
  • +
  • Improve and maintain the app
  • +
+

We do not sell your data.

+
+ +
+

5. Data Retention

+

We retain data as long as your account is active. If you request deletion, your data will be deleted unless we must retain it for legal reasons.

+
+ +
+

6. Data Transfers

+

Your data may be stored or processed where our servers reside. Switzerland has an adequacy decision with the EU, meaning transfers can occur without additional safeguards.

+
+ +
+

7. Your Rights (GDPR + Swiss rights)

+

Depending on jurisdiction, you may have the right to:

+
    +
  • Access your data
  • +
  • Correct inaccuracies
  • +
  • Request deletion
  • +
  • Restrict or object to processing
  • +
  • Request data portability (GDPR)
  • +
+

To exercise these rights, contact us at: kriscerni@gmail.com

+
+ +
+

8. Data Security

+

We implement reasonable technical and organizational measures to protect your data — encryption for passwords and secure database access.

+
+ +
+

9. Changes to this Policy

+

We may update this document. Changes will be posted with a “Last updated” date.

+
+
+ + diff --git a/public/style.css b/public/style.css index 6f16a21..f9f5a4d 100644 --- a/public/style.css +++ b/public/style.css @@ -440,3 +440,54 @@ button:disabled { #chat { padding: 12px; } #messages { padding: 14px; } } + +.consent-container { + display: flex; + align-items: center; + gap: 8px; + margin: 10px 0; + font-size: 0.8rem; + color: #aaa; +} + +.consent-container input[type="checkbox"] { + width: 16px; + height: 16px; + cursor: pointer; +} + +.consent-container label { + line-height: 1.3; +} + +.consent-container a { + color: #7b87ff; + text-decoration: none; +} + +.consent-container a:hover { + text-decoration: underline; +} + +/* ===== Legal / Static Pages Fix ===== */ + +html, body { + width: 100%; + max-width: 100%; + overflow-x: hidden; +} + +/* Force text to stay inside viewport */ +.content { + width: 100%; + max-width: 100%; + padding: 1.5rem; + box-sizing: border-box; +} + +/* Prevent long words / links from breaking layout */ +.content * { + overflow-wrap: break-word; + word-break: break-word; +} + diff --git a/public/tos.html b/public/tos.html new file mode 100644 index 0000000..a34cb9a --- /dev/null +++ b/public/tos.html @@ -0,0 +1,46 @@ + + + + + + Terms of Service – DeepFake + + + + +
+

Terms of Service

+

Last updated: 06.01.2026

+ +
+

Service

+

You agree that DeepFake AI is provided “as is,” and functionality may change without notice.

+
+ +
+

User Conduct

+

You are responsible for content you submit and for maintaining secure account credentials. Do not use DeepFake for unlawful purposes.

+
+ +
+

Data Processing

+

By using the service, you consent to storing and processing your data as described in the Privacy Policy.

+
+ +
+

Limitation of Liability

+

We are not liable for service interruptions, data loss, or any indirect damages arising from your use of DeepFake AI.

+
+ +
+

Governing Law

+

These Terms are governed by applicable laws in your jurisdiction (e.g., Switzerland or EU Member States).

+
+ +
+

Changes to Terms

+

We may modify these Terms at any time. Updates will be reflected with a new “Last updated” date.

+
+
+ +