Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web 4 100% Real No Fake 1 Link #288

Merged
merged 1 commit into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
151 changes: 151 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>🔮The Mystic Bot🔮</title>
<link href="https://fonts.googleapis.com/css2?family=Comfortaa:[email protected]&display=swap" rel="stylesheet">
<link rel="icon" type="image/gif" href="web/favicon.ico">
<link rel="stylesheet" href="web/estilo.css">
<style>
/* Estilo de Carga*/
.loading-screen {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
background-color: #232323;
z-index: 1000;
}

.loading-screen p {
font-size: 2em;
font-family: 'Comfortaa', sans-serif;
}

/* Ocultar el Cargando cuando Cargo gg */
.hide {
display: none;
}
</style>
</head>
<body>
<div class="loading-screen" id="loading-screen">
<p>⌛Cargando⏳</p>
</div>

<video autoplay muted loop id="bg-video" preload="auto">
<source src="https://github.com/user-attachments/assets/fd54742d-a7e9-49f4-b268-da16689918c1" type="video/mp4">
Er Video
</video>

<div class="content" id="content">
<p>⌛Cargando⏳</p>
</div>

<script>

function hideLoadingScreen() {
document.getElementById('loading-screen').classList.add('hide');
}


async function loadContent(url, fallbackUrl = null) {
try {
const response = await fetch(url);
if (!response.ok) throw new Error(`Error fetching ${url}: ${response.statusText}`);
document.getElementById('content').innerHTML = await response.text();

// Comentarios Disqus, PErsonalizable y Claramente Opcional.
loadDisqus();
} catch (error) {
console.error(`Error cargando D: ${error.message}`);
if (fallbackUrl) {
console.log(`Usando fallback URL: ${fallbackUrl}`);
loadContent(fallbackUrl);
} else {
document.getElementById('content').innerHTML = `<p>Error Cargando: ${error.message}</p>`;
}
}
}


function loadDisqus() {
const disqusDiv = document.createElement('div');
disqusDiv.id = 'disqus_thread';
document.getElementById('content').appendChild(disqusDiv);

const disqus_config = function () {
this.page.url = window.location.href;
this.page.identifier = document.title;
};

(function() {
const d = document, s = d.createElement('script');
s.src = 'https://amigos-steam.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
}


function getLocalizedUrl(urlBase) {
const lang = navigator.language || navigator.userLanguage;
const langMap = {
es: 'es.html',
pt: 'pt.html',
fr: 'fr.html',
ru: 'ru.html',
ar: 'ar.html',
hi: 'hi.html'
};
return urlBase + (langMap[lang.slice(0, 2)] || 'ingles.html');
}


function loadLocalizedContent(urlBase) {
const localizedUrl = getLocalizedUrl(urlBase);
const fallbackUrl = `${urlBase}ingles.html`;
loadContent(localizedUrl, fallbackUrl);
}


document.addEventListener("DOMContentLoaded", () => {
const bgVideo = document.getElementById('bg-video');


bgVideo.addEventListener('loadeddata', () => {
loadLocalizedContent('web/');
hideLoadingScreen();
});
});


document.addEventListener('click', (event) => {
const anchor = event.target.closest('a');
if (anchor && anchor.getAttribute('href')?.includes('web/')) {
event.preventDefault();
window.scrollTo({ top: 0, behavior: 'smooth' });
loadLocalizedContent(anchor.getAttribute('href').replace('.html', ''));
}
});


window.onpopstate = () => location.reload();
</script>

<!-- Widget de Discord -->
<script src="https://cdn.jsdelivr.net/npm/@widgetbot/crate@3" async defer>
new Crate({
server: '1278571215635877908',
channel: '1280976262504124508'
});
</script>

<noscript>JavaScript OFF. Se requiere JS activado para visualizar esta página. Consulta el repositorio si tienes problemas.</noscript>
</body>
</html>
18 changes: 18 additions & 0 deletions web/Guias/Linux/es.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<h1>Instalacion en Linux</h1>
<img src="https://github.com/user-attachments/assets/6a2efba9-9b47-4195-9ae2-64592352e888" alt="Imagen de guía" width="70%" height="auto"/>

<h1>Comandos</h1>
<p>Abre la Terminal o Konsole y Pega los Comandos de Acuerdo a Tu Distro.</p>
<p>Debian y Basados</p>
<code>sudo apt install wget curl nodejs nano npm git ffmpeg python3 -y</code>
<p>Arch y Basados</p>
<code>sudo pacman -Syu wget curl nodejs nano npm git ffmpeg python --noconfirm </code>
<p>Fedora</p>
<code>sudo dnf install -y wget curl nodejs nano npm git ffmpeg python3</code>

<p>Luego de que eso Termine Ejecuta esto</p>
<code>git clone https://github.com/BrunoSobrino/TheMystic-Bot-MD.git mystic && cd mystic && npm install && npm start .</code>
<p>Despues de eso Debera Iniciar Solicitando el Numero para Iniciar Sesion</p>

<p>PAra Volver a Iniciar Ejecuta en la Terminal esto</p>
<code>cd mystic && npm start </code>
18 changes: 18 additions & 0 deletions web/Guias/Linux/ingles.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<h1>Installation on Linux</h1>
<img src="https://github.com/user-attachments/assets/6a2efba9-9b47-4195-9ae2-64592352e888" alt="Guide Image" width="70%" height="auto"/>

<h1>Commands</h1>
<p>Open Terminal or Konsole and paste the commands according to your distro.</p>
<p>Debian and derivatives</p>
<code>sudo apt install wget curl nodejs nano npm git ffmpeg python3 -y</code>
<p>Arch and derivatives</p>
<code>sudo pacman -Syu wget curl nodejs nano npm git ffmpeg python --noconfirm </code>
<p>Fedora</p>
<code>sudo dnf install -y wget curl nodejs nano npm git ffmpeg python3</code>

<p>After this finishes, run this</p>
<code>git clone https://github.com/BrunoSobrino/TheMystic-Bot-MD.git mystic && cd mystic && npm install && npm start .</code>
<p>After that, it should start asking for the number to sign in</p>

<p>To restart, run this in Terminal</p>
<code>cd mystic && npm start </code>
53 changes: 53 additions & 0 deletions web/Guias/Termux/es.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<h1>Guía de Instalación Termux</h1>

<img src="https://pm1.aminoapps.com/7668/91d769c068689bda190185f008716df225bd8102r1-1080-737v2_hq.jpg" alt="Imagen de guía" width="70%" height="auto"/>

<h2>⬇️ Descargar Termux</h2>
<p> Instala Termux <a href="https://github.com/termux/termux-app/releases/download/v0.119.0-beta.1/termux-app_v0.119.0-beta.1+apt-android-7-github-debug_universal.apk">Clic Aqui para Descargar Termux ⬇️</a> Recuerda darle todos los permisos a Termux </p>
<p>Si esa version no funciona con tu telefono, deberas Buscar la Version Compatible en <a href="https://github.com/termux/termux-app/releases">Termux Github</a></p>
<p>Suele decir <code>termux-app_vxxx-+apt-android-7-github-debug_universal.apk</code>. Android 7 se refiere a que funciona con Android 7 y superior. Hay otra versión para Android 7 e inferior llamada Android5. </p>
<blockquote><p> EL TERMUX DE GOOGLE PLAY NO FUNCIONA. </p></blockquote>


<h2>⬇️ Instalar Mystic Bot</h2>
<p>Simplemente copia y pega esto en Termux </p>
<code> apt update -y && yes | apt upgrade && pkg install -y wget proot-distro && proot-distro install archlinux && wget -O - https://raw.githubusercontent.com/weskerty/test/main/Termux/mystic.sh | bash </code>

<h1>📹 Video Demostrativo; </h1>
<video src="https://github.com/user-attachments/assets/a109c5ef-1124-437c-b616-5dc2ca7bdec8" controls width="100%" height="auto"></video>

<h2>🖥️ Iniciar de Nuevo</h2>
<p> Para volver a abrir el bot en caso de que se cierre Termux, Solo abre de nuevo Termux, esto hara que se Inicie Automaticamente. </p>
<p>Para cancelar la ejecucion automatica al abrir Termux Presiona la Tecla CTRL + C del Teclado.</p>


<h2>⚙️ Preferencias del Bot</h2>
<p>Puedes ajustar el <code>config.js</code> para cambiar detalles del bot, como nombre, el país de la fecha, el nombre del paquete de stickers, etc. Desde Termux es <code> proot-distro login archlinux -- bash -c "nano config.js" </code>. Edita lo que necesites, para guardar es Ctrl+O luego Enter. Para salir de Nano es Ctrl+X.</p>
<p>En caso de que tengas Root o una versión inferior a Android 11, puedes ir a ver los archivos de Termux y ajustarlos desde el explorador de archivos de Android en la carpeta <code>/data/data/com.termux/files/home/</code>.</p>

<h2>🔌 Mantener Abierto Termux</h2>
<blockquote> <p>El bot funcionará mientras Termux esté abierto y con conexión a Internet. Permite a Termux ejecutarse sin restricciones ni optimizaciones de batería. Activa el WakeLock desde la notificación de Termux.</p>

<p> Android 12 y superior tienen limitaciones de ejecución que evitan el buen funcionamiento en segundo plano, únicamente se puede resolver con ADB, Root o Custom ROM.<p>
</blockquote>

<h2>💡 Evitar Cierre Forzoso (Opcional)</h2>
<p>En caso de que Termux se te cierre a cada rato, puedes seguir estos pasos opcionales:</p>

<h3>Con ADB</h3>
<code>adb shell "/system/bin/device_config set_sync_disabled_for_tests persistent"</code>
<code>adb shell "/system/bin/device_config put activity_manager max_phantom_processes 2147483647"</code>
<code>adb shell settings put global settings_enable_monitor_phantom_procs false</code>

<h3>Con ROOT:</h3>
<code>su -c /system/bin/device_config set_sync_disabled_for_tests persistent</code>
<code>su -c /system/bin/device_config put activity_manager max_phantom_processes 2147483647</code>
<code>su -c setprop persist.sys.fflag.override.settings_enable_monitor_phantom_procs false</code>

<h2>Servidor Eco-Friendly</h2>
<p>Puedes utilizar un teléfono antiguo y automatizarlo con Tasker como es mi caso. Utilizo un teléfono roto con un panel solar para mantener el bot para <a href="https://chat.whatsapp.com/JtrXf1pGoewLlX5Ww2VXDs">Toda esta Comunidad</a>.</p>

<a href="https://www.hmd.com/en_int/nokia-g-20/environmental-profile">
<img src="https://github.com/user-attachments/assets/1d33c20a-1af9-42ee-a6d7-4c2e03254f78" width="100%" height="auto" alt="NokiaG20">
</a>
<h1> Con esto Tambien puedes ejecutar Linux en tu Telefono y Usarlo como si Fuese una PC. <a href="https://github.com/LinuxDroidMaster/Termux-Desktops/blob/main/Documentation/proot/arch_proot.md">Mas Info Aqui </a> </h1>
52 changes: 52 additions & 0 deletions web/Guias/Termux/ingles.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<h1>Termux Installation Guide</h1>

<img src="https://pm1.aminoapps.com/7668/91d769c068689bda190185f008716df225bd8102r1-1080-737v2_hq.jpg" alt="Guide Image" width="70%" height="auto"/>

<h2>⬇️ Download Termux</h2>
<p> Install Termux <a href="https://github.com/termux/termux-app/releases/download/v0.119.0-beta.1/termux-app_v0.119.0-beta.1+apt-android-7-github-debug_universal.apk">Click Here to Download Termux ⬇️</a> Remember to grant all permissions to Termux. </p>
<p>If this version doesn't work with your phone, you will need to search for the compatible version on <a href="https://github.com/termux/termux-app/releases">Termux Github</a></p>
<p>It usually says <code>termux-app_vxxx-+apt-android-7-github-debug_universal.apk</code>. Android 7 means it works with Android 7 and above. There is another version for Android 7 and below called Android5.</p>
<blockquote><p> THE TERMUX FROM GOOGLE PLAY DOES NOT WORK. </p></blockquote>

<h2>⬇️ Install Mystic Bot</h2>
<p>Simply copy and paste this into Termux</p>
<code> apt update -y && yes | apt upgrade && pkg install -y wget proot-distro && proot-distro install archlinux && wget -O - https://raw.githubusercontent.com/weskerty/test/main/Termux/mystic.sh | bash </code>

<h1>📹 Demonstrative Video: </h1>
<video src="https://github.com/user-attachments/assets/a109c5ef-1124-437c-b616-5dc2ca7bdec8" controls width="100%" height="auto"></video>

<h2>🖥️ Restart</h2>
<p> To reopen the bot if Termux closes, just open Termux again, this will make it start automatically. </p>
<p>To cancel automatic execution when opening Termux, press the CTRL + C key on the keyboard.</p>

<h2>⚙️ Bot Preferences</h2>
<p>You can adjust the <code>config.js</code> to change bot details such as name, date country, sticker pack name, etc. From Termux it's <code> proot-distro login archlinux -- bash -c "nano config.js" </code>. Edit what you need, to save use Ctrl+O then Enter. To exit Nano, use Ctrl+X.</p>
<p>If you have Root or a version lower than Android 11, you can view Termux files and adjust them from the Android file explorer in the folder <code>/data/data/com.termux/files/home/</code>.</p>

<h2>🔌 Keep Termux Open</h2>
<blockquote> <p>The bot will work as long as Termux is open and connected to the Internet. Allow Termux to run without battery optimizations. Activate WakeLock from the Termux notification.</p>

<p> Android 12 and above have execution limitations that prevent proper background functionality. This can only be resolved with ADB, Root, or Custom ROM.<p>
</blockquote>

<h2>💡 Prevent Forced Closing (Optional)</h2>
<p>If Termux closes frequently, you can follow these optional steps:</p>

<h3>With ADB</h3>
<code>adb shell "/system/bin/device_config set_sync_disabled_for_tests persistent"</code>
<code>adb shell "/system/bin/device_config put activity_manager max_phantom_processes 2147483647"</code>
<code>adb shell settings put global settings_enable_monitor_phantom_procs false</code>

<h3>With ROOT:</h3>
<code>su -c /system/bin/device_config set_sync_disabled_for_tests persistent</code>
<code>su -c /system/bin/device_config put activity_manager max_phantom_processes 2147483647</code>
<code>su -c setprop persist.sys.fflag.override.settings_enable_monitor_phantom_procs false</code>

<h2>Eco-Friendly Server</h2>
<p>You can use an old phone and automate it with Tasker as I do. I use a broken phone with a solar panel to keep the bot running for <a href="https://chat.whatsapp.com/JtrXf1pGoewLlX5Ww2VXDs">This Entire Community</a>.</p>

<a href="https://www.hmd.com/en_int/nokia-g-20/environmental-profile">
<img src="https://github.com/user-attachments/assets/1d33c20a-1af9-42ee-a6d7-4c2e03254f78" width="100%" height="auto" alt="NokiaG20">
</a>

<h1> With this, you can also run Linux on your phone and use it like a PC. <a href="https://github.com/LinuxDroidMaster/Termux-Desktops/blob/main/Documentation/proot/arch_proot.md">More Info Here</a> </h1>
27 changes: 27 additions & 0 deletions web/Guias/Windows/es.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

<h1> Instalacion en Windows </h1>
<img src="https://github.com/user-attachments/assets/6a2efba9-9b47-4195-9ae2-64592352e888" alt="Imagen de guía" width="70%" height="auto"/>
<p> Es tan facil como <a href="https://github.com/weskerty/test/blob/main/Windows/MagiskInstallWindows.bat">Descargar Este Archivo ⬇️</a> y Ejecutarlo como Adminstrador </p>
<p> Eso instalara Automaticamente todo lo que Necesites e Iniciara Pidiendote Iniciar con Codigo QR o Numero de Telefono. </p>


<h2> Iniciar Bot Nuevamente </h2>
<p>Para iniciar el bot abre UpdateAndStart.bat que se encuentra en Disco C:\ y Listo. </p>
<p>Tambien Puedes Abrir la Ubicacion de la Carpeta donde esta y Abrir CMD Desde Ahi, O Directamente desde CMD con este comando <code>cd %USERPROFILE%\mystic && npm start .
</code></p>
<blockquote><p>Windows Tiene una Limitacion con la Terminal el cual pausa la Ejecucion si se Minimiza, ademas de mostrar ventanas emergentes de manera aleatoria al usarse ffmpeg</p>
<p>Para Solucionar esto debes agregar una Tarea en Programador de Tareas</p></blockquote>
<p>Abre el Programador de Tareas y Configuralo con estas Opciones: </p>
<p>Añadir Nueva Tarea Basica o Simple</p>
<p>Agregar Nombre, Elegir UpdateAndStart.bat y que se inicie al inicar el equipo mas Ajustes Avanzados</p>
<p>Ejecutar Tanto como si se inicia sesion como si no</p>
<p>Ajusta para que no se detenga la tarea despues de 3 dias y demas ajustes preferenciales</p>
<p>Asi; </p>
<video src="https://github.com/user-attachments/assets/aa3794c1-a753-48f5-b178-a2f709b0820f" controls width="100%" height="auto"></video>

<p>Esto hara que inicie Automaticamente al encender la PC sin verse y sin Pausarse</p>
<h3> Para mas informacion ve a los Grupos de Ayuda en alguna de estas Plataformas o Habla Directamente desde el Widget<h3>

<h1> Instalacion Manual </h1>
<p>Descarga e Instala Nodejs, Git y python</p>
<p>Instalalo, clona la repo, npminstall en la carpeta contenedora ajustes de config y npm start .</p>
24 changes: 24 additions & 0 deletions web/Guias/Windows/ingles.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<h1> Windows Installation </h1>
<img src="https://github.com/user-attachments/assets/6a2efba9-9b47-4195-9ae2-64592352e888" alt="Guide Image" width="70%" height="auto"/>
<p> It is as easy as <a href="https://github.com/weskerty/test/blob/main/Windows/MagiskInstallWindows.bat">Downloading This File ⬇️</a> and Running it as Administrator </p>
<p> This will automatically install everything you need and start by asking you to log in with a QR Code or Phone Number. </p>

<h2> Restart the Bot </h2>
<p>To start the bot, open UpdateAndStart.bat located in Drive C:\ and that’s it. </p>
<p>You can also open the folder location and open CMD from there, or directly from CMD with this command <code>cd %USERPROFILE%\mystic && npm start .</code></p>
<blockquote><p>Windows has a limitation with the terminal where the execution pauses if minimized, and it shows random pop-up windows when using ffmpeg.</p>
<p>To solve this, you need to add a task in Task Scheduler.</p></blockquote>
<p>Open Task Scheduler and configure it with these options: </p>
<p>Add a New Basic or Simple Task</p>
<p>Add a Name, Choose UpdateAndStart.bat, and set it to start at system boot with additional advanced settings.</p>
<p>Run whether the user is logged in or not.</p>
<p>Set it so the task doesn't stop after 3 days and adjust other preferences as needed.</p>
<p>Like this; </p>
<video src="https://github.com/user-attachments/assets/aa3794c1-a753-48f5-b178-a2f709b0820f" controls width="100%" height="auto"></video>

<p>This will make it start automatically when the PC turns on, without being visible or pausing.</p>
<h3> For more information, check the Help Groups on one of these platforms or contact directly from the Widget.<h3>

<h1> Manual Installation </h1>
<p>Download and install Node.js, Git, and Python.</p>
<p>Install them, clone the repository, run npm install in the folder containing the config settings, and npm start.</p>
Loading
Loading