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
|
||||
|
||||
installdirs:
|
||||
rm -rf $(DESTDIR)/
|
||||
mkdir -p $(DESTDIR)/ $(DESTDIR)/img
|
||||
mkdir -p $(DESTDIR)/ $(DESTDIR)/img/grills
|
||||
|
||||
|
|
|
@ -9,22 +9,22 @@
|
|||
"faq.ejs",
|
||||
"tools.ejs"
|
||||
],
|
||||
"max_upload_size": 128,
|
||||
"expireTime": "48",
|
||||
"siteName": "Uguu",
|
||||
"subTitle": "wahooo",
|
||||
"DOMAIN": "domain.com",
|
||||
"FILE_DOMAIN": "files.domain.com",
|
||||
"abuseContact": "abuse@example.com",
|
||||
"infoContact": "info@example.com",
|
||||
"ServerCountryLocation": "Sweden",
|
||||
"SiteMetaInfo": "SITENAME is a temporary file hosting service, upload files up to 128MiB for 24 hours.",
|
||||
"ToolsDesc": "The following tools might need editing to work on this clone of Uguu, usually editing the URL works.",
|
||||
"donationBanner": false,
|
||||
"max_upload_size": 192,
|
||||
"expireTime": "7D",
|
||||
"siteName": "ayaya.beauty",
|
||||
"subTitle": "✨",
|
||||
"DOMAIN": "ayaya.beauty",
|
||||
"FILE_DOMAIN": "i.ayaya.beauty",
|
||||
"abuseContact": "abuse@zzls.xyz",
|
||||
"infoContact": "",
|
||||
"ServerCountryLocation": "Chile",
|
||||
"SiteMetaInfo": "ayaya.beauty es un subidor de multimedia temporal, puedes subir archivos de hasta 192MB y se borraran automaticamente en 7 Dias.",
|
||||
"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": true,
|
||||
"paypalUrl": "",
|
||||
"bitcoinAddress": "",
|
||||
"bitcoinAddress": "bc1q66mpdxnu340dnl0qlznq783zzqawskw48kestd",
|
||||
"flattrUrl": "",
|
||||
"kofiUrl": "",
|
||||
"kofiUrl": "https://ko-fi.com/fijxu",
|
||||
"malwareBanner": false,
|
||||
"DB_MODE": "sqlite",
|
||||
"DB_PATH": "/var/www/db/uguuDB.sq3",
|
||||
|
@ -36,10 +36,10 @@
|
|||
"FILTER_MODE": true,
|
||||
"RATE_LIMIT": false,
|
||||
"RATE_LIMIT_TIMEOUT": 60,
|
||||
"RATE_LIMIT_FILES": 100,
|
||||
"RATE_LIMIT_FILES": 50,
|
||||
"FILES_ROOT": "/var/www/files/",
|
||||
"FILES_RETRIES": 15,
|
||||
"NAME_LENGTH": 8,
|
||||
"NAME_LENGTH": 6,
|
||||
"ID_CHARSET": "abcdefghijklmnopqrstuvwxyzABCDEFGHJKLMNOPQRSTUVWXYZ",
|
||||
"DOUBLE_DOTS_EXTENSIONS": [
|
||||
"tar.bz2",
|
||||
|
|
|
@ -35,11 +35,12 @@
|
|||
*/
|
||||
body {
|
||||
background-attachment: fixed, fixed;
|
||||
background-color: #F7F7F7;
|
||||
background-image: url('grill.php'), url('img/bg.png');
|
||||
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: #333;
|
||||
color: #ddd;
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-size: 14px;
|
||||
height: 100%;
|
||||
|
@ -66,14 +67,14 @@ input[type=image], img {
|
|||
}
|
||||
/* links */
|
||||
a {
|
||||
color: #0078B4;
|
||||
color: pink;
|
||||
text-decoration: none;
|
||||
transition: color 0.25s;
|
||||
}
|
||||
a:hover,
|
||||
a:focus,
|
||||
a:active {
|
||||
color: #005580;
|
||||
color: pink;
|
||||
}
|
||||
a:focus {
|
||||
outline: thin dotted #333;
|
||||
|
@ -105,10 +106,10 @@ a:focus {
|
|||
transition: font-size 0.5s;
|
||||
}
|
||||
.jumbotron .btn {
|
||||
background: rgba(202, 230, 190, 0.75);
|
||||
border: 1px solid #B7D1A0;
|
||||
background: rgb(175 229 152 / 75%);
|
||||
border: 1px solid #c3e5a5;
|
||||
border-radius: 4px;
|
||||
color: #468847;
|
||||
color: #2e6c2f;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
font-size: 24px;
|
||||
|
@ -142,9 +143,9 @@ a:focus {
|
|||
color: #AA4342;
|
||||
}
|
||||
.alert-info {
|
||||
background-color: #D9EDF7;
|
||||
border-color: #BCE8F1;
|
||||
color: #167196;
|
||||
background-color: #222222;
|
||||
/* border-color: #BCE8F1; */
|
||||
/* color: #167196; */
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -236,6 +237,7 @@ nav > ul > li:last-child:after {
|
|||
button.upload-clipboard-btn {
|
||||
margin-left: 5px;
|
||||
height: 32px;
|
||||
filter: invert(1);
|
||||
}
|
||||
.error#upload-filelist .progress-percent {
|
||||
color: #B94A48;
|
||||
|
@ -268,10 +270,10 @@ button.upload-clipboard-btn {
|
|||
vertical-align: middle;
|
||||
}
|
||||
.file-url a {
|
||||
color: #5C5C5C;
|
||||
color: #bbb;
|
||||
}
|
||||
.file-url a:hover {
|
||||
color: #1C1C1C;
|
||||
color: #fff;
|
||||
}
|
||||
.progress-percent {
|
||||
float: right;
|
||||
|
@ -398,3 +400,4 @@ progress[value]::-webkit-progress-bar {
|
|||
.js #upload-btn {
|
||||
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>
|
||||
</div>
|
||||
<div class="alert alert-info">
|
||||
<h2>What is <%= siteName %>?</h2>
|
||||
<p><%= siteName %> is a simple to use free file hosting service where files get
|
||||
deleted after <%= expireTime %>. It lets you share your photos, documents, music, videos and more with
|
||||
others online.</p>
|
||||
<h2>What files are allowed?</h2>
|
||||
<p>Any kind of file is allowed, as long as the file is legal in <%= ServerCountryLocation %> and you have the legal
|
||||
right to publish the file on our service.</p>
|
||||
<p>As an exception to this policy to prevent abuse, we do not allow malware on our service. Any malware that
|
||||
could be used to infect other computers may be removed from our service at our discretion.</p>
|
||||
<h2>Do you keep logs of uploaded files?</h2>
|
||||
<h2>Que es esta pagina?</h2>
|
||||
<p>
|
||||
Esta pagina es un servicio para subir multimedia libre y gratis donde los archivos
|
||||
son borrados luego de <%= expireTime %>. Permite compartir imagenes, documentos, musica, videos
|
||||
y otras cosas de manera temporal por el internet
|
||||
</p>
|
||||
<h2>Que archivos estan permitidos?</h2>
|
||||
<p>Cualquier tipo de archivos (esta permitido siempre y cuando no viole las leyes de <%=
|
||||
ServerCountryLocation %>.</p>
|
||||
<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) { %>
|
||||
<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>
|
||||
<% } else { %>
|
||||
<p>A database of the current active files are kept which includes the name and hash of the file and time of upload,
|
||||
this data is deleted when the file expires.</p>
|
||||
<p>Se usa una base de datos (SQLite3) que mantiene los archivos activos, el nombre aleatorio
|
||||
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>
|
||||
<h2>Can you remove my copyrighted file?</h2>
|
||||
<p>
|
||||
Please submit your copyright takedown notice to
|
||||
<a href="mailto:<%= abuseContact %>"><%= abuseContact %></a>
|
||||
. We will
|
||||
handle your notice within <%= expireTime %> and disable access to the infringing file after receiving a notice
|
||||
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>
|
||||
.
|
||||
<p>Las descargas y las visitas no estan guardadas de ninguna manera para proteger tu
|
||||
privacidad. (Actualmente 2023-01-22, estan siendo registradas con propositos de
|
||||
analiticas, para saber cuanta gente usa el servicio) (<a
|
||||
href="https://git.zzls.xyz/Fijxu/etc-configs/src/branch/selfhost/nginx/sites-available/ayaya.beauty.conf">Configuracion
|
||||
de Nginx</a>)</p>
|
||||
<h2>Tengo una pregunta</h2>
|
||||
Hablame por matrix: <a href="https://matrix.to/#/@fijxu:vern.cc">@fijxu:vern.cc</a>
|
||||
|
||||
</div>
|
||||
</article>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<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">
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<h1><%= siteName %>~</h1>
|
||||
<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">
|
||||
<abbr title="Frequently asked questions">FAQ</abbr>
|
||||
</a>
|
||||
|
|
|
@ -4,7 +4,13 @@
|
|||
<a href="/"><%= siteName %></a>
|
||||
</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>
|
||||
<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">
|
||||
<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="submit" value="Submit">
|
||||
</form>
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
<%- include('./src/templates/partials/header.ejs'); -%>
|
||||
<div class="container">
|
||||
<div class="jumbotron">
|
||||
<h1><%= siteName %> Tools</h1>
|
||||
<h1><%= siteName %> Herramientas</h1>
|
||||
</div>
|
||||
<div class="alert alert-info">
|
||||
<section>
|
||||
<h3>
|
||||
To upload using curl or make a tool you can post using:
|
||||
Para subir un archivo usando cURL puedes usar esto:
|
||||
<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>
|
||||
<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>
|
||||
<h2>ShareX</h2>
|
||||
<dl>
|
||||
<dt>Download</dt>
|
||||
<dt>Descargar</dt>
|
||||
<dd>
|
||||
<a href="https://github.com/ShareX/ShareX">https://github.com/ShareX/ShareX</a>
|
||||
</dd>
|
||||
|
@ -22,7 +22,7 @@
|
|||
</section>
|
||||
<h2>uguuecho</h2>
|
||||
<dl>
|
||||
<dt>Download</dt>
|
||||
<dt>Descargar</dt>
|
||||
<dd>
|
||||
<a href="https://git.teknik.io/nekunekus/uguucho">https://git.teknik.io/nekunekus/uguucho</a>
|
||||
</dd>
|
||||
|
@ -30,7 +30,7 @@
|
|||
</section>
|
||||
<h2>pomfload</h2>
|
||||
<dl>
|
||||
<dt>Download</dt>
|
||||
<dt>Descargar</dt>
|
||||
<dd>
|
||||
<a href="https://github.com/ewhal/pomfload">https://github.com/ewhal/pomfload</a>
|
||||
</dd>
|
||||
|
@ -38,7 +38,7 @@
|
|||
<section>
|
||||
<h2>Pomfshare</h2>
|
||||
<dl>
|
||||
<dt>Download</dt>
|
||||
<dt>Descargar</dt>
|
||||
<dd>
|
||||
<a href="https://github.com/Nyubis/Pomfshare">https://github.com/Nyubis/Pomfshare</a>
|
||||
</dd>
|
||||
|
@ -47,7 +47,7 @@
|
|||
<section>
|
||||
<h2>Pomf Rehost</h2>
|
||||
<dl>
|
||||
<dt>Download</dt>
|
||||
<dt>Descargar</dt>
|
||||
<dd>
|
||||
<a href="https://git.fuwafuwa.moe/lesderid/pomf-rehost">
|
||||
https://git.fuwafuwa.moe/lesderid/pomf-rehost
|
||||
|
@ -56,4 +56,4 @@
|
|||
</dl>
|
||||
</section>
|
||||
</div>
|
||||
<%- include('./src/templates/partials/footer.ejs'); -%>
|
||||
<%- include('./src/templates/partials/footer.ejs'); -%>/
|
||||
|
|