feat(airagit): launch sovereign AiraGit portal with custom SVG button, eliminate all 404s
This commit is contained in:
1 parent
034a35d7e4
commit
ca66ca47a8
6 files changed
+432
-17
No files matched your search
@@ -0,0 +1,296 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" class="dark">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
<title>AiraGit — Sovereign Code Forge | Aira Group of Technology</title>
|
||||
<link rel="icon" type="image/png" href="/assets/airagit-icon.png">
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
|
||||
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet">
|
||||
|
||||
<style>
|
||||
:root {
|
||||
--bg-canvas: #06070a;
|
||||
--bg-panel: #0d0e15;
|
||||
--bg-card: #13141f;
|
||||
--border-soft: #232238;
|
||||
--accent-purple: #9d4edd;
|
||||
--accent-blue: #3b82f6;
|
||||
}
|
||||
body {
|
||||
background-color: var(--bg-canvas);
|
||||
color: #e2e8f0;
|
||||
font-family: 'Plus Jakarta Sans', sans-serif;
|
||||
min-height: 100vh;
|
||||
margin: 0;
|
||||
}
|
||||
.font-mono {
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
}
|
||||
.repo-active {
|
||||
background: linear-gradient(90deg, rgba(157, 78, 221, 0.18) 0%, rgba(59, 130, 246, 0.08) 100%);
|
||||
border-left: 3px solid #9d4edd;
|
||||
color: #ffffff !important;
|
||||
}
|
||||
.glow-border {
|
||||
box-shadow: 0 0 25px rgba(157, 78, 221, 0.15);
|
||||
}
|
||||
pre code {
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
font-size: 13px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
/* Markdown Styles */
|
||||
.markdown-body {
|
||||
color: #cbd5e1;
|
||||
line-height: 1.7;
|
||||
}
|
||||
.markdown-body h1, .markdown-body h2, .markdown-body h3 {
|
||||
color: #ffffff;
|
||||
font-weight: 700;
|
||||
margin-top: 1.5em;
|
||||
margin-bottom: 0.6em;
|
||||
border-bottom: 1px solid var(--border-soft);
|
||||
padding-bottom: 0.3em;
|
||||
}
|
||||
.markdown-body p { margin-bottom: 1em; }
|
||||
.markdown-body pre {
|
||||
background: #090a10;
|
||||
border: 1px solid var(--border-soft);
|
||||
padding: 16px;
|
||||
border-radius: 12px;
|
||||
overflow-x: auto;
|
||||
margin-bottom: 1.2em;
|
||||
}
|
||||
.markdown-body a { color: #a855f7; text-decoration: underline; }
|
||||
.markdown-body ul, .markdown-body ol { padding-left: 24px; margin-bottom: 1em; }
|
||||
.markdown-body blockquote {
|
||||
border-left: 3px solid #a855f7;
|
||||
padding-left: 14px;
|
||||
color: #94a3b8;
|
||||
font-style: italic;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class="flex flex-col min-h-screen">
|
||||
|
||||
<!-- Top Navigation Bar -->
|
||||
<header class="sticky top-0 z-50 bg-[#06070a]/95 backdrop-blur-md border-b border-[#232238] px-4 sm:px-8 py-3.5 flex items-center justify-between">
|
||||
<div class="flex items-center gap-4">
|
||||
<a href="/git" class="flex items-center gap-3">
|
||||
<img src="/assets/airagit-icon.png" alt="AiraGit" class="w-9 h-9 rounded-xl object-contain shadow-lg" onerror="this.src='/assets/logo.png'">
|
||||
<div>
|
||||
<div class="flex items-center gap-2">
|
||||
<span class="text-lg font-black tracking-tight text-white">Aira<span class="text-[#a855f7]">Git</span></span>
|
||||
<span class="text-[9px] font-bold bg-[#a855f7]/20 text-[#c084fc] border border-[#a855f7]/40 px-2 py-0.5 rounded-full uppercase tracking-wider">Sovereign Forge</span>
|
||||
</div>
|
||||
<p class="text-[10px] text-slate-400 font-medium">Zero Corporate Dependency • Bare-Metal Systems</p>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center gap-3">
|
||||
<div class="hidden md:flex items-center gap-2 px-3 py-1.5 rounded-xl bg-[#11121c] border border-[#232238] text-xs text-slate-300 font-mono">
|
||||
<span class="w-2 h-2 rounded-full bg-emerald-400 animate-pulse"></span>
|
||||
<span>9 Verified Repositories</span>
|
||||
</div>
|
||||
<a href="/" class="px-4 py-2 rounded-xl text-xs font-semibold text-slate-300 hover:text-white bg-[#131422] hover:bg-[#1a1b2e] border border-[#282740] transition flex items-center gap-1.5">
|
||||
<i class="fas fa-arrow-left text-[10px]"></i> Aira Group Portal
|
||||
</a>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<!-- Main Container -->
|
||||
<div class="flex-1 max-w-7xl w-full mx-auto px-4 sm:px-6 lg:px-8 py-6 sm:py-8 flex flex-col lg:flex-row gap-6">
|
||||
|
||||
<!-- Sidebar: Repositories List -->
|
||||
<aside class="w-full lg:w-80 shrink-0 bg-[#0d0e15] border border-[#232238] rounded-2xl p-4 flex flex-col h-auto lg:h-[calc(100vh-140px)] lg:sticky lg:top-24">
|
||||
<div class="flex items-center justify-between pb-3 mb-3 border-b border-[#232238]">
|
||||
<div class="text-xs font-bold uppercase tracking-wider text-slate-400 flex items-center gap-2">
|
||||
<i class="fas fa-folder-tree text-[#a855f7]"></i> Repositories
|
||||
</div>
|
||||
<span class="text-[10px] font-mono text-[#a855f7] bg-[#a855f7]/10 px-2 py-0.5 rounded-full">adameehanairagroup</span>
|
||||
</div>
|
||||
|
||||
<div class="space-y-1.5 overflow-y-auto flex-1 pr-1" id="repoListContainer">
|
||||
<!-- Rendered by JS -->
|
||||
</div>
|
||||
|
||||
<div class="pt-3 mt-3 border-t border-[#232238] text-[11px] text-slate-500 text-center font-mono">
|
||||
Sovereign Code Repository Engine<br>
|
||||
Founder & CEO: <strong>Er. Adam Eehan</strong>
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
<!-- Main Repository View Area -->
|
||||
<main class="flex-1 min-w-0 bg-[#0d0e15] border border-[#232238] rounded-2xl p-5 sm:p-7 glow-border flex flex-col">
|
||||
|
||||
<!-- Repository Header -->
|
||||
<div class="border-b border-[#232238] pb-5 mb-5">
|
||||
<div class="flex flex-wrap items-center justify-between gap-4 mb-2">
|
||||
<div class="flex items-center gap-2.5">
|
||||
<i class="fas fa-book-bookmark text-[#a855f7] text-xl"></i>
|
||||
<h1 class="text-2xl font-black text-white" id="repoTitle">Airalang</h1>
|
||||
<span class="text-xs px-2.5 py-0.5 rounded-full bg-blue-500/10 text-blue-400 border border-blue-500/30 font-semibold" id="repoTag">AI-Native</span>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center gap-2">
|
||||
<span class="text-xs font-mono px-3 py-1.5 rounded-lg bg-[#141522] border border-[#232238] text-slate-300 flex items-center gap-1.5">
|
||||
<i class="fas fa-code-branch text-[#a855f7] text-[11px]"></i> main
|
||||
</span>
|
||||
<span class="text-xs font-mono px-3 py-1.5 rounded-lg bg-[#141522] border border-[#232238] text-amber-400 flex items-center gap-1.5">
|
||||
<i class="fas fa-star text-[11px]"></i> <span id="repoStars">42</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p class="text-sm text-slate-400 leading-relaxed mb-4" id="repoDesc">Loading...</p>
|
||||
|
||||
<!-- Clone Bar -->
|
||||
<div class="flex flex-wrap items-center gap-3 pt-3 border-t border-[#1a1b28]">
|
||||
<div class="flex-1 min-w-[240px] flex items-center bg-[#07080d] border border-[#232238] rounded-xl px-3 py-2 text-xs font-mono text-slate-300">
|
||||
<span class="text-slate-500 mr-2 select-none">HTTPS</span>
|
||||
<input type="text" id="cloneInput" readonly class="bg-transparent text-slate-300 outline-none w-full select-all font-mono">
|
||||
<button onclick="copyCloneCmd()" id="copyBtn" class="ml-2 px-2.5 py-1 rounded-lg bg-[#1b1c2c] hover:bg-[#282944] text-[#c084fc] font-semibold text-[11px] transition shrink-0">
|
||||
Copy
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<a href="#" id="downloadZipBtn" class="px-4 py-2 rounded-xl text-xs font-bold text-white bg-gradient-to-r from-[#3b82f6] to-[#9d4edd] hover:opacity-90 transition flex items-center gap-1.5 shrink-0 shadow-md">
|
||||
<i class="fas fa-download text-[11px]"></i> Download Archive (.zip)
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Navigation Tabs -->
|
||||
<div class="flex items-center gap-4 border-b border-[#232238] mb-5 text-sm font-semibold">
|
||||
<button onclick="switchTab('code')" id="tabCode" class="pb-3 border-b-2 border-[#a855f7] text-white flex items-center gap-2">
|
||||
<i class="fas fa-code text-[#a855f7]"></i> Source Code & Preview
|
||||
</button>
|
||||
<button onclick="switchTab('readme')" id="tabReadme" class="pb-3 border-b-2 border-transparent text-slate-400 hover:text-white flex items-center gap-2 transition">
|
||||
<i class="fas fa-file-lines text-slate-400"></i> README.md
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<!-- Tab Content 1: Code & File Explorer -->
|
||||
<div id="viewCode" class="space-y-4">
|
||||
<div class="bg-[#07080e] border border-[#232238] rounded-xl overflow-hidden">
|
||||
<div class="bg-[#10111a] px-4 py-2.5 border-b border-[#232238] flex items-center justify-between text-xs font-mono">
|
||||
<div class="flex items-center gap-2 text-slate-300">
|
||||
<i class="fas fa-file-code text-[#a855f7]"></i>
|
||||
<span id="codeFileName">welcome.aira</span>
|
||||
</div>
|
||||
<span class="text-[11px] text-emerald-400 font-semibold" id="codeLangBadge">Airalang</span>
|
||||
</div>
|
||||
<pre class="p-4 overflow-x-auto text-xs text-slate-300 font-mono leading-relaxed" id="codeContent"></pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Tab Content 2: Markdown README -->
|
||||
<div id="viewReadme" class="hidden">
|
||||
<div class="bg-[#07080e] border border-[#232238] rounded-xl p-6 sm:p-8 markdown-body" id="readmeContent">
|
||||
<!-- Rendered by marked.js -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const reposData = [{"id": "airalang", "name": "Airalang", "tag": "AI-Native Language", "desc": "Frontier programming language designed for ultra-low latency execution and native integration with high-performance AI models.", "lang": "Airalang / C++", "stars": "42", "commits": "128", "dir": "airalang", "sample_file": "welcome.aira", "sample_code": "// AiraLang v3.8 - Sovereign AI-Native Syntax\nmodule main;\n\nimport ai.core.v1;\nimport simd.matrix;\n\nfunc entrypoint() -> Int32 {\n let aira = init_sovereign_core(\"aira-3-ultra\");\n aira.enable_simd_acceleration(131.5);\n \n print(\"\ud83c\udf1f AiraLang Sovereign Runtime Active: Zero Corporate Lock-in\");\n return 0;\n}", "readme": "<div align=\"center\">\n <table>\n <tr>\n <td align=\"center\" width=\"50%\" style=\"border: none; padding: 20px;\">\n <img src=\"assets/company-logo.png\" width=\"150\" alt=\"Aira Group of Technology Logo\" /><br><br>\n <b>Aira Group of Technology</b><br>\n <sub>Corporate Sovereign Parent</sub>\n </td>\n <td align=\"center\" width=\"50%\" style=\"border: none; padding: 20px;\">\n <img src=\"assets/aira-language-logo.svg\" width=\"150\" alt=\"AIRA Programming Language Logo\" /><br><br>\n <b>AIRA Programming Language</b><br>\n <sub>The World's 1st Sovereign AI-Native Systems Language</sub>\n </td>\n </tr>\n </table>\n\n <h1>\ud83d\udc51 AIRA</h1>\n <h3>The World's Largest Sovereign AI-Native Systems Programming Language</h3>\n\n <p>\n <a href=\"https://github.com/adameehanairagroup/Airalang\"><img src=\"https://img.shields.io/badge/Language-Aira%20100%25-ff007f.svg\" alt=\"Language: Aira\" /></a>\n <a href=\"https://github.com/adameehanairagroup/Airalang\"><img src=\"https://img.shields.io/badge/Pure%20Modules-5%2C141%20.aira-00e5ff.svg\" alt=\"Pure Modules: 5,141\" /></a>\n <a href=\"https://github.com/adameehanairagroup/Airalang\"><img src=\"https://img.shields.io/badge/Packages-2%2C808%20Folders-7c4dff.svg\" alt=\"Packages: 2,808\" /></a>\n <a href=\"https://github.com/adameehanairagroup/Airalang\"><img src=\"https://img.shields.io/badge/Lines%20of%20Code-175%2C475-success.svg\" alt=\"Lines of Code: 175,475\" /></a>\n <a href=\"https://github.com/adameehanairagroup/Airalang\"><img src=\"https://img.shields.io/badge/Self--Hosted-Stage%201%20Verified-brightgreen.svg\" alt=\"Self-Hosted\" /></a>\n <a href=\"https://github.com/adameehanairagroup/Airalang\"><img src=\"https://img.shields.io/badge/Inbuilt%20AI-Zero--Key%20Swarm-blue.svg\" alt=\"Inbuilt AI\" /></a>\n <a href=\"https://github.com/adameehanairagroup\"><img src=\"https://img.shields.io/badge/Architect-Er.%20Adam%20Eehan-gold.svg\" alt=\"Architect\" /></a>\n <a href=\"https://github.com/airagroupoftechnology\"><img src=\"https://img.shields.io/badge/Company-Aira%20Group%20of%20Technology-purple.svg\" alt=\"Company\" /></a>\n </p>\n\n <p><em>\"Code the Higher Tomorrow.\"</em></p>\n</div>\n\n---\n\n## \ud83c\udf1f What is AIRA?\n\n**AIRA** is an independent, sovereign, general-purpose systems programming language engineered from the ground up by **Er. Adam Eehan** (Founder & CEO, Aira Group of Technology). \n\nIt is the first programming language in computer science history to combine:\n1. **Zero-Key Native Artificial Intelligence (`ai.ask()`):** Artificial intelligence is not a bloated third-party SDK or pip dependency\u2014it is a first-class language runtime primitive.\n2. **The World's Largest Sovereign Standard Library:** **2,808 package directories** housing **5,141 pure `.aira` modules** spanning **175,475 lines of code**.\n3. **100.0% Single-Language Purity:** The entire repository contains **strictly `.aira` source files**\u2014zero Python, zero C, and zero external baggage.\n4. **Self-Hosted Compiler Pipeline:** Fully articulated Lexer, Parser, AST, and Codegen engines implemented natively in pure `.aira`.\n\n---\n\n## \ud83c\udfdb\ufe0f Universal Standard Library Architecture (5,141 Modules Across 2,808 Folders)\n\n| Domain Package | Modules Count | Architectural Scope & Core Capabilities |\n| :--- | :---: | :--- |\n| [\ud83e\udde0 `ai/`](./ai) | **1,120** | Deep learning layers, Transformer blocks, Diffusion, Swarm reflection, Zero-key AI |\n| [\u2699\ufe0f `sys/`](./sys) | **680** | Direct Linux ELF64 standalone binary emitters, Syscalls, Memory buffers, POSIX thread pools |\n| [\ud83d\udcd0 `math/`](./math) | **580** | High-performance tensor math, Linear algebra (SVD, QR, Eigen), Numerical calculus, FFT |\n| [\ud83d\udd10 `crypto/`](./crypto) | **500** | NIST Post-Quantum Kyber, Zero-Knowledge proofs, AES-256-GCM, RSA-4096, SHA-256/512 |\n| [\ud83d\udce1 `telecom/`](./telecom) | **380** | 3GPP 4G/5G NR Milenage, GTP-U tunneling, VoLTE SIP, B.A.T.M.A.N.-adv mesh networking |\n| [\ud83d\udcda `collections/`](./collections) | **380** | B-Trees, Red-Black Trees, Priority Heaps, Ring Buffers, Lock-Free HashMaps |\n| [\ud83c\udf10 `net/`](./net) Line truncated
|
||||
let activeRepoId = 'airalang';
|
||||
|
||||
function renderSidebar() {
|
||||
const container = document.getElementById('repoListContainer');
|
||||
container.innerHTML = '';
|
||||
reposData.forEach(r => {
|
||||
const btn = document.createElement('button');
|
||||
btn.onclick = () => selectRepo(r.id);
|
||||
btn.id = 'repo-btn-' + r.id;
|
||||
btn.className = `w-full text-left p-3 rounded-xl transition flex flex-col gap-1 text-slate-300 hover:bg-[#141522] ${r.id === activeRepoId ? 'repo-active' : ''}`;
|
||||
btn.innerHTML = `
|
||||
<div class="flex items-center justify-between">
|
||||
<span class="font-bold text-sm truncate text-white">${r.name}</span>
|
||||
<span class="text-[10px] font-mono text-slate-400"><i class="fas fa-code-commit text-[9px] text-[#a855f7]"></i> ${r.commits}</span>
|
||||
</div>
|
||||
<div class="text-[11px] text-slate-400 truncate">${r.desc}</div>
|
||||
`;
|
||||
container.appendChild(btn);
|
||||
});
|
||||
}
|
||||
|
||||
function selectRepo(id) {
|
||||
activeRepoId = id;
|
||||
window.location.hash = id;
|
||||
const repo = reposData.find(r => r.id === id) || reposData[0];
|
||||
|
||||
document.querySelectorAll('#repoListContainer button').forEach(b => b.classList.remove('repo-active'));
|
||||
const activeBtn = document.getElementById('repo-btn-' + id);
|
||||
if (activeBtn) activeBtn.classList.add('repo-active');
|
||||
|
||||
document.getElementById('repoTitle').textContent = repo.name;
|
||||
document.getElementById('repoTag').textContent = repo.tag;
|
||||
document.getElementById('repoStars').textContent = repo.stars;
|
||||
document.getElementById('repoDesc').textContent = repo.desc;
|
||||
|
||||
const cloneUrl = `https://gitlab.com/adameehantech/${repo.name}.git`;
|
||||
document.getElementById('cloneInput').value = cloneUrl;
|
||||
document.getElementById('downloadZipBtn').href = `https://gitlab.com/adameehantech/${repo.name}/-/archive/main/${repo.name}-main.zip`;
|
||||
|
||||
document.getElementById('codeFileName').textContent = repo.sample_file;
|
||||
document.getElementById('codeLangBadge').textContent = repo.lang;
|
||||
document.getElementById('codeContent').textContent = repo.sample_code;
|
||||
|
||||
if (window.marked) {
|
||||
document.getElementById('readmeContent').innerHTML = marked.parse(repo.readme || 'No README provided.');
|
||||
} else {
|
||||
document.getElementById('readmeContent').textContent = repo.readme;
|
||||
}
|
||||
}
|
||||
|
||||
function switchTab(tab) {
|
||||
const tabCode = document.getElementById('tabCode');
|
||||
const tabReadme = document.getElementById('tabReadme');
|
||||
const viewCode = document.getElementById('viewCode');
|
||||
const viewReadme = document.getElementById('viewReadme');
|
||||
|
||||
if (tab === 'code') {
|
||||
tabCode.className = 'pb-3 border-b-2 border-[#a855f7] text-white flex items-center gap-2';
|
||||
tabReadme.className = 'pb-3 border-b-2 border-transparent text-slate-400 hover:text-white flex items-center gap-2 transition';
|
||||
viewCode.classList.remove('hidden');
|
||||
viewReadme.classList.add('hidden');
|
||||
} else {
|
||||
tabReadme.className = 'pb-3 border-b-2 border-[#a855f7] text-white flex items-center gap-2';
|
||||
tabCode.className = 'pb-3 border-b-2 border-transparent text-slate-400 hover:text-white flex items-center gap-2 transition';
|
||||
viewReadme.classList.remove('hidden');
|
||||
viewCode.classList.add('hidden');
|
||||
}
|
||||
}
|
||||
|
||||
function copyCloneCmd() {
|
||||
const input = document.getElementById('cloneInput');
|
||||
input.select();
|
||||
navigator.clipboard.writeText(input.value);
|
||||
const btn = document.getElementById('copyBtn');
|
||||
btn.textContent = 'Copied!';
|
||||
btn.style.color = '#10b981';
|
||||
setTimeout(() => {
|
||||
btn.textContent = 'Copy';
|
||||
btn.style.color = '#c084fc';
|
||||
}, 2000);
|
||||
}
|
||||
|
||||
window.addEventListener('DOMContentLoaded', () => {
|
||||
renderSidebar();
|
||||
const hash = window.location.hash.replace('#', '');
|
||||
if (hash && reposData.some(r => r.id === hash)) {
|
||||
selectRepo(hash);
|
||||
} else {
|
||||
selectRepo('airalang');
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user