Files
marisa/example/templates/index.html
shinyoukai 6cd6e9d610 HERE WE G- *camera breaks against face*
git-svn-id: file:///srv/svn/repo/marisa/trunk@70 d6811dac-2434-b64a-9ddc-f563ab233461
2025-12-07 01:10:41 +00:00

49 lines
1.4 KiB
HTML

<!DOCTYPE HTML>
<html>
<head>
<link rel="icon" href="/favicon.ico">
<link rel="stylesheet" href="/marisa.css">
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<meta name="author" content="Shin'ya Minazuki">
<meta name="viewport" content="width=device-width">
<title>Marisa (魔理沙)</title>
</head>
<body>
<div class="header">
<a href="/">
<img src="/marisa.png" alt="Marisa">
</a>
<h1>Marisa (魔理沙)</h1>
<p>Temporary file hoster</p>
</div>
<h2>Limits</h2>
<p>
Maximum file size is {{.Maxsize}}<br>
Uploads last up to 24 hours at least and 1 week at most
</p>
<h2>Notes</h2>
<p>
Some endpoints may require authentication in order to be used, in order to curb abuse. <br>
Ask the administrator in order to be allowed to upload
</p>
</ul>
<h2>Usage</h2>
<h3>DELETE</h3>
<pre>
$ curl -X DELETE https://up.laidback.moe/f/file-id
</pre>
<h3>POST</h3>
<pre>
$ curl -F file=@file [-F expiry=time in seconds ] https://up.laidback.moe
</pre>
<h3>PUT</h3>
<pre>
$ curl -T file https://up.laidback.moe/f/file
</pre>
<div class="footer">
<p>Source code available on <a href="https://svn.laidback.moe/repo/marisa">Subversion</a></p>
<p>This is a <a href="https://projects.laidback.moe">Suzunaan</a> project</p>
</div>
</body>
</html>