Skip to content

Commit

Permalink
feat(legal): add automatic terms from our license, add wip privacy po…
Browse files Browse the repository at this point in the history
…licy
  • Loading branch information
AmitMY committed Jan 13, 2024
1 parent 03a8a38 commit 97cd145
Show file tree
Hide file tree
Showing 8 changed files with 60 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ jobs:
- name: Install Dependencies
run: bun install

- name: Create terms and conditions
run: bun x marked -i LICENSE.md -o src/app/pages/landing/terms/terms.component.html

- name: Lint code
run: bun run lint

Expand Down
4 changes: 2 additions & 2 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# License for `sign/translate`
# License for [`sign/translate`](https://github.com/sign/translate)

The license for `sign/translate` is divided into two tiers, based on the type of your legal entity.
Individuals, non-profit organizations, and educational institutions are permitted to use `sign/translate` for sign language translation without charge,
Expand Down Expand Up @@ -187,4 +187,4 @@ d. Nothing in this Public License constitutes or may be interpreted as a limitat
The commercial license is required for organizations that do not meet the criteria for the free license.

Detailed information about the commercial license, including the scope of its usage and the licensing fee, will be provided upon request.
Please direct all inquiries regarding the commercial license to `license@sign.mt`.
Please direct all inquiries regarding the commercial license to <a href="mailto:license@sign.mt">license&#64;sign.mt</a>.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@
"karma-safari-launcher": "1.0.0",
"karma-spec-reporter": "0.0.36",
"lint-staged": "15.2.0",
"marked": "11.1.1",
"open": "10.0.3",
"pwa-asset-generator": "6.3.1",
"sitemap": "7.1.1",
Expand Down
42 changes: 41 additions & 1 deletion src/app/pages/landing/privacy/privacy.component.html
Original file line number Diff line number Diff line change
@@ -1 +1,41 @@
<p>privacy works!</p>
<h1>
Privacy Policy for <a href="https://github.com/sign/translate"><code>sign/translate</code></a>
</h1>
<p>
This policy is work in progress, and will be updated periodically to reflect changes in our practices or regulatory
requirements. Users are encouraged to review it regularly.
</p>

<h2>Our Commitment to Privacy</h2>
<p>
At <code>sign.mt</code>, privacy is a top priority. We are dedicated to processing data locally whenever possible,
minimizing the need to send information over the internet. However, in some instances, online processing is necessary
to provide the best experience.
</p>

<h2>Data Collection and Usage</h2>
<h3>HTTP Requests and Logging</h3>
<ul>
<li>
Every HTTP request made to our backend is recorded, along with diagnostic details, the request URL, and the body of
the request.
</li>
<li>This data is stored in Google BigQuery and Google Cloud Logs.</li>
<li>
Currently, we primarily log requests from the spoken-to-signed translation feature, including user inputs for
translation and selected languages.
</li>
</ul>
<h3>Text Normalization and Vocalization</h3>
<ul>
<li>For text normalization and vocalization services, we utilize ChatGPT by OpenAI.</li>
<li>
Textual inputs are sent to OpenAI for processing. For more details on how OpenAI handles data, please refer to their
<a href="https://openai.com/policies/privacy-policy">Privacy Policy</a>.
</li>
</ul>
<h3>General User Metadata</h3>
<ul>
<li>We collect general user metadata like language preference, device type, and IP address.</li>
<li>This information is logged by Google Analytics and is used for aggregated analytics purposes.</li>
</ul>
5 changes: 5 additions & 0 deletions src/app/pages/landing/privacy/privacy.component.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
:host {
display: block;
max-width: min(90%, 1200px);
margin: auto;
}
1 change: 0 additions & 1 deletion src/app/pages/landing/terms/terms.component.html
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
<p>terms works!</p>
5 changes: 5 additions & 0 deletions src/app/pages/landing/terms/terms.component.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
:host {
display: block;
max-width: min(90%, 1200px);
margin: auto;
}
4 changes: 3 additions & 1 deletion tools/sitemap-generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ const baseUrls = [
const additionalUrls = [
'/about/languages/', // TODO move to baseUrls once translated
'/about/contribute/', // TODO move to baseUrls once translated
'/legal/licenses/', // TODO move to baseUrls once translated
'/legal/licenses/',
'/legal/terms/',
'/legal/privacy/',
];

const sourceData = [];
Expand Down

0 comments on commit 97cd145

Please sign in to comment.