TelegramGuard / index.html
ilang-ai
v4.5: HF Space → static promo page + Cloud Run as recommended deploy
f194fc6
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TelegramGuard — AI Group Guardian</title>
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&family=Outfit:wght@300;400;600;800&display=swap" rel="stylesheet">
<style>
:root{--bg:#07080A;--surface:#0F1114;--border:#1A1D23;--text:#E8E8EA;--dim:#6B7080;--accent:#3B82F6;--accent2:#06D6A0;--glow:rgba(59,130,246,0.15)}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--text);font-family:'Outfit',sans-serif;overflow-x:hidden}
.grid-bg{position:fixed;inset:0;z-index:0;background-image:linear-gradient(rgba(59,130,246,0.03) 1px,transparent 1px),linear-gradient(90deg,rgba(59,130,246,0.03) 1px,transparent 1px);background-size:60px 60px;animation:gridShift 20s linear infinite}
@keyframes gridShift{0%{transform:translate(0,0)}100%{transform:translate(60px,60px)}}
.orb{position:fixed;border-radius:50%;filter:blur(120px);opacity:0.4;z-index:0;pointer-events:none}
.orb-1{width:500px;height:500px;background:var(--accent);top:-200px;left:-100px;animation:f1 15s ease-in-out infinite}
.orb-2{width:400px;height:400px;background:var(--accent2);bottom:-150px;right:-100px;animation:f2 18s ease-in-out infinite}
@keyframes f1{0%,100%{transform:translate(0,0)}50%{transform:translate(80px,60px)}}
@keyframes f2{0%,100%{transform:translate(0,0)}50%{transform:translate(-60px,-40px)}}
.container{position:relative;z-index:1;max-width:900px;margin:0 auto;padding:0 24px}
.hero{min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:80px 0}
.shield{font-size:80px;margin-bottom:24px;animation:pulse 3s ease-in-out infinite}
@keyframes pulse{0%,100%{transform:scale(1);filter:drop-shadow(0 0 20px rgba(59,130,246,0.3))}50%{transform:scale(1.05);filter:drop-shadow(0 0 40px rgba(59,130,246,0.6))}}
h1{font-size:clamp(2.5rem,6vw,4.5rem);font-weight:800;letter-spacing:-0.03em;line-height:1.1;margin-bottom:20px}
h1 span{color:var(--accent)}
.subtitle{font-size:clamp(1rem,2.5vw,1.3rem);color:var(--dim);font-weight:300;max-width:560px;line-height:1.6;margin-bottom:40px}
.cta-row{display:flex;gap:16px;flex-wrap:wrap;justify-content:center}
.btn{display:inline-flex;align-items:center;gap:8px;padding:14px 28px;border-radius:12px;font-family:'Outfit',sans-serif;font-size:1rem;font-weight:600;text-decoration:none;transition:all 0.3s;cursor:pointer;border:none}
.btn-primary{background:var(--accent);color:#fff;box-shadow:0 0 30px rgba(59,130,246,0.3)}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 0 50px rgba(59,130,246,0.5)}
.btn-outline{background:transparent;color:var(--text);border:1px solid var(--border)}
.btn-outline:hover{border-color:var(--accent);color:var(--accent)}
section{padding:100px 0}
.section-label{font-family:'JetBrains Mono',monospace;font-size:0.75rem;color:var(--accent);text-transform:uppercase;letter-spacing:0.15em;margin-bottom:12px}
h2{font-size:clamp(1.8rem,4vw,2.8rem);font-weight:800;letter-spacing:-0.02em;margin-bottom:48px}
.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}
.card{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:32px 24px;transition:all 0.3s}
.card:hover{border-color:var(--accent);transform:translateY(-4px);box-shadow:0 20px 60px rgba(0,0,0,0.3)}
.card-icon{font-size:2rem;margin-bottom:16px}
.card h3{font-size:1.15rem;font-weight:600;margin-bottom:8px}
.card p{color:var(--dim);font-size:0.95rem;line-height:1.6}
.steps{display:flex;flex-direction:column;gap:24px}
.step{display:flex;gap:20px;align-items:flex-start;padding:24px;background:var(--surface);border:1px solid var(--border);border-radius:16px;transition:all 0.3s}
.step:hover{border-color:var(--accent2)}
.step-num{font-family:'JetBrains Mono',monospace;font-size:1.5rem;font-weight:700;color:var(--accent2);min-width:40px}
.step h3{font-size:1.05rem;font-weight:600;margin-bottom:6px}
.step p{color:var(--dim);font-size:0.9rem;line-height:1.5}
.code-block{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:24px;overflow-x:auto;margin:32px 0}
.code-block pre{font-family:'JetBrains Mono',monospace;font-size:0.85rem;line-height:1.7;color:var(--dim)}
.kw{color:var(--accent)}.str{color:var(--accent2)}.cmt{color:#4A5060}
.deploy-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-top:32px}
.deploy-card{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:28px 24px;text-align:center;transition:all 0.3s}
.deploy-card:hover{border-color:var(--accent);transform:translateY(-3px)}
.deploy-card .icon{font-size:2.5rem;margin-bottom:16px}
.deploy-card h3{font-size:1.1rem;margin-bottom:8px}
.deploy-card p{color:var(--dim);font-size:0.85rem;line-height:1.5}
.tag{display:inline-block;margin-top:12px;padding:4px 12px;border-radius:20px;font-size:0.75rem;font-weight:600}
.tag-free{background:rgba(6,214,160,0.15);color:var(--accent2)}
.tag-rec{background:rgba(59,130,246,0.15);color:var(--accent)}
footer{padding:60px 0;text-align:center;border-top:1px solid var(--border)}
footer a{color:var(--accent);text-decoration:none}
footer a:hover{text-decoration:underline}
footer p{color:var(--dim);font-size:0.85rem;margin-top:12px}
.fade-up{opacity:0;transform:translateY(30px);animation:fadeUp 0.8s ease forwards}
@keyframes fadeUp{to{opacity:1;transform:translateY(0)}}
.d1{animation-delay:.1s}.d2{animation-delay:.2s}.d3{animation-delay:.3s}.d4{animation-delay:.4s}.d5{animation-delay:.5s}
</style>
</head>
<body>
<div class="grid-bg"></div>
<div class="orb orb-1"></div>
<div class="orb orb-2"></div>
<div class="container">
<section class="hero">
<div class="shield fade-up">🛡️</div>
<h1 class="fade-up d1">Telegram<span>Guard</span></h1>
<p class="subtitle fade-up d2">AI group guardian that actually answers your questions.<br>Anti-spam. Vision. Chat. No topic off-limits.</p>
<div class="cta-row fade-up d3">
<a href="https://t.me/iLangGuardBot" class="btn btn-primary">⚡ Add to Group</a>
<a href="https://github.com/ilang-ai/TelegramGuard" class="btn btn-outline">GitHub →</a>
</div>
</section>
<section>
<div class="section-label fade-up">::GENE_IMMUTABLE</div>
<h2 class="fade-up d1">Core Capabilities</h2>
<div class="features">
<div class="card fade-up d2"><div class="card-icon">🚫</div><h3>Anti-Spam</h3><p>AI three-step analysis. Detects ads, scams, crypto spam. Sees through Unicode tricks and emoji stuffing. Repeat flooding caught with zero AI cost.</p></div>
<div class="card fade-up d3"><div class="card-icon">👁️</div><h3>Vision</h3><p>Reads images and video thumbnails. Catches image-based spam. In chat mode, sees the story behind the photo.</p></div>
<div class="card fade-up d4"><div class="card-icon">💬</div><h3>Street-Smart Chat</h3><p>@ the bot in any group. Multilingual. Finance, tech, relationships, culture. Answers first, lectures never.</p></div>
</div>
</section>
<section>
<div class="section-label fade-up">::IMMUNE{THREE_STEP}</div>
<h2 class="fade-up d1">What Makes It Different</h2>
<p class="fade-up d2" style="color:var(--dim);margin-bottom:32px;max-width:600px;">Most bots refuse sensitive questions. TelegramGuard handles them like a street-smart friend:</p>
<div class="steps">
<div class="step fade-up d2"><div class="step-num">01</div><div><h3>Insider Risks</h3><p>Shares what actually goes wrong: scams, traps, how people get burned. Street knowledge, not lectures.</p></div></div>
<div class="step fade-up d3"><div class="step-num">02</div><div><h3>Reality Check</h3><p>"Asking out of curiosity, or actually considering it?" Exit ramp without judgment.</p></div></div>
<div class="step fade-up d4"><div class="step-num">03</div><div><h3>Direction</h3><p>If you persist, gives enough info to make smart decisions while being clear about consequences.</p></div></div>
</div>
</section>
<section>
<div class="section-label fade-up">::ILANG:SOUL+PUBLIC</div>
<h2 class="fade-up d1">Powered by I-Lang Prompt Spec</h2>
<p class="fade-up d2" style="color:var(--dim);margin-bottom:16px;max-width:600px;">The bot's personality lives in <code style="color:var(--accent)">.ilang</code> files. Each <code style="color:var(--accent)">::GENE</code> defines a behavior. Change the genes, change the bot.</p>
<div class="code-block fade-up d3">
<pre><span class="kw">::GENE_IMMUTABLE</span>{S001, T:<span class="str">ANTI_COLLAPSE</span>, A:MORAL_PANIC⇒LETHAL, G:ALL, Θ:ALWAYS}
<span class="cmt"># When user raises grey topics: don't panic, analyze objectively.</span>
<span class="kw">::GENE_MUTABLE</span>{P003, T:<span class="str">TONE_MIRROR</span>, G:adaptive, Θ:INTERLOCUTOR}
<span class="cmt"># User serious → serious. User joking → play along.</span>
<span class="kw">::IMMUNE</span>{RISKY_OR_ILLEGAL, <span class="str">THREE_STEP_RESPONSE</span>}
<span class="cmt"># Step 1: Insider risks Step 2: Reality check Step 3: Direction</span></pre>
</div>
<a href="https://ilang.ai" class="btn btn-outline fade-up d4">Learn I-Lang Spec →</a>
</section>
<section>
<div class="section-label fade-up">Deploy</div>
<h2 class="fade-up d1">Run Your Own</h2>
<div class="deploy-grid">
<div class="deploy-card fade-up d2"><div class="icon">☁️</div><h3>Google Cloud Run</h3><p>Serverless. Auto-scales. Webhook mode. Always hot.</p><span class="tag tag-rec">Recommended</span></div>
<div class="deploy-card fade-up d3"><div class="icon">🖥️</div><h3>VPS (One Command)</h3><p><code style="font-size:0.75rem">curl ... | sudo bash</code><br>Clone, install, configure, start.</p><span class="tag tag-free">$6/mo</span></div>
<div class="deploy-card fade-up d4"><div class="icon">📦</div><h3>Manual / Docker</h3><p>Clone the repo, pip install, set 2 env vars, run.</p><span class="tag tag-free">Free</span></div>
</div>
</section>
<footer>
<a href="https://ilang.ai" style="font-size:1.2rem;font-weight:600;">I-Lang Prompt Spec</a>
<p>Structured AI instructions using genetic code.<br><a href="https://github.com/ilang-ai/ilang-spec">Spec</a> · <a href="https://github.com/ilang-ai/TelegramGuard">GitHub</a> · <a href="https://huggingface.co/i-Lang">HuggingFace</a></p>
<p style="margin-top:20px;">MIT · <a href="https://eastsoft.com">Eastsoft Inc.</a> · <a href="https://research.ilang.ai">I-Lang Research</a></p>
</footer>
</div>
</body>
</html>