tos and privacy (these are probably shit)

also implemented random paste placeholder text, got bored and dont feel like implementing real features
This commit is contained in:
2026-11-12 23:30:35 -05:00
parent 2c342f63b3
commit 3f78e3b85b
6 changed files with 129 additions and 4 deletions
+1 -1
View File
@@ -44,7 +44,7 @@
<option value="{{.Label}}">{{.Label}}</option>
{{end}}
</select>
<textarea id="content" name="content" rows="10" required placeholder="cmon, paste something already!"></textarea>
<textarea id="content" name="content" rows="10" required placeholder="{{.PastePlaceholder}}"></textarea>
<button type="submit" class="btn">upload paste</button>
</form>
</div>
+40
View File
@@ -0,0 +1,40 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>privacy | minibin</title>
<link rel="stylesheet" href="/css/main.css" />
</head>
<body>
{{template "site-header"}}
<main>
<h2>privacy policy</h2>
<h3>what we store</h3>
<p>when you upload a file or paste, we store:</p>
<ul>
<li>the file or paste content</li>
<li>the original filename, type, and size</li>
<li>an upload id and a SHA256 hash of the content</li>
<li>timestamps and the selected expiry</li>
<li>a deletion token</li>
</ul>
<p>
this information is used to serve uploads, check expiry, and allow
deletion of uploads.
</p>
<h3>who can access uploads</h3>
<p>
anyone with the id of an upload can access and share it. minibin's
operator can also access stored uploads. avoid uploading anything
private.
</p>
<h3>changes to this policy</h3>
<p>
this policy may change as minibin changes. updates will be posted on
this page.
</p>
</main>
</body>
</html>
+46
View File
@@ -0,0 +1,46 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>tos | minibin</title>
<link rel="stylesheet" href="/css/main.css" />
</head>
<body>
{{template "site-header"}}
<main>
<h2>terms of service</h2>
<p>by using minibin, you agree to these terms.</p>
<h3>acceptable use</h3>
<p>
you are responsible for what you upload and share. only upload content
that you own or are allowed to share.
</p>
<h3>prohibited content</h3>
<p>do not upload or share:</p>
<ul>
<li>child sexual abuse or exploitation material</li>
<li>malware, viruses, or file intended to harm other people</li>
<li>extreme gore</li>
<li>copyright infringing material</li>
</ul>
<h3>storage and expiry</h3>
<p>
uploads have an expiry based on the option selected when uploading.
indefinite means there is no scheduled expiry.
</p>
<p>
uploads may be removed earlier for breaking these terms, maintenance or
storage limits. ensure you keep a copy of anything important.
</p>
<h3>deleting uploads</h3>
<p>
keep the delete token provided after uploading. anyone with that token
is able to delete the upload, so keep it private.
</p>
<h3>changes to these terms</h3>
<p>these terms may change, updates with be posted on this page.</p>
</main>
</body>
</html>