WIP: Brainrot feature #1
14
LICENSE
Normal file
14
LICENSE
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
Marvel Rivals License Revision 2
|
||||||
|
(c) Author, year
|
||||||
|
|
||||||
|
Permission to use, copy, distribute, sell, or modify the compiled binaries,
|
||||||
|
source code, and documentation (the "Software") is granted only to individuals
|
||||||
|
who currently hold a higher competitive matchmaking rank in Marvel Rivals
|
||||||
|
(NetEase / Marvel Games) than the copyright holder.
|
||||||
|
|
||||||
|
All others are expressly prohibited from using, copying, distributing, selling,
|
||||||
|
or modifying the Software in any form.
|
||||||
|
|
||||||
|
The Software is provided WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED. The authors
|
||||||
|
are NOT LIABLE FOR ANY LOSS, DAMAGE, OR MISUSE arising from its use.
|
||||||
|
|
||||||
3
LISENCE
Normal file
3
LISENCE
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
Zomato License (v1.0)
|
||||||
|
You may fork, taste, and remix this code — but don’t serve it without credit.
|
||||||
|
All bugs come with complimentary fries 🍟.
|
||||||
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
* Yet Another Mid Ahh Filehost
|
* Yet Another Mid Ahh Filehost
|
||||||
|
|
||||||
|
adasdad
|
||||||
- YAMAF is a yet another mid ahh filehost for personal use.
|
- YAMAF is a yet another mid ahh filehost for personal use.
|
||||||
- It is extremely simple and minimal and might break under niche circumstances like uploading many huge files.
|
- It is extremely simple and minimal and might break under niche circumstances like uploading many huge files.
|
||||||
- It uses axum unlike its predecessors[fn:1][fn:2], both of which were written in rust some time ago now.
|
- It uses axum unlike its predecessors[fn:1][fn:2], both of which were written in rust some time ago now.
|
||||||
|
|||||||
3
lIS2
Normal file
3
lIS2
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
Zomato License (v1.0)
|
||||||
|
You may fork, taste, and remix this code — but don’t serve it without credit.
|
||||||
|
All bugs come with complimentary fries 🍟.
|
||||||
138
src/index.html
138
src/index.html
@@ -1,31 +1,111 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<title>{{TITLE}}</title>
|
<meta charset="UTF-8" />
|
||||||
</head>
|
<title>{{TITLE}}</title>
|
||||||
<body>
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<h1>{{TITLE}}</h1>
|
<style>
|
||||||
<p>
|
body {
|
||||||
Use curl to upload:
|
font-family: sans-serif;
|
||||||
<br>
|
max-width: 800px;
|
||||||
<code>
|
margin: 40px auto;
|
||||||
curl -F file=@"[file]" {{USER_URL}}
|
padding: 0 20px;
|
||||||
</code>
|
line-height: 1.5;
|
||||||
<br>
|
}
|
||||||
<br>
|
|
||||||
If key is enabled then a field "key" will be required.
|
h1 {
|
||||||
<br>
|
font-size: 1.8rem;
|
||||||
Make sure the key is the first field in the multipart before any files.
|
margin-bottom: 1rem;
|
||||||
<br>
|
}
|
||||||
<code>
|
|
||||||
curl -F "key=[key]" -F file=@"[file]" -F file=@"[file2]" {{USER_URL}}
|
code {
|
||||||
</code>
|
display: block;
|
||||||
</p>
|
background: #f3f3f3;
|
||||||
<form method="post" enctype="multipart/form-data">
|
padding: 0.5rem;
|
||||||
{{KEY_FIELD}}
|
border-radius: 4px;
|
||||||
<input type="file" name="file" multiple>
|
margin: 0.75rem 0;
|
||||||
<br>
|
white-space: pre-wrap;
|
||||||
<button type="submit">Upload</button>
|
}
|
||||||
</form>
|
|
||||||
<div id="progress-container"></div>
|
form {
|
||||||
|
margin-top: 1rem;
|
||||||
|
padding: 1rem;
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
border-radius: 6px;
|
||||||
|
background: #fafafa;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
margin-top: 1rem;
|
||||||
|
background: #007bff;
|
||||||
|
color: #fff;
|
||||||
|
border: none;
|
||||||
|
padding: 0.6rem 1.2rem;
|
||||||
|
border-radius: 5px;
|
||||||
|
cursor: pointer;
|
||||||
|
font-size: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
button:hover {
|
||||||
|
background: #0056b3;
|
||||||
|
}
|
||||||
|
|
||||||
|
#progress-container {
|
||||||
|
margin-top: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.video-container {
|
||||||
|
position: relative;
|
||||||
|
padding-bottom: 56.25%;
|
||||||
|
height: 0;
|
||||||
|
overflow: hidden;
|
||||||
|
margin-top: 2rem;
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.video-container iframe {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
border: 0;
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<h1>{{TITLE}}</h1>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Use curl to upload:
|
||||||
|
<code>curl -F file=@"[file]" {{USER_URL}}</code>
|
||||||
|
If key is enabled then a field "key" will be required.
|
||||||
|
<br />
|
||||||
|
Make sure the key is the first field in the multipart before any files.
|
||||||
|
<code>
|
||||||
|
curl -F "key=[key]" -F file=@"[file]" -F file=@"[file2]" {{USER_URL}}
|
||||||
|
</code>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<form method="post" enctype="multipart/form-data">
|
||||||
|
{{KEY_FIELD}}
|
||||||
|
<input type="file" name="file" multiple />
|
||||||
|
<br />
|
||||||
|
<button type="submit">Upload</button>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<div id="progress-container"></div>
|
||||||
|
|
||||||
|
<div class="video-container">
|
||||||
|
<iframe
|
||||||
|
src="https://www.youtube.com/embed/WjzbSvnQ7SU?autoplay=1&mute=1&loop=1&playlist=WjzbSvnQ7SU"
|
||||||
|
title="Brainrot Video"
|
||||||
|
frameborder="0"
|
||||||
|
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
||||||
|
allowfullscreen
|
||||||
|
></iframe>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user