HERE WE G- *camera breaks against face*
git-svn-id: file:///srv/svn/repo/marisa/trunk@70 d6811dac-2434-b64a-9ddc-f563ab233461
This commit is contained in:
@@ -1,45 +1,48 @@
|
||||
<!DOCTYPE HTML PUBLIC "//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!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="Izuru Yakumo">
|
||||
<meta name="author" content="Shin'ya Minazuki">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<title>Marisa</title>
|
||||
<title>Marisa (魔理沙)</title>
|
||||
</head>
|
||||
<body>
|
||||
<table>
|
||||
<thead>
|
||||
<img class="logo" src="/marisa.png">
|
||||
<br>
|
||||
<h1>Marisa</h1>
|
||||
</thead>
|
||||
<tbody>
|
||||
<form enctype="multipart/form-data" method="POST">
|
||||
<input class="file" name="file" type="file"><br>
|
||||
<input name="output" type="hidden" value="html"><br>
|
||||
<input type="submit"><br>
|
||||
<label for="expiry">Destroy after</label>
|
||||
<select name="expiry">
|
||||
<option value="900">15 minutes</option>
|
||||
<option value="3600">1 hour</option>
|
||||
<option value="28800">8 hours</option>
|
||||
<option value="86400">1 day</option>
|
||||
<option value="604800">1 week</option>
|
||||
</select>
|
||||
</form>
|
||||
<p>
|
||||
File size limited to {{.Maxsize}}.
|
||||
</p>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
{{if .Links}}
|
||||
<tr>
|
||||
{{range .Links}}<td><a href="{{.}}">{{.}}</a></td>{{end}}
|
||||
</tr>
|
||||
{{end}}
|
||||
</tfoot>
|
||||
</table>
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user