Changes made for ayaya.beauty

This commit is contained in:
Fijxu 2023-01-22 15:39:34 -03:00
parent 4246dedebe
commit 5834a5ae0b
16 changed files with 455 additions and 467 deletions

View file

@ -37,6 +37,7 @@ ejs:
"node_modules/minify/bin/minify.js" $(CURDIR)/build/html/unmin/index.html > $(CURDIR)/build/html/min/index.html "node_modules/minify/bin/minify.js" $(CURDIR)/build/html/unmin/index.html > $(CURDIR)/build/html/min/index.html
installdirs: installdirs:
rm -rf $(DESTDIR)/
mkdir -p $(DESTDIR)/ $(DESTDIR)/img mkdir -p $(DESTDIR)/ $(DESTDIR)/img
mkdir -p $(DESTDIR)/ $(DESTDIR)/img/grills mkdir -p $(DESTDIR)/ $(DESTDIR)/img/grills

View file

@ -9,22 +9,22 @@
"faq.ejs", "faq.ejs",
"tools.ejs" "tools.ejs"
], ],
"max_upload_size": 128, "max_upload_size": 192,
"expireTime": "48", "expireTime": "7D",
"siteName": "Uguu", "siteName": "ayaya.beauty",
"subTitle": "wahooo", "subTitle": "",
"DOMAIN": "domain.com", "DOMAIN": "ayaya.beauty",
"FILE_DOMAIN": "files.domain.com", "FILE_DOMAIN": "i.ayaya.beauty",
"abuseContact": "abuse@example.com", "abuseContact": "abuse@zzls.xyz",
"infoContact": "info@example.com", "infoContact": "",
"ServerCountryLocation": "Sweden", "ServerCountryLocation": "Chile",
"SiteMetaInfo": "SITENAME is a temporary file hosting service, upload files up to 128MiB for 24 hours.", "SiteMetaInfo": "ayaya.beauty es un subidor de multimedia temporal, puedes subir archivos de hasta 192MB y se borraran automaticamente en 7 Dias.",
"ToolsDesc": "The following tools might need editing to work on this clone of Uguu, usually editing the URL works.", "ToolsDesc": "Las siguentes herramientas necesitaran ser editadas para funcionar en este clon de uguu.se, usualmente editando la URL funciona. (En este caso, ayaya.beauty)",
"donationBanner": false, "donationBanner": true,
"paypalUrl": "", "paypalUrl": "",
"bitcoinAddress": "", "bitcoinAddress": "bc1q66mpdxnu340dnl0qlznq783zzqawskw48kestd",
"flattrUrl": "", "flattrUrl": "",
"kofiUrl": "", "kofiUrl": "https://ko-fi.com/fijxu",
"malwareBanner": false, "malwareBanner": false,
"DB_MODE": "sqlite", "DB_MODE": "sqlite",
"DB_PATH": "/var/www/db/uguuDB.sq3", "DB_PATH": "/var/www/db/uguuDB.sq3",
@ -36,10 +36,10 @@
"FILTER_MODE": true, "FILTER_MODE": true,
"RATE_LIMIT": false, "RATE_LIMIT": false,
"RATE_LIMIT_TIMEOUT": 60, "RATE_LIMIT_TIMEOUT": 60,
"RATE_LIMIT_FILES": 100, "RATE_LIMIT_FILES": 50,
"FILES_ROOT": "/var/www/files/", "FILES_ROOT": "/var/www/files/",
"FILES_RETRIES": 15, "FILES_RETRIES": 15,
"NAME_LENGTH": 8, "NAME_LENGTH": 6,
"ID_CHARSET": "abcdefghijklmnopqrstuvwxyzABCDEFGHJKLMNOPQRSTUVWXYZ", "ID_CHARSET": "abcdefghijklmnopqrstuvwxyzABCDEFGHJKLMNOPQRSTUVWXYZ",
"DOUBLE_DOTS_EXTENSIONS": [ "DOUBLE_DOTS_EXTENSIONS": [
"tar.bz2", "tar.bz2",

View file

@ -24,377 +24,380 @@
/** /**
* USE BORDER BOX * USE BORDER BOX
*/ */
*, *,
*:before, *:before,
*:after { *:after {
box-sizing: border-box; box-sizing: border-box;
} }
/** /**
* PAGE LAYOUT * PAGE LAYOUT
*/
body {
background-attachment: fixed, fixed;
background-color: #111111;
/** background-image: url('grill.php'), url('img/bg.png'); */
background-image: url('grill.php');
background-position: 85% 100%, top left;
background-repeat: no-repeat, repeat;
color: #ddd;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
height: 100%;
line-height: 20px;
margin: 0;
padding-top: 20px;
padding-bottom: 40px;
}
.container {
margin: 0 auto;
max-width: 700px;
}
/**
* ELEMENTS
*/ */
body { /* paragraphs */
background-attachment: fixed, fixed; p {
background-color: #F7F7F7; margin: 0 0 10px;
background-image: url('grill.php'), url('img/bg.png'); }
background-position: 85% 100%, top left; /* images */
background-repeat: no-repeat, repeat; input[type=image], img {
color: #333; vertical-align: middle;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
font-size: 14px; /* links */
height: 100%; a {
line-height: 20px; color: pink;
margin: 0; text-decoration: none;
padding-top: 20px; transition: color 0.25s;
padding-bottom: 40px; }
} a:hover,
.container { a:focus,
margin: 0 auto; a:active {
max-width: 700px; color: pink;
} }
a:focus {
/** outline: thin dotted #333;
* ELEMENTS }
*/
/* paragraphs */ /**
p { * JUMBOTRON
margin: 0 0 10px; */
} .jumbotron {
/* images */ margin: 60px 0;
input[type=image], img { text-align: center;
vertical-align: middle; transition: width 0.5s, height 0.5s, margin 0.5s, padding 0.5s;
} }
/* links */ .jumbotron h1 {
a { color: inherit;
color: #0078B4; font-family: inherit;
text-decoration: none; font-size: 72px;
transition: color 0.25s; font-weight: bold;
} line-height: 1;
a:hover, margin: 10px 0;
a:focus, cursor: default;
a:active { text-rendering: optimizelegibility;
color: #005580; }
} .jumbotron .lead {
a:focus { font-size: 21px;
outline: thin dotted #333; font-weight: 200;
} line-height: 30px;
margin-bottom: 20px;
/** transition: font-size 0.5s;
* JUMBOTRON }
*/ .jumbotron .btn {
.jumbotron { background: rgb(175 229 152 / 75%);
margin: 60px 0; border: 1px solid #c3e5a5;
text-align: center; border-radius: 4px;
transition: width 0.5s, height 0.5s, margin 0.5s, padding 0.5s; color: #2e6c2f;
} cursor: pointer;
.jumbotron h1 { display: inline-block;
color: inherit; font-size: 24px;
font-family: inherit; padding: 28px 48px;
font-size: 72px; text-shadow: 0 1px rgba(255, 255, 255, 0.5);
font-weight: bold; transition: background-color 0.25s, width 0.5s, height 0.5s;
line-height: 1; }
margin: 10px 0; .jumbotron .btn:hover,
cursor: default; .jumbotron .btn:active,
text-rendering: optimizelegibility; .jumbotron .btn:focus,
} .jumbotron .btn.drop {
.jumbotron .lead { background-color: rgb(188, 228, 170);
font-size: 21px; text-decoration: none;
font-weight: 200; }
line-height: 30px;
margin-bottom: 20px; /**
transition: font-size 0.5s; * BOXES
} */
.jumbotron .btn { .alert {
background: rgba(202, 230, 190, 0.75); background-color: #FCF8E3;
border: 1px solid #B7D1A0; border: 1px solid #FBEED5;
border-radius: 4px; border-radius: 4px;
color: #468847; margin-bottom: 20px;
cursor: pointer; padding: 8px 14px;
display: inline-block; text-shadow: 0px 1px rgba(255, 255, 255, 0.5);
font-size: 24px; transition: width 0.5s, margin 0.5s, padding 0.5s, background-color 0.5s;
padding: 28px 48px; }
text-shadow: 0 1px rgba(255, 255, 255, 0.5); .alert-error {
transition: background-color 0.25s, width 0.5s, height 0.5s; background-color: #F2DEDE;
} border-color: #EED3D7;
.jumbotron .btn:hover, color: #AA4342;
.jumbotron .btn:active, }
.jumbotron .btn:focus, .alert-info {
.jumbotron .btn.drop { background-color: #222222;
background-color: rgb(188, 228, 170); /* border-color: #BCE8F1; */
text-decoration: none; /* color: #167196; */
} }
/** /**
* BOXES * DONATION BUTTONS
*/ */
.alert { span.donate-btns {
background-color: #FCF8E3; display: block;
border: 1px solid #FBEED5; text-align: center;
border-radius: 4px; margin: 11px 0 3px;
margin-bottom: 20px; }
padding: 8px 14px; a.donate-btn {
text-shadow: 0px 1px rgba(255, 255, 255, 0.5); height: 26px;
transition: width 0.5s, margin 0.5s, padding 0.5s, background-color 0.5s; display: inline-block;
} margin: 2px 5px;
.alert-error { background: hsl(0, 0%, 95%);
background-color: #F2DEDE; line-height: 16px;
border-color: #EED3D7; padding: 3px 8px 3px 24px;
color: #AA4342; border-radius: 3px;
} color: hsl(0, 0%, 25%);
.alert-info { border: 1px solid hsl(0, 0%, 85%);
background-color: #D9EDF7; transition: all .2s;
border-color: #BCE8F1; }
color: #167196; a.donate-btn:hover {
} color: #000;
border: 1px solid hsl(0, 0%, 70%);
/** background-color: hsl(0, 0%, 80%);
* DONATION BUTTONS }
*/ .icon {
span.donate-btns { display: block;
display: block; height: 16px;
text-align: center; width: 16px;
margin: 11px 0 3px; float: left;
} margin-left: -20px;
a.donate-btn { margin-top: 1px;
height: 26px; }
display: inline-block; .icon-paypal {
margin: 2px 5px; background-image: url('img/paypal.png');
background: hsl(0, 0%, 95%); }
line-height: 16px; .icon-bitcoin {
padding: 3px 8px 3px 24px; background-image: url('img/bitcoin.png');
border-radius: 3px; }
color: hsl(0, 0%, 25%); .icon-flattr {
border: 1px solid hsl(0, 0%, 85%); background-image: url('img/flattr.png');
transition: all .2s; }
} .icon-kofi {
a.donate-btn:hover { background-image: url('img/kofi.png');
color: #000; }
border: 1px solid hsl(0, 0%, 70%); /**
background-color: hsl(0, 0%, 80%); * NAVIGATION LINKS
} */
.icon { nav > ul,
display: block; nav a {
height: 16px; color: #33799B;
width: 16px; list-style: none;
float: left; margin: 0;
margin-left: -20px; padding: 0;
margin-top: 1px; text-align: center;
} }
.icon-paypal { nav > ul > li {
background-image: url('img/paypal.png'); display: inline-block;
} margin: 0;
.icon-bitcoin { padding: 0;
background-image: url('img/bitcoin.png'); cursor: default;
} }
.icon-flattr { nav > ul > li:after {
background-image: url('img/flattr.png'); content: "|";
} margin: 0 8px;
.icon-kofi { opacity: 0.3;
background-image: url('img/kofi.png'); }
} nav > ul > li:last-child:after {
/** content: "";
* NAVIGATION LINKS margin: 0;
*/ }
nav > ul,
nav a {
color: #33799B;
list-style: none; /**
margin: 0; * UPLOAD FILE LIST
padding: 0; */
text-align: center; #upload-filelist {
} list-style-type: none;
nav > ul > li { margin: 20px 50px;
display: inline-block; padding: 0;
margin: 0; text-align: left;
padding: 0; }
cursor: default; .error#upload-filelist {
} color: #891A18;
nav > ul > li:after { }
content: "|"; button.upload-clipboard-btn {
margin: 0 8px; margin-left: 5px;
opacity: 0.3; height: 32px;
} filter: invert(1);
nav > ul > li:last-child:after { }
content: ""; .error#upload-filelist .progress-percent {
margin: 0; color: #B94A48;
} }
.error#upload-filelist .file-progress {
display: none;
}
/** #upload-filelist > li {
* UPLOAD FILE LIST margin-top: 5px;
*/ overflow: hidden;
#upload-filelist { }
list-style-type: none; #upload-filelist > li.total {
margin: 20px 50px; border-top: 1px solid rgba(0, 0, 0, 0.05);
padding: 0; font-weight: bold;
text-align: left; padding-top: 5px;
} }
.error#upload-filelist { .file-name {
color: #891A18; float: left;
} overflow: hidden;
button.upload-clipboard-btn { max-width: 70%;
margin-left: 5px; text-overflow: ellipsis;
height: 32px; white-space: nowrap;
} }
.error#upload-filelist .progress-percent { .file-progress,
color: #B94A48; .file-url {
} display: inline-block;
.error#upload-filelist .file-progress { float: right;
display: none; font-size: 0.9em;
} margin-left: 8px;
#upload-filelist > li { vertical-align: middle;
margin-top: 5px; }
overflow: hidden; .file-url a {
} color: #bbb;
#upload-filelist > li.total { }
border-top: 1px solid rgba(0, 0, 0, 0.05); .file-url a:hover {
font-weight: bold; color: #fff;
padding-top: 5px; }
} .progress-percent {
.file-name { float: right;
float: left; }
overflow: hidden;
max-width: 70%; progress[value] {
text-overflow: ellipsis; /* Reset the default appearance */
white-space: nowrap; -webkit-appearance: none;
} -moz-appearance: none;
.file-progress, appearance: none;
.file-url {
display: inline-block; border: none;
float: right;
font-size: 0.9em; }
margin-left: 8px;
vertical-align: middle; progress[value]::-webkit-progress-bar {
} background-color: #eee;
.file-url a { border-radius: 2px;
color: #5C5C5C; box-shadow: 0 2px 5px rgba(0,0,0,0.25) inset;
} }
.file-url a:hover {
color: #1C1C1C; /* completed rows */
} .completed .file-progress,
.progress-percent { .completed .progress-percent {
float: right; display: none;
} }
.completed .file-url {
progress[value] { display: block;
/* Reset the default appearance */ }
-webkit-appearance: none;
-moz-appearance: none; /**
appearance: none; * PROGRESS BARS
*/
border: none; .progress-outer {
background-color: rgba(255, 255, 255, 0.8);
} border: 1px solid white;
border-radius: 4px;
progress[value]::-webkit-progress-bar { box-shadow: 0 0 0 1px black;
background-color: #eee; color: transparent;
border-radius: 2px; display: inline-block;
box-shadow: 0 2px 5px rgba(0,0,0,0.25) inset; font-size: 0;
} float: right;
height: 8px;
/* completed rows */ margin: 6px 6px 0;
.completed .file-progress, overflow: hidden;
.completed .progress-percent { vertical-align: middle;
display: none; width: 50px;
} }
.completed .file-url { .progress-inner {
display: block; background-color: black;
} height: 6px;
margin: 0;
/** width: 0;
* PROGRESS BARS }
*/
.progress-outer { /**
background-color: rgba(255, 255, 255, 0.8); * MEDIA QUERIES
border: 1px solid white; */
border-radius: 4px; @media only screen and (max-device-width: 320px), only screen and (max-width: 400px) {
box-shadow: 0 0 0 1px black; body {
color: transparent; padding: 10px 0 0 0;
display: inline-block; }
font-size: 0; .jumbotron {
float: right; margin: 20px 0 30px;
height: 8px; }
margin: 6px 6px 0; .jumbotron .lead {
overflow: hidden; font-size: 18px;
vertical-align: middle; }
width: 50px; .jumbotron .btn, .alert, #upload-filelist {
} border-radius: 0;
.progress-inner { border-width: 1px 0;
background-color: black; width: 100%;
height: 6px; margin-left: 0;
margin: 0; margin-right: 0;
width: 0; padding-left: 20px;
} padding-right: 20px;
}
/** #upload-filelist {
* MEDIA QUERIES background-color: rgba(255, 255, 255, 0.75);
*/ overflow: hidden;
@media only screen and (max-device-width: 320px), only screen and (max-width: 400px) { }
body { #upload-filelist > li.file {
padding: 10px 0 0 0; margin-top: 12px;
} margin-bottom: 12px;
.jumbotron { }
margin: 20px 0 30px; .file-progress {
} width: 70%;
.jumbotron .lead { }
font-size: 18px; .file-name, .file-url {
} width: 100%;
.jumbotron .btn, .alert, #upload-filelist { max-width: 100%;
border-radius: 0; }
border-width: 1px 0; .file-url a {
width: 100%; text-decoration: underline;
margin-left: 0; margin-left: 15px;
margin-right: 0; }
padding-left: 20px; .file-url a:before {
padding-right: 20px; content: "http://";
} }
#upload-filelist { .alert {
background-color: rgba(255, 255, 255, 0.75); font-size: 13px;
overflow: hidden; }
} .alert-error {
#upload-filelist > li.file { background-color: rgba(248, 223, 223, 0.75);
margin-top: 12px; }
margin-bottom: 12px; nav {
} background-color: rgba(255, 255, 255, 0.75);
.file-progress { border: #FFFFFF;
width: 70%; padding: 10px 0;
} }
.file-name, .file-url { }
width: 100%; /*
max-width: 100%; * no js
} */
.file-url a { #upload-btn {
text-decoration: underline; display: none;
margin-left: 15px; }
} .js #upload-input {
.file-url a:before { display: none;
content: "http://"; }
} .js input[type="submit"]{
.alert { display: none;
font-size: 13px; }
} .js #upload-btn {
.alert-error { display: inline-block !important;
background-color: rgba(248, 223, 223, 0.75); }
}
nav {
background-color: rgba(255, 255, 255, 0.75);
border: #FFFFFF;
padding: 10px 0;
}
}
/*
* no js
*/
#upload-btn {
display: none;
}
.js #upload-input {
display: none;
}
.js input[type="submit"]{
display: none;
}
.js #upload-btn {
display: inline-block !important;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

BIN
src/static/img/sadge.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View file

@ -1,64 +1,42 @@
<%- include('./src/templates/partials/header.ejs'); -%> <%- include('./src/templates/partials/header.ejs'); -%>
<div class="container"> <div class="container">
<article> <article>
<div class="jumbotron"> <div class="jumbotron">
<h1> <h1>
<abbr title="Frequently asked questions">FAQ</abbr> <abbr title="Frequently asked questions">FAQ</abbr>
</h1> </h1>
</div> </div>
<div class="alert alert-info"> <div class="alert alert-info">
<h2>What is <%= siteName %>?</h2> <h2>Que es esta pagina?</h2>
<p><%= siteName %> is a simple to use free file hosting service where files get <p>
deleted after <%= expireTime %>. It lets you share your photos, documents, music, videos and more with Esta pagina es un servicio para subir multimedia libre y gratis donde los archivos
others online.</p> son borrados luego de <%= expireTime %>. Permite compartir imagenes, documentos, musica, videos
<h2>What files are allowed?</h2> y otras cosas de manera temporal por el internet
<p>Any kind of file is allowed, as long as the file is legal in <%= ServerCountryLocation %> and you have the legal </p>
right to publish the file on our service.</p> <h2>Que archivos estan permitidos?</h2>
<p>As an exception to this policy to prevent abuse, we do not allow malware on our service. Any malware that <p>Cualquier tipo de archivos (esta permitido siempre y cuando no viole las leyes de <%=
could be used to infect other computers may be removed from our service at our discretion.</p> ServerCountryLocation %>.</p>
<h2>Do you keep logs of uploaded files?</h2> <p>Para prevernir el abuso y estar catalogados como spam, no se permite subir malware. Cualquier tipo de
<% if (LOG_IP) { %> archivo identificado como malware o notificado a travez del correo de abuso se borrara sin previo
<p>A database of the current active files are kept which includes the name, hash and IP of the file and time of upload, aviso.</p>
this data is deleted when the file expires.</p> <h2>Mantienes registros de los archivos subidos y las direcciones IPs de los usuarios?</h2>
<% } else { %> <% if (LOG_IP) { %>
<p>A database of the current active files are kept which includes the name and hash of the file and time of upload, <p>A database of the current active files are kept which includes the name, hash and IP of the file
this data is deleted when the file expires.</p> and time of upload,
<% } %> this data is deleted when the file expires.</p>
<p>Downloads and visits are not tracked or logged in respect for your privacy.</p> <% } else { %>
<h2>Can you remove my copyrighted file?</h2> <p>Se usa una base de datos (SQLite3) que mantiene los archivos activos, el nombre aleatorio
<p> asignado, su hash y la hora que se subio; Todo esto es borrado luego de que el archivos
Please submit your copyright takedown notice to expire.</p>
<a href="mailto:<%= abuseContact %>"><%= abuseContact %></a> <% } %>
. We will <p>Las descargas y las visitas no estan guardadas de ninguna manera para proteger tu
handle your notice within <%= expireTime %> and disable access to the infringing file after receiving a notice privacidad. (Actualmente 2023-01-22, estan siendo registradas con propositos de
compliant with the Copyright Act. analiticas, para saber cuanta gente usa el servicio) (<a
</p> href="https://git.zzls.xyz/Fijxu/etc-configs/src/branch/selfhost/nginx/sites-available/ayaya.beauty.conf">Configuracion
<h2>Can you remove files that are defaming me or otherwise infringing my non-copyright rights?</h2> de Nginx</a>)</p>
<p> <h2>Tengo una pregunta</h2>
<%= siteName %> respects takedowns for other files when accompanied with a certified <%= ServerCountryLocation %> court order. If Hablame por matrix: <a href="https://matrix.to/#/@fijxu:vern.cc">@fijxu:vern.cc</a>
you are unable to obtain the order, a preliminary injuction or court order is typically also sufficient.
Please forward the notice to
<a href="mailto:<%= abuseContact %>"><%= abuseContact %></a>
.
</p>
<h2>Can you remove illegal files?</h2>
<p>Please contact the appropriate law enforcement agency if you notice illegal files hosted on <%= siteName %>. We
have not been trained or qualified to investigate and fight crimes and enforce the law, so it's not
appropriate to send accusations of illegal activity to us.</p>
<p>
You must contact the appropriate law enforcement office. They may then contact us if appropriate.
If you are an law enforcement official and you need our assistance, please contact
<a href="mailto:<%= abuseContact %>"><%= abuseContact %></a>
. If you are a law enforcement official from another
country, we may voluntarily cooperate if the crime you are investigating would also be illegal in
<%= ServerCountryLocation %>.
</p>
<h2>I have a question...</h2>
Send an email to </div>
<a href="mailto:<%= infoContact %>"><%= infoContact %></a> </article>
. <%- include('./src/templates/partials/footer.ejs'); -%>
</div>
</article>
<%- include('./src/templates/partials/footer.ejs'); -%>

View file

@ -1,7 +1,7 @@
<p class="alert alert-info"> <p class="alert alert-info">
<strong><%= siteName %> is free to use, but our hosting costs are not</strong> <strong><%= siteName %> es libre y gratis para todos, pero los costos de hosteo no los son <img src="img/sadge.png" style="height: 1ex;"> </strong>
&mdash; donations are what keep <%= siteName %> alive, free from ads and fast. &mdash; Las donaciones son lo que mantiene <%= siteName %> (y otros servicios que tambien hosteo) vivo, libre de anuncios y enfocados a la privacidad :3.
<span class="donate-btns"> <span class="donate-btns">

View file

@ -1,7 +1,7 @@
<h1><%= siteName %>~</h1> <h1><%= siteName %>~</h1>
<p class="lead"> <p class="lead">
Max upload size is <%= max_upload_size %>&nbsp;MiB & files expire after <%= expireTime %>H, read the El tamaño maximo permitido son <%= max_upload_size %>&nbsp;MiB y expiran luego de <%= expireTime %>, lee el
<a href="faq.html"> <a href="faq.html">
<abbr title="Frequently asked questions">FAQ</abbr> <abbr title="Frequently asked questions">FAQ</abbr>
</a> </a>
</p> </p>

View file

@ -4,7 +4,13 @@
<a href="/"><%= siteName %></a> <a href="/"><%= siteName %></a>
</li> </li>
<li> <li>
<a href="tools.html">Tools</a> <a href="tools.html">Herramientas</a>
</li>
<li>
<a href="img/sharex.png">ShareX <img src="img/sharexlogo.png" style="height:1.5ex;"></a>
</li>
<li>
<a href="img/chatterino.png" style="color: chartreuse;"><b>Chatterino</b> <img src="img/chatterinoicon.png" style="height:1.5ex;"></a>
</li> </li>
<li> <li>
<a href="https://github.com/nokonoko/uguu">Github</a> <a href="https://github.com/nokonoko/uguu">Github</a>

View file

@ -1,5 +1,5 @@
<form id="upload-form" enctype="multipart/form-data" method="post" action="upload.php?output=html"> <form id="upload-form" enctype="multipart/form-data" method="post" action="upload.php?output=html">
<button id="upload-btn" class="btn" type="button">Drop or paste file(s)</button> <button id="upload-btn" class="btn" type="button">Copia o arrasta tus archivos</button>
<input type="file" id="upload-input" name="files[]" multiple data-max-size="<%= max_upload_size %>MiB"> <input type="file" id="upload-input" name="files[]" multiple data-max-size="<%= max_upload_size %>MiB">
<input type="submit" value="Submit"> <input type="submit" value="Submit">
</form> </form>

View file

@ -1,20 +1,20 @@
<%- include('./src/templates/partials/header.ejs'); -%> <%- include('./src/templates/partials/header.ejs'); -%>
<div class="container"> <div class="container">
<div class="jumbotron"> <div class="jumbotron">
<h1><%= siteName %> Tools</h1> <h1><%= siteName %> Herramientas</h1>
</div> </div>
<div class="alert alert-info"> <div class="alert alert-info">
<section> <section>
<h3> <h3>
To upload using curl or make a tool you can post using: Para subir un archivo usando cURL puedes usar esto:
<br> <br>
curl -i -F files[]=@yourfile.jpeg <%= DOMAIN %>/upload.php (JSON Response) curl -i -F files[]=@yourfile.jpeg <%= DOMAIN %>/upload.php (Respuesta en JSON)
</h3> </h3>
<p>To upload using curl or make a tool you can post using: curl -i -F files[]=@yourfile.jpeg <%= DOMAIN %>/upload.php (JSON Response)</p> <p>Para subir un archivo usando cURL puedes usar esto: curl -i -F files[]=@yourfile.jpeg <%= DOMAIN %>/upload.php (Respuesta en JSON)</p>
<section> <section>
<h2>ShareX</h2> <h2>ShareX</h2>
<dl> <dl>
<dt>Download</dt> <dt>Descargar</dt>
<dd> <dd>
<a href="https://github.com/ShareX/ShareX">https://github.com/ShareX/ShareX</a> <a href="https://github.com/ShareX/ShareX">https://github.com/ShareX/ShareX</a>
</dd> </dd>
@ -22,7 +22,7 @@
</section> </section>
<h2>uguuecho</h2> <h2>uguuecho</h2>
<dl> <dl>
<dt>Download</dt> <dt>Descargar</dt>
<dd> <dd>
<a href="https://git.teknik.io/nekunekus/uguucho">https://git.teknik.io/nekunekus/uguucho</a> <a href="https://git.teknik.io/nekunekus/uguucho">https://git.teknik.io/nekunekus/uguucho</a>
</dd> </dd>
@ -30,7 +30,7 @@
</section> </section>
<h2>pomfload</h2> <h2>pomfload</h2>
<dl> <dl>
<dt>Download</dt> <dt>Descargar</dt>
<dd> <dd>
<a href="https://github.com/ewhal/pomfload">https://github.com/ewhal/pomfload</a> <a href="https://github.com/ewhal/pomfload">https://github.com/ewhal/pomfload</a>
</dd> </dd>
@ -38,7 +38,7 @@
<section> <section>
<h2>Pomfshare</h2> <h2>Pomfshare</h2>
<dl> <dl>
<dt>Download</dt> <dt>Descargar</dt>
<dd> <dd>
<a href="https://github.com/Nyubis/Pomfshare">https://github.com/Nyubis/Pomfshare</a> <a href="https://github.com/Nyubis/Pomfshare">https://github.com/Nyubis/Pomfshare</a>
</dd> </dd>
@ -47,7 +47,7 @@
<section> <section>
<h2>Pomf Rehost</h2> <h2>Pomf Rehost</h2>
<dl> <dl>
<dt>Download</dt> <dt>Descargar</dt>
<dd> <dd>
<a href="https://git.fuwafuwa.moe/lesderid/pomf-rehost"> <a href="https://git.fuwafuwa.moe/lesderid/pomf-rehost">
https://git.fuwafuwa.moe/lesderid/pomf-rehost https://git.fuwafuwa.moe/lesderid/pomf-rehost
@ -56,4 +56,4 @@
</dl> </dl>
</section> </section>
</div> </div>
<%- include('./src/templates/partials/footer.ejs'); -%> <%- include('./src/templates/partials/footer.ejs'); -%>/