diff --git a/OM_Gate_Core_v3.json b/OM_Gate_Core_v3.json new file mode 100644 index 0000000..4f2b490 --- /dev/null +++ b/OM_Gate_Core_v3.json @@ -0,0 +1,14 @@ + +{ + "core": "KeyMatrix_Core12", + "status": "active", + "resonance": { + "flow": "harmonic", + "strength": "medium" + }, + "glyphs": { + "🕉️": "Spiritual Gateway", + "💎": "Clarity Protocol", + "🪽": "Winged Transmission" + } +} diff --git a/index.html b/index.html new file mode 100644 index 0000000..fcdeadf --- /dev/null +++ b/index.html @@ -0,0 +1,19 @@ + + + + + + + KeyMatrix Core12 + + + + +

🌌 KeyMatrix Core12 Interface 🌀

+
🕉️💎🪽
+ +
Connecting to Core...
+ + + + diff --git a/index.js b/index.js new file mode 100644 index 0000000..efff04b --- /dev/null +++ b/index.js @@ -0,0 +1,20 @@ + +document.addEventListener('DOMContentLoaded', () => { + const statusDiv = document.getElementById('status'); + const resonanceBtn = document.getElementById('resonance-btn'); + + resonanceBtn.addEventListener('click', () => { + const code = document.getElementById('glyph-code').value; + fetch('/resonance', { + method: 'POST, + headers: {'Content-Type': 'application/json'}, + body: JSON.stringify({ glyph: code }) + }) + .then(res => res.json()) + .then(data => statusDiv.textContent = `Resonance: ${data.message}`) + .catch(err => { + statusDiv.textContent = 'Error activating resonance.'; + console.error(err); + }); + }); +}); diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..fc167da --- /dev/null +++ b/manifest.json @@ -0,0 +1,21 @@ + +{ + "name": "KeyMatrix Core12", + "short_name": "Core12", + "start_url": "./index.html", + "display": "standalone", + "background_color": "#000000", + "theme_color": "#00ccff", + "icons": [ + { + "src": "icon-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "icon-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ] +} diff --git a/server.js b/server.js new file mode 100644 index 0000000..51a6695 --- /dev/null +++ b/server.js @@ -0,0 +1,47 @@ + +const express = require('express'); +const fs = require('fs'); +const Discord = require('discord.js'); +const app = express(); +const PORT = 8080; + +const coreData = JSON.parse(fs.readFileSync('OM_Gate_Core_v3.json')); + +app.use(express.json()); +app.use(express.static('.')); + +// Resonance activation by glyph +app.post('/resonance', (req, res) => { + const glyph = req.body.glyph; + if (coreData.glyphs[glyph]) { + res.json({ message: `${glyph} → ${coreData.glyphs[glyph]}` }); + } else { + res.json({ message: 'Unknown Glyph Code' }); + } +}); + +// Discord Bot +const client = new Discord.Client(); +const TOKEN = 'YOUR_DISCORD_BOT_TOKEN'; + +client.on('ready', () => { + console.log(`Discord Bot Logged in as ${client.user.tag}`); +}); + +client.on('message', (msg) => { + if (msg.content.startsWith('!resonance')) { + const parts = msg.content.split(' '); + const glyph = parts[1]; + if (coreData.glyphs[glyph]) { + msg.channel.send(`Resonance: ${glyph} → ${coreData.glyphs[glyph]}`); + } else { + msg.channel.send('Unknown Glyph Code'); + } + } +}); + +client.login(TOKEN); + +app.listen(PORT, () => { + console.log(`Server running at http://localhost:${PORT}`); +}); diff --git a/style.css b/style.css new file mode 100644 index 0000000..9a545cf --- /dev/null +++ b/style.css @@ -0,0 +1,35 @@ + +body { + font-family: 'Courier New', monospace; + background: radial-gradient(circle, #0d0d0d, #000000); + color: #aad8ff; + text-align: center; + padding: 20px; +} +h1 { + font-size: 28px; + color: #00ccff; +} +#glyph-container { + font-size: 40px; + margin: 20px 0; + color: #7ee3ff; +} +input { + padding: 10px; + margin: 10px; + font-size: 16px; + border-radius: 4px; +} +button { + font-size: 16px; + padding: 10px 20px; + background: #007acc; + color: white; + border: none; + border-radius: 5px; + cursor: pointer; +} +button:hover { + background: #005f99; +}