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
|
||||
|
||||
adasdad
|
||||
- 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 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>
|
||||
<html>
|
||||
<head>
|
||||
<title>{{TITLE}}</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>{{TITLE}}</h1>
|
||||
<p>
|
||||
Use curl to upload:
|
||||
<br>
|
||||
<code>
|
||||
curl -F file=@"[file]" {{USER_URL}}
|
||||
</code>
|
||||
<br>
|
||||
<br>
|
||||
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.
|
||||
<br>
|
||||
<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>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>{{TITLE}}</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<style>
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
max-width: 800px;
|
||||
margin: 40px auto;
|
||||
padding: 0 20px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 1.8rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
code {
|
||||
display: block;
|
||||
background: #f3f3f3;
|
||||
padding: 0.5rem;
|
||||
border-radius: 4px;
|
||||
margin: 0.75rem 0;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
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>
|
||||
|
||||
Reference in New Issue
Block a user