Changes made for ayaya.beauty
1
Makefile
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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",
|
||||||
|
|
|
@ -35,11 +35,12 @@
|
||||||
*/
|
*/
|
||||||
body {
|
body {
|
||||||
background-attachment: fixed, fixed;
|
background-attachment: fixed, fixed;
|
||||||
background-color: #F7F7F7;
|
background-color: #111111;
|
||||||
background-image: url('grill.php'), url('img/bg.png');
|
/** background-image: url('grill.php'), url('img/bg.png'); */
|
||||||
|
background-image: url('grill.php');
|
||||||
background-position: 85% 100%, top left;
|
background-position: 85% 100%, top left;
|
||||||
background-repeat: no-repeat, repeat;
|
background-repeat: no-repeat, repeat;
|
||||||
color: #333;
|
color: #ddd;
|
||||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
@ -66,14 +67,14 @@ input[type=image], img {
|
||||||
}
|
}
|
||||||
/* links */
|
/* links */
|
||||||
a {
|
a {
|
||||||
color: #0078B4;
|
color: pink;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
transition: color 0.25s;
|
transition: color 0.25s;
|
||||||
}
|
}
|
||||||
a:hover,
|
a:hover,
|
||||||
a:focus,
|
a:focus,
|
||||||
a:active {
|
a:active {
|
||||||
color: #005580;
|
color: pink;
|
||||||
}
|
}
|
||||||
a:focus {
|
a:focus {
|
||||||
outline: thin dotted #333;
|
outline: thin dotted #333;
|
||||||
|
@ -105,10 +106,10 @@ a:focus {
|
||||||
transition: font-size 0.5s;
|
transition: font-size 0.5s;
|
||||||
}
|
}
|
||||||
.jumbotron .btn {
|
.jumbotron .btn {
|
||||||
background: rgba(202, 230, 190, 0.75);
|
background: rgb(175 229 152 / 75%);
|
||||||
border: 1px solid #B7D1A0;
|
border: 1px solid #c3e5a5;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
color: #468847;
|
color: #2e6c2f;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
|
@ -142,9 +143,9 @@ a:focus {
|
||||||
color: #AA4342;
|
color: #AA4342;
|
||||||
}
|
}
|
||||||
.alert-info {
|
.alert-info {
|
||||||
background-color: #D9EDF7;
|
background-color: #222222;
|
||||||
border-color: #BCE8F1;
|
/* border-color: #BCE8F1; */
|
||||||
color: #167196;
|
/* color: #167196; */
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -236,6 +237,7 @@ nav > ul > li:last-child:after {
|
||||||
button.upload-clipboard-btn {
|
button.upload-clipboard-btn {
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
|
filter: invert(1);
|
||||||
}
|
}
|
||||||
.error#upload-filelist .progress-percent {
|
.error#upload-filelist .progress-percent {
|
||||||
color: #B94A48;
|
color: #B94A48;
|
||||||
|
@ -268,10 +270,10 @@ button.upload-clipboard-btn {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
.file-url a {
|
.file-url a {
|
||||||
color: #5C5C5C;
|
color: #bbb;
|
||||||
}
|
}
|
||||||
.file-url a:hover {
|
.file-url a:hover {
|
||||||
color: #1C1C1C;
|
color: #fff;
|
||||||
}
|
}
|
||||||
.progress-percent {
|
.progress-percent {
|
||||||
float: right;
|
float: right;
|
||||||
|
@ -398,3 +400,4 @@ progress[value]::-webkit-progress-bar {
|
||||||
.js #upload-btn {
|
.js #upload-btn {
|
||||||
display: inline-block !important;
|
display: inline-block !important;
|
||||||
}
|
}
|
||||||
|
|
BIN
src/static/img/chatterino.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
src/static/img/chatterinoicon.png
Normal file
After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 13 KiB |
BIN
src/static/img/grills/21.png
Normal file
After Width: | Height: | Size: 134 KiB |
BIN
src/static/img/grills/22.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
src/static/img/sadge.png
Normal file
After Width: | Height: | Size: 4.9 KiB |
BIN
src/static/img/sharexlogo.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
|
@ -7,57 +7,35 @@
|
||||||
</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
|
||||||
|
archivo identificado como malware o notificado a travez del correo de abuso se borrara sin previo
|
||||||
|
aviso.</p>
|
||||||
|
<h2>Mantienes registros de los archivos subidos y las direcciones IPs de los usuarios?</h2>
|
||||||
<% if (LOG_IP) { %>
|
<% if (LOG_IP) { %>
|
||||||
<p>A database of the current active files are kept which includes the name, hash and IP 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
|
||||||
|
and time of upload,
|
||||||
this data is deleted when the file expires.</p>
|
this data is deleted when the file expires.</p>
|
||||||
<% } else { %>
|
<% } else { %>
|
||||||
<p>A database of the current active files are kept which includes the name and hash of the file and time of upload,
|
<p>Se usa una base de datos (SQLite3) que mantiene los archivos activos, el nombre aleatorio
|
||||||
this data is deleted when the file expires.</p>
|
asignado, su hash y la hora que se subio; Todo esto es borrado luego de que el archivos
|
||||||
|
expire.</p>
|
||||||
<% } %>
|
<% } %>
|
||||||
<p>Downloads and visits are not tracked or logged in respect for your privacy.</p>
|
<p>Las descargas y las visitas no estan guardadas de ninguna manera para proteger tu
|
||||||
<h2>Can you remove my copyrighted file?</h2>
|
privacidad. (Actualmente 2023-01-22, estan siendo registradas con propositos de
|
||||||
<p>
|
analiticas, para saber cuanta gente usa el servicio) (<a
|
||||||
Please submit your copyright takedown notice to
|
href="https://git.zzls.xyz/Fijxu/etc-configs/src/branch/selfhost/nginx/sites-available/ayaya.beauty.conf">Configuracion
|
||||||
<a href="mailto:<%= abuseContact %>"><%= abuseContact %></a>
|
de Nginx</a>)</p>
|
||||||
. We will
|
<h2>Tengo una pregunta</h2>
|
||||||
handle your notice within <%= expireTime %> and disable access to the infringing file after receiving a notice
|
Hablame por matrix: <a href="https://matrix.to/#/@fijxu:vern.cc">@fijxu:vern.cc</a>
|
||||||
compliant with the Copyright Act.
|
|
||||||
</p>
|
|
||||||
<h2>Can you remove files that are defaming me or otherwise infringing my non-copyright rights?</h2>
|
|
||||||
<p>
|
|
||||||
<%= siteName %> respects takedowns for other files when accompanied with a certified <%= ServerCountryLocation %> court order. If
|
|
||||||
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
|
|
||||||
<a href="mailto:<%= infoContact %>"><%= infoContact %></a>
|
|
||||||
.
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
— donations are what keep <%= siteName %> alive, free from ads and fast.
|
— 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">
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<h1><%= siteName %>~</h1>
|
<h1><%= siteName %>~</h1>
|
||||||
<p class="lead">
|
<p class="lead">
|
||||||
Max upload size is <%= max_upload_size %> MiB & files expire after <%= expireTime %>H, read the
|
El tamaño maximo permitido son <%= max_upload_size %> 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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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'); -%>/
|
||||||
|
|