Skip to content

Instantly share code, notes, and snippets.

@electricintel
Last active August 6, 2026 03:01
Show Gist options
  • Select an option

  • Save electricintel/bf530997ee3ffb0ca72bf6c8b49a6a05 to your computer and use it in GitHub Desktop.

Select an option

Save electricintel/bf530997ee3ffb0ca72bf6c8b49a6a05 to your computer and use it in GitHub Desktop.
Aelion
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>AELION — Guardian Dashboard</title>
<style>
body {
margin:0;
padding:0;
font-family:'Segoe UI', sans-serif;
background: radial-gradient(circle at top, #0a1a2f, #000000);
color:white;
}
.container {
padding:1.5rem;
}
.card {
background: rgba(0, 20, 40, 0.6);
border: 1px solid rgba(0, 200, 255, 0.3);
border-radius: 16px;
padding: 1.5rem;
margin-bottom: 1.5rem;
box-shadow: 0 0 20px rgba(0, 200, 255, 0.2);
backdrop-filter: blur(8px);
animation: fadeIn 1s ease;
}
@keyframes fadeIn {
from { opacity:0; transform:translateY(20px); }
to { opacity:1; transform:translateY(0); }
}
h1 {
text-align:center;
font-size: 2rem;
margin-bottom: 1rem;
color: #4de3ff;
text-shadow: 0 0 10px #00aaff;
}
.module {
padding:1rem;
margin-top:1rem;
border-radius:12px;
background:rgba(255,255,255,0.05);
display:flex;
justify-content:space-between;
align-items:center;
}
.module span {
font-size:1.2rem;
}
.count {
font-size:1.4rem;
color:#00eaff;
text-shadow:0 0 8px #00eaff;
}
button {
width:100%;
padding:1rem;
margin-top:1rem;
font-size:1.2rem;
border:none;
border-radius:12px;
background: linear-gradient(90deg, #0077ff, #00eaff);
color:white;
box-shadow: 0 0 15px rgba(0, 200, 255, 0.4);
transition: transform 0.2s, box-shadow 0.2s;
}
button:hover {
transform: scale(1.05);
box-shadow: 0 0 25px rgba(0, 200, 255, 0.7);
}
</style>
</head>
<body>
<div class="container">
<div class="card">
<h1>🛡 AELION Guardian Dashboard</h1>
<div id="modules">Loading…</div>
<button onclick="openJustice()">⚖ Open Justice Engine</button>
<button onclick="openHome()">🏠 Open Home Engine</button>
<button onclick="openRecall()">🧠 Open Recall Engine</button>
<button onclick="openMining()">⛏ Open Mining Engine</button>
<button onclick="openViewer()">📊 Open Data Viewer</button>
</div>
</div>
<script>
function openJustice() { window.location = "justice.html"; }
function openHome() { window.location = "home.html"; }
function openRecall() { window.location = "recall.html"; }
function openMining() { window.location = "mining.html"; }
function openViewer() { window.location = "viewer.html"; }
fetch("/api/all")
.then(r => r.json())
.then(data => {
let html = "";
html += "<div class='module'><span>⚖ Justice</span><span class='count'>" + data.cases.length + "</span></div>";
html += "<div class='module'><span>🏠 Home</span><span class='count'>" + data.home.length + "</span></div>";
html += "<div class='module'><span>🧠 Recall</span><span class='count'>" + data.recall.length + "</span></div>";
html += "<div class='module'><span>⛏ Mining</span><span class='count'>" + data.mining.length + "</span></div>";
document.getElementById("modules").innerHTML = html;
});
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>AELION — Home Engine</title>
<style>
body {
margin:0;
padding:0;
font-family:'Segoe UI', sans-serif;
background: radial-gradient(circle at top, #0a1a2f, #000000);
color:white;
}
.card {
background: rgba(0, 20, 40, 0.6);
border: 1px solid rgba(0, 200, 255, 0.3);
border-radius: 16px;
padding: 1.5rem;
margin: 2rem;
box-shadow: 0 0 20px rgba(0, 200, 255, 0.2);
backdrop-filter: blur(8px);
animation: fadeIn 1s ease;
}
@keyframes fadeIn {
from { opacity:0; transform:translateY(20px); }
to { opacity:1; transform:translateY(0); }
}
textarea {
width:100%;
height:180px;
border-radius:12px;
border:none;
padding:1rem;
font-size:1rem;
background: rgba(255,255,255,0.1);
color:white;
}
button {
width:100%;
padding:1rem;
margin-top:1rem;
font-size:1.2rem;
border:none;
border-radius:12px;
background: linear-gradient(90deg, #0077ff, #00eaff);
color:white;
box-shadow: 0 0 15px rgba(0, 200, 255, 0.4);
transition: transform 0.2s, box-shadow 0.2s;
}
button:hover {
transform: scale(1.05);
box-shadow: 0 0 25px rgba(0, 200, 255, 0.7);
}
</style>
</head>
<body>
<div class="card">
<h1>🏠 Home Engine</h1>
<textarea id="input"></textarea>
<button onclick="send()">Submit</button>
</div>
<script>
function send() {
fetch("/api/home", {
method:"POST",
headers:{ "Content-Type":"application/json" },
body:JSON.stringify({ entry: document.getElementById("input").value })
}).then(r=>r.json()).then(j=>alert("Stored"));
}
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>AELION — Futuristic Mobile UI</title>
<style>
body {
margin:0;
padding:0;
font-family: 'Segoe UI', sans-serif;
background: radial-gradient(circle at top, #0a1a2f, #000000);
color:white;
}
.container {
padding:2rem;
}
.card {
background: rgba(0, 20, 40, 0.6);
border: 1px solid rgba(0, 200, 255, 0.3);
border-radius: 16px;
padding: 1.5rem;
margin-bottom: 1.5rem;
box-shadow: 0 0 20px rgba(0, 200, 255, 0.2);
backdrop-filter: blur(8px);
animation: fadeIn 1s ease;
}
@keyframes fadeIn {
from { opacity:0; transform:translateY(20px); }
to { opacity:1; transform:translateY(0); }
}
h1 {
text-align:center;
font-size: 2rem;
margin-bottom: 1rem;
color: #4de3ff;
text-shadow: 0 0 10px #00aaff;
}
button {
width:100%;
padding:1rem;
margin-top:1rem;
font-size:1.2rem;
border:none;
border-radius:12px;
background: linear-gradient(90deg, #0077ff, #00eaff);
color:white;
box-shadow: 0 0 15px rgba(0, 200, 255, 0.4);
transition: transform 0.2s, box-shadow 0.2s;
}
button:hover {
transform: scale(1.05);
box-shadow: 0 0 25px rgba(0, 200, 255, 0.7);
}
</style>
</head>
<body>
<div class="container">
<div class="card">
<h1>AELION — Guardian System</h1>
<button onclick="openModule('justice')">⚖ Justice Engine</button>
<button onclick="openModule('home')">🏠 Home Engine</button>
<button onclick="openModule('recall')">🧠 Recall Engine</button>
<button onclick="openModule('mining')">⛏ Mining Engine</button>
<button onclick="openModule('manual')">📘 Manual Overlay</button>
</div>
</div>
<script>
function openModule(m) {
window.location = m + ".html";
}
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>AELION — Justice Engine</title>
<style>
body {
margin:0;
padding:0;
font-family:'Segoe UI', sans-serif;
background: radial-gradient(circle at top, #0a1a2f, #000000);
color:white;
}
.card {
background: rgba(0, 20, 40, 0.6);
border: 1px solid rgba(0, 200, 255, 0.3);
border-radius: 16px;
padding: 1.5rem;
margin: 2rem;
box-shadow: 0 0 20px rgba(0, 200, 255, 0.2);
backdrop-filter: blur(8px);
animation: fadeIn 1s ease;
}
@keyframes fadeIn {
from { opacity:0; transform:translateY(20px); }
to { opacity:1; transform:translateY(0); }
}
textarea {
width:100%;
height:180px;
border-radius:12px;
border:none;
padding:1rem;
font-size:1rem;
background: rgba(255,255,255,0.1);
color:white;
}
button {
width:100%;
padding:1rem;
margin-top:1rem;
font-size:1.2rem;
border:none;
border-radius:12px;
background: linear-gradient(90deg, #0077ff, #00eaff);
color:white;
box-shadow: 0 0 15px rgba(0, 200, 255, 0.4);
transition: transform 0.2s, box-shadow 0.2s;
}
button:hover {
transform: scale(1.05);
box-shadow: 0 0 25px rgba(0, 200, 255, 0.7);
}
</style>
</head>
<body>
<div class="card">
<h1>⚖ Justice Engine</h1>
<textarea id="input"></textarea>
<button onclick="send()">Submit</button>
</div>
<script>
function send() {
fetch("/api/justice", {
method:"POST",
headers:{ "Content-Type":"application/json" },
body:JSON.stringify({ entry: document.getElementById("input").value })
}).then(r=>r.json()).then(j=>alert("Stored"));
}
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>AELION — Manual Overlay</title>
<style>
body {
margin:0;
padding:0;
font-family:'Segoe UI', sans-serif;
background: radial-gradient(circle at top, #0a1a2f, #000000);
color:white;
}
.card {
background: rgba(0, 20, 40, 0.6);
border: 1px solid rgba(0, 200, 255, 0.3);
border-radius: 16px;
padding: 1.5rem;
margin: 2rem;
box-shadow: 0 0 20px rgba(0, 200, 255, 0.2);
backdrop-filter: blur(8px);
animation: fadeIn 1s ease;
}
@keyframes fadeIn {
from { opacity:0; transform:translateY(20px); }
to { opacity:1; transform:translateY(0); }
}
textarea {
width:100%;
height:180px;
border-radius:12px;
border:none;
padding:1rem;
font-size:1rem;
background: rgba(255,255,255,0.1);
color:white;
}
button {
width:100%;
padding:1rem;
margin-top:1rem;
font-size:1.2rem;
border:none;
border-radius:12px;
background: linear-gradient(90deg, #0077ff, #00eaff);
color:white;
box-shadow: 0 0 15px rgba(0, 200, 255, 0.4);
transition: transform 0.2s, box-shadow 0.2s;
}
button:hover {
transform: scale(1.05);
box-shadow: 0 0 25px rgba(0, 200, 255, 0.7);
}
</style>
</head>
<body>
<div class="card">
<h1>📘 AELION Manual Overlay</h1>
<textarea id="input"></textarea>
<button onclick="send()">Submit</button>
</div>
<script>
function send() {
fetch("/api/justice", {
method:"POST",
headers:{ "Content-Type":"application/json" },
body:JSON.stringify({ entry: document.getElementById("input").value })
}).then(r=>r.json()).then(j=>alert("Stored"));
}
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>AELION — System Manual</title>
<style>
body {
margin:0;
padding:0;
font-family:'Segoe UI', sans-serif;
background: radial-gradient(circle at top, #0a1a2f, #000000);
color:white;
}
.card {
background: rgba(0, 20, 40, 0.6);
border: 1px solid rgba(0, 200, 255, 0.3);
border-radius: 16px;
padding: 1.5rem;
margin: 2rem;
box-shadow: 0 0 20px rgba(0, 200, 255, 0.2);
backdrop-filter: blur(8px);
animation: fadeIn 1s ease;
}
@keyframes fadeIn {
from { opacity:0; transform:translateY(20px); }
to { opacity:1; transform:translateY(0); }
}
h1, h2 {
color:#4de3ff;
text-shadow:0 0 10px #00aaff;
}
.section {
margin-top:1.5rem;
padding:1rem;
background:rgba(255,255,255,0.05);
border-radius:12px;
}
p {
line-height:1.6rem;
}
ul {
margin-left:1rem;
}
</style>
</head>
<body>
<div class="card">
<h1>📘 AELION System Manual</h1>
<div class="section">
<h2>1. What is AELION?</h2>
<p>
AELION is a modular justice, recall, home‑support, and mining intelligence system.
It stores structured entries across multiple engines and provides futuristic UI panels
for interacting with the data.
</p>
</div>
<div class="section">
<h2>2. System Architecture</h2>
<p>AELION consists of:</p>
<ul>
<li>Flask backend (Python)</li>
<li>JSON datastore (<code>aelion_data.json</code>)</li>
<li>Futuristic animated UI modules</li>
<li>REST API endpoints</li>
</ul>
</div>
<div class="section">
<h2>3. Backend Overview</h2>
<p>The backend exposes:</p>
<ul>
<li><code>/api/justice</code> — store justice entries</li>
<li><code>/api/home</code> — store home entries</li>
<li><code>/api/recall</code> — store recall entries</li>
<li><code>/api/mining</code> — store mining entries</li>
<li><code>/api/all</code> — retrieve all data</li>
<li><code>/ui/&lt;file&gt;</code> — serve UI files</li>
</ul>
</div>
<div class="section">
<h2>4. UI Modules</h2>
<ul>
<li>⚖ Justice Engine — submit justice cases</li>
<li>🏠 Home Engine — store home‑support entries</li>
<li>🧠 Recall Engine — memory and recall entries</li>
<li>⛏ Mining Engine — mining entries</li>
<li>📊 Data Viewer — view all entries</li>
<li>🛡 Guardian Dashboard — system overview</li>
<li>⛏ Live Mining Monitor — auto‑refresh mining feed</li>
<li>⚖ Case Timeline — chronological justice entries</li>
</ul>
</div>
<div class="section">
<h2>5. Data Flow</h2>
<p>
Each module sends JSON to the backend. The backend appends the entry to the datastore.
Viewer, dashboard, monitor, and timeline modules read from <code>/api/all</code>.
</p>
</div>
<div class="section">
<h2>6. Extending AELION</h2>
<p>You can add new modules by:</p>
<ul>
<li>Creating a new HTML file in the UI folder</li>
<li>Adding a new API endpoint in the backend</li>
<li>Adding new datastore fields</li>
</ul>
</div>
<div class="section">
<h2>7. Deployment</h2>
<p>
AELION runs on Termux, Linux, macOS, Windows, or cloud servers.
For mobile, Termux + Flask is the recommended setup.
</p>
</div>
</div>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>AELION — Mining Engine</title>
<style>
body {
margin:0;
padding:0;
font-family:'Segoe UI', sans-serif;
background: radial-gradient(circle at top, #0a1a2f, #000000);
color:white;
}
.card {
background: rgba(0, 20, 40, 0.6);
border: 1px solid rgba(0, 200, 255, 0.3);
border-radius: 16px;
padding: 1.5rem;
margin: 2rem;
box-shadow: 0 0 20px rgba(0, 200, 255, 0.2);
backdrop-filter: blur(8px);
animation: fadeIn 1s ease;
}
@keyframes fadeIn {
from { opacity:0; transform:translateY(20px); }
to { opacity:1; transform:translateY(0); }
}
textarea {
width:100%;
height:180px;
border-radius:12px;
border:none;
padding:1rem;
font-size:1rem;
background: rgba(255,255,255,0.1);
color:white;
}
button {
width:100%;
padding:1rem;
margin-top:1rem;
font-size:1.2rem;
border:none;
border-radius:12px;
background: linear-gradient(90deg, #0077ff, #00eaff);
color:white;
box-shadow: 0 0 15px rgba(0, 200, 255, 0.4);
transition: transform 0.2s, box-shadow 0.2s;
}
button:hover {
transform: scale(1.05);
box-shadow: 0 0 25px rgba(0, 200, 255, 0.7);
}
</style>
</head>
<body>
<div class="card">
<h1>⛏ Mining Engine</h1>
<textarea id="input"></textarea>
<button onclick="send()">Submit</button>
</div>
<script>
function send() {
fetch("/api/mining", {
method:"POST",
headers:{ "Content-Type":"application/json" },
body:JSON.stringify({ entry: document.getElementById("input").value })
}).then(r=>r.json()).then(j=>alert("Stored"));
}
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>AELION — Live Mining Monitor</title>
<style>
body {
margin:0;
padding:0;
font-family:'Segoe UI', sans-serif;
background: radial-gradient(circle at top, #0a1a2f, #000000);
color:white;
}
.card {
background: rgba(0, 20, 40, 0.6);
border: 1px solid rgba(0, 200, 255, 0.3);
border-radius: 16px;
padding: 1.5rem;
margin: 2rem;
box-shadow: 0 0 20px rgba(0, 200, 255, 0.2);
backdrop-filter: blur(8px);
animation: fadeIn 1s ease;
}
@keyframes fadeIn {
from { opacity:0; transform:translateY(20px); }
to { opacity:1; transform:translateY(0); }
}
h1 {
text-align:center;
color:#4de3ff;
text-shadow:0 0 10px #00aaff;
}
.entry {
padding:0.8rem;
margin-top:0.5rem;
background:rgba(0,0,0,0.3);
border-left:4px solid #00eaff;
border-radius:8px;
}
</style>
</head>
<body>
<div class="card">
<h1>⛏ Live Mining Monitor</h1>
<div id="list">Loading…</div>
</div>
<script>
function load() {
fetch("/api/all")
.then(r => r.json())
.then(data => {
let html = "";
data.mining.forEach(e => {
html += "<div class='entry'>" + e.entry + "</div>";
});
document.getElementById("list").innerHTML = html || "No mining entries yet.";
});
}
load();
setInterval(load, 5000);
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>AELION — Recall Engine</title>
<style>
body {
margin:0;
padding:0;
font-family:'Segoe UI', sans-serif;
background: radial-gradient(circle at top, #0a1a2f, #000000);
color:white;
}
.card {
background: rgba(0, 20, 40, 0.6);
border: 1px solid rgba(0, 200, 255, 0.3);
border-radius: 16px;
padding: 1.5rem;
margin: 2rem;
box-shadow: 0 0 20px rgba(0, 200, 255, 0.2);
backdrop-filter: blur(8px);
animation: fadeIn 1s ease;
}
@keyframes fadeIn {
from { opacity:0; transform:translateY(20px); }
to { opacity:1; transform:translateY(0); }
}
textarea {
width:100%;
height:180px;
border-radius:12px;
border:none;
padding:1rem;
font-size:1rem;
background: rgba(255,255,255,0.1);
color:white;
}
button {
width:100%;
padding:1rem;
margin-top:1rem;
font-size:1.2rem;
border:none;
border-radius:12px;
background: linear-gradient(90deg, #0077ff, #00eaff);
color:white;
box-shadow: 0 0 15px rgba(0, 200, 255, 0.4);
transition: transform 0.2s, box-shadow 0.2s;
}
button:hover {
transform: scale(1.05);
box-shadow: 0 0 25px rgba(0, 200, 255, 0.7);
}
</style>
</head>
<body>
<div class="card">
<h1>🧠 Recall Engine</h1>
<textarea id="input"></textarea>
<button onclick="send()">Submit</button>
</div>
<script>
function send() {
fetch("/api/recall", {
method:"POST",
headers:{ "Content-Type":"application/json" },
body:JSON.stringify({ entry: document.getElementById("input").value })
}).then(r=>r.json()).then(j=>alert("Stored"));
}
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>AELION — Case Timeline</title>
<style>
body {
margin:0;
padding:0;
font-family:'Segoe UI', sans-serif;
background: radial-gradient(circle at top, #0a1a2f, #000000);
color:white;
}
.card {
background: rgba(0, 20, 40, 0.6);
border: 1px solid rgba(0, 200, 255, 0.3);
border-radius: 16px;
padding: 1.5rem;
margin: 2rem;
box-shadow: 0 0 20px rgba(0, 200, 255, 0.2);
backdrop-filter: blur(8px);
animation: fadeIn 1s ease;
}
@keyframes fadeIn {
from { opacity:0; transform:translateY(20px); }
to { opacity:1; transform:translateY(0); }
}
h1 {
text-align:center;
color:#4de3ff;
text-shadow:0 0 10px #00aaff;
}
.timeline {
margin-top:1.5rem;
border-left:3px solid #00eaff;
padding-left:1rem;
}
.entry {
margin-bottom:1.5rem;
padding:1rem;
background:rgba(0,0,0,0.3);
border-radius:12px;
position:relative;
animation: slideIn 0.6s ease;
}
@keyframes slideIn {
from { opacity:0; transform:translateX(-20px); }
to { opacity:1; transform:translateX(0); }
}
.entry::before {
content:"";
position:absolute;
left:-1.2rem;
top:1rem;
width:12px;
height:12px;
background:#00eaff;
border-radius:50%;
box-shadow:0 0 10px #00eaff;
}
</style>
</head>
<body>
<div class="card">
<h1>⚖ Case Timeline</h1>
<div id="timeline" class="timeline">Loading…</div>
</div>
<script>
fetch("/api/all")
.then(r => r.json())
.then(data => {
let html = "";
data.cases.forEach(e => {
html += "<div class='entry'>" + e.entry + "</div>";
});
document.getElementById("timeline").innerHTML = html || "No justice entries yet.";
});
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>AELION — Data Viewer</title>
<style>
body {
margin:0;
padding:0;
font-family:'Segoe UI', sans-serif;
background: radial-gradient(circle at top, #0a1a2f, #000000);
color:white;
}
.card {
background: rgba(0, 20, 40, 0.6);
border: 1px solid rgba(0, 200, 255, 0.3);
border-radius: 16px;
padding: 1.5rem;
margin: 2rem;
box-shadow: 0 0 20px rgba(0, 200, 255, 0.2);
backdrop-filter: blur(8px);
animation: fadeIn 1s ease;
}
@keyframes fadeIn {
from { opacity:0; transform:translateY(20px); }
to { opacity:1; transform:translateY(0); }
}
h1 {
text-align:center;
color:#4de3ff;
text-shadow:0 0 10px #00aaff;
}
.section {
margin-top:1.5rem;
padding:1rem;
background:rgba(255,255,255,0.05);
border-radius:12px;
}
.entry {
padding:0.8rem;
margin-top:0.5rem;
background:rgba(0,0,0,0.3);
border-left:4px solid #00eaff;
border-radius:8px;
}
</style>
</head>
<body>
<div class="card">
<h1>📊 AELION Data Viewer</h1>
<div id="content">Loading…</div>
</div>
<script>
fetch("/api/all")
.then(r => r.json())
.then(data => {
let html = "";
html += "<div class='section'><h2>⚖ Justice</h2>";
data.cases.forEach(e => {
html += "<div class='entry'>" + e.entry + "</div>";
});
html += "</div>";
html += "<div class='section'><h2>🏠 Home</h2>";
data.home.forEach(e => {
html += "<div class='entry'>" + e.entry + "</div>";
});
html += "</div>";
html += "<div class='section'><h2>🧠 Recall</h2>";
data.recall.forEach(e => {
html += "<div class='entry'>" + e.entry + "</div>";
});
html += "</div>";
html += "<div class='section'><h2>⛏ Mining</h2>";
data.mining.forEach(e => {
html += "<div class='entry'>" + e.entry + "</div>";
});
html += "</div>";
document.getElementById("content").innerHTML = html;
});
</script>
</body>
</html>