UpFast/public/views/index.html

55 lines
1.1 KiB
HTML
Raw Normal View History

2023-12-19 19:59:53 +01:00
{{define "index"}}
<!doctype html>
<html lang="en">
<head>
<title>UpFast</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
2023-12-19 20:50:35 +01:00
<link href="/css/style.css" rel="stylesheet" />
2023-12-19 19:59:53 +01:00
</head>
<body>
<h1>UpFast: Minimal file upload and sharing tool</h1>
<p>
<a href="https://0x0.st">0x0.st</a> Influenced file upload and sharing
tool
</p>
<p>
To upload files use curl:
2023-12-20 17:37:15 +01:00
<code>curl -F "file=@/path/to/file" "{{.Host}}"</code>
2023-12-19 19:59:53 +01:00
</p>
<p>
To delete a file using curl:
2023-12-20 17:37:15 +01:00
<code>curl "{{.Host}}/delete/file_name"</code>
2023-12-19 19:59:53 +01:00
</p>
2023-12-20 17:37:15 +01:00
{{if .UploadOnly}}
2023-12-19 19:59:53 +01:00
<p>
NOTE: This is an upload only instance, if you wan't a file on the instance
deleted ask the hoster to delete the file.
</p>
{{end}}
<p>
To get of all files hosted on the instance check
<a href="/files">files</a>
</p>
<p>
Created and maintained by
<a href="https://cronyakatsuki.xyz">Crony Akatsuki</a>
</p>
<p>
Code is hosted on
<a href="https://code.cronyakatsuki.xyz/crony/upfast">https://code.cronyakatsuki.xyz/crony/upfast</a>
</p>
</body>
</html>
{{end}}