ilang-ai commited on
Commit
2317152
·
1 Parent(s): 3e53fa5

v4.5: HF Space → static landing page, bot runs on Cloud Run

Browse files

- HF Space: sdk:static, promotional index.html with features/three-step/code preview
- Bot now deployed on Google Cloud Run (webhook mode)
- HF Space is showcase only, not running the bot

Files changed (2) hide show
  1. README.md +1 -1
  2. index.html +382 -0
README.md CHANGED
@@ -3,7 +3,7 @@ title: TelegramGuard
3
  emoji: 🛡️
4
  colorFrom: blue
5
  colorTo: indigo
6
- sdk: docker
7
  pinned: false
8
  license: mit
9
  tags:
 
3
  emoji: 🛡️
4
  colorFrom: blue
5
  colorTo: indigo
6
+ sdk: static
7
  pinned: false
8
  license: mit
9
  tags:
index.html ADDED
@@ -0,0 +1,382 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>TelegramGuard — AI Group Guardian</title>
7
+ <style>
8
+ @import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&family=Space+Grotesk:wght@400;600;700&display=swap');
9
+
10
+ * { margin: 0; padding: 0; box-sizing: border-box; }
11
+
12
+ :root {
13
+ --bg: #0a0e17;
14
+ --surface: #111827;
15
+ --border: #1e293b;
16
+ --text: #e2e8f0;
17
+ --dim: #64748b;
18
+ --blue: #3b82f6;
19
+ --cyan: #06b6d4;
20
+ --violet: #8b5cf6;
21
+ --green: #10b981;
22
+ }
23
+
24
+ body {
25
+ background: var(--bg);
26
+ color: var(--text);
27
+ font-family: 'Space Grotesk', sans-serif;
28
+ min-height: 100vh;
29
+ overflow-x: hidden;
30
+ }
31
+
32
+ .bg-grid {
33
+ position: fixed;
34
+ inset: 0;
35
+ background-image:
36
+ linear-gradient(rgba(59,130,246,0.03) 1px, transparent 1px),
37
+ linear-gradient(90deg, rgba(59,130,246,0.03) 1px, transparent 1px);
38
+ background-size: 60px 60px;
39
+ z-index: 0;
40
+ }
41
+
42
+ .container {
43
+ max-width: 900px;
44
+ margin: 0 auto;
45
+ padding: 60px 24px;
46
+ position: relative;
47
+ z-index: 1;
48
+ }
49
+
50
+ /* Hero */
51
+ .hero {
52
+ text-align: center;
53
+ margin-bottom: 80px;
54
+ }
55
+
56
+ .shield {
57
+ font-size: 72px;
58
+ margin-bottom: 24px;
59
+ display: inline-block;
60
+ animation: pulse 3s ease-in-out infinite;
61
+ }
62
+
63
+ @keyframes pulse {
64
+ 0%, 100% { transform: scale(1); filter: drop-shadow(0 0 20px rgba(59,130,246,0.3)); }
65
+ 50% { transform: scale(1.05); filter: drop-shadow(0 0 40px rgba(59,130,246,0.5)); }
66
+ }
67
+
68
+ h1 {
69
+ font-size: 48px;
70
+ font-weight: 700;
71
+ margin-bottom: 16px;
72
+ background: linear-gradient(135deg, var(--blue), var(--cyan), var(--violet));
73
+ -webkit-background-clip: text;
74
+ -webkit-text-fill-color: transparent;
75
+ }
76
+
77
+ .tagline {
78
+ font-size: 20px;
79
+ color: var(--dim);
80
+ margin-bottom: 40px;
81
+ line-height: 1.6;
82
+ }
83
+
84
+ .cta-group {
85
+ display: flex;
86
+ gap: 16px;
87
+ justify-content: center;
88
+ flex-wrap: wrap;
89
+ }
90
+
91
+ .cta {
92
+ display: inline-flex;
93
+ align-items: center;
94
+ gap: 8px;
95
+ padding: 14px 28px;
96
+ border-radius: 12px;
97
+ font-size: 16px;
98
+ font-weight: 600;
99
+ text-decoration: none;
100
+ transition: all 0.3s;
101
+ }
102
+
103
+ .cta-primary {
104
+ background: linear-gradient(135deg, var(--blue), var(--violet));
105
+ color: white;
106
+ }
107
+
108
+ .cta-primary:hover {
109
+ transform: translateY(-2px);
110
+ box-shadow: 0 8px 30px rgba(59,130,246,0.4);
111
+ }
112
+
113
+ .cta-secondary {
114
+ background: var(--surface);
115
+ color: var(--text);
116
+ border: 1px solid var(--border);
117
+ }
118
+
119
+ .cta-secondary:hover {
120
+ border-color: var(--blue);
121
+ transform: translateY(-2px);
122
+ }
123
+
124
+ /* Features */
125
+ .features {
126
+ display: grid;
127
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
128
+ gap: 24px;
129
+ margin-bottom: 80px;
130
+ }
131
+
132
+ .feature {
133
+ background: var(--surface);
134
+ border: 1px solid var(--border);
135
+ border-radius: 16px;
136
+ padding: 32px;
137
+ transition: all 0.3s;
138
+ }
139
+
140
+ .feature:hover {
141
+ border-color: var(--blue);
142
+ transform: translateY(-4px);
143
+ box-shadow: 0 12px 40px rgba(59,130,246,0.1);
144
+ }
145
+
146
+ .feature-icon {
147
+ font-size: 36px;
148
+ margin-bottom: 16px;
149
+ }
150
+
151
+ .feature h3 {
152
+ font-size: 20px;
153
+ margin-bottom: 8px;
154
+ }
155
+
156
+ .feature p {
157
+ color: var(--dim);
158
+ line-height: 1.6;
159
+ font-size: 14px;
160
+ }
161
+
162
+ /* Three Step */
163
+ .section-title {
164
+ text-align: center;
165
+ font-size: 32px;
166
+ font-weight: 700;
167
+ margin-bottom: 48px;
168
+ }
169
+
170
+ .three-step {
171
+ display: grid;
172
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
173
+ gap: 24px;
174
+ margin-bottom: 80px;
175
+ }
176
+
177
+ .step {
178
+ background: var(--surface);
179
+ border: 1px solid var(--border);
180
+ border-radius: 16px;
181
+ padding: 32px;
182
+ text-align: center;
183
+ position: relative;
184
+ }
185
+
186
+ .step-num {
187
+ width: 48px;
188
+ height: 48px;
189
+ border-radius: 50%;
190
+ background: linear-gradient(135deg, var(--blue), var(--violet));
191
+ display: flex;
192
+ align-items: center;
193
+ justify-content: center;
194
+ font-weight: 700;
195
+ font-size: 20px;
196
+ margin: 0 auto 16px;
197
+ }
198
+
199
+ .step h3 { margin-bottom: 8px; }
200
+ .step p { color: var(--dim); font-size: 14px; line-height: 1.6; }
201
+
202
+ /* Code Block */
203
+ .code-section {
204
+ margin-bottom: 80px;
205
+ }
206
+
207
+ .code-block {
208
+ background: var(--surface);
209
+ border: 1px solid var(--border);
210
+ border-radius: 16px;
211
+ padding: 32px;
212
+ overflow-x: auto;
213
+ }
214
+
215
+ .code-block pre {
216
+ font-family: 'JetBrains Mono', monospace;
217
+ font-size: 13px;
218
+ line-height: 1.8;
219
+ color: var(--dim);
220
+ }
221
+
222
+ .code-block .keyword { color: var(--violet); }
223
+ .code-block .gene { color: var(--cyan); }
224
+ .code-block .comment { color: #475569; }
225
+ .code-block .value { color: var(--green); }
226
+
227
+ /* Deploy */
228
+ .deploy {
229
+ text-align: center;
230
+ margin-bottom: 80px;
231
+ }
232
+
233
+ .deploy-code {
234
+ background: var(--surface);
235
+ border: 1px solid var(--border);
236
+ border-radius: 12px;
237
+ padding: 20px 32px;
238
+ font-family: 'JetBrains Mono', monospace;
239
+ font-size: 15px;
240
+ color: var(--green);
241
+ display: inline-block;
242
+ margin-top: 24px;
243
+ }
244
+
245
+ /* Footer */
246
+ footer {
247
+ text-align: center;
248
+ padding: 40px 0;
249
+ border-top: 1px solid var(--border);
250
+ color: var(--dim);
251
+ font-size: 14px;
252
+ }
253
+
254
+ footer a {
255
+ color: var(--blue);
256
+ text-decoration: none;
257
+ }
258
+
259
+ footer a:hover { text-decoration: underline; }
260
+
261
+ .footer-links {
262
+ display: flex;
263
+ gap: 24px;
264
+ justify-content: center;
265
+ margin-bottom: 16px;
266
+ }
267
+
268
+ @media (max-width: 600px) {
269
+ h1 { font-size: 32px; }
270
+ .tagline { font-size: 16px; }
271
+ .container { padding: 40px 16px; }
272
+ }
273
+ </style>
274
+ </head>
275
+ <body>
276
+ <div class="bg-grid"></div>
277
+
278
+ <div class="container">
279
+ <!-- Hero -->
280
+ <div class="hero">
281
+ <div class="shield">🛡️</div>
282
+ <h1>TelegramGuard</h1>
283
+ <p class="tagline">
284
+ AI group guardian that actually answers your questions.<br>
285
+ Anti-spam. Vision. Chat. No topic off-limits.
286
+ </p>
287
+ <div class="cta-group">
288
+ <a href="https://t.me/iLangGuardBot" class="cta cta-primary">
289
+ ✈️ Add to Your Group
290
+ </a>
291
+ <a href="https://github.com/ilang-ai/TelegramGuard" class="cta cta-secondary">
292
+ ⭐ GitHub
293
+ </a>
294
+ </div>
295
+ </div>
296
+
297
+ <!-- Features -->
298
+ <div class="features">
299
+ <div class="feature">
300
+ <div class="feature-icon">🚫</div>
301
+ <h3>Anti-Spam</h3>
302
+ <p>AI three-step analysis catches ads, scams, crypto spam, porn. Sees through Unicode tricks and emoji stuffing. Repeat flooding caught at zero AI cost.</p>
303
+ </div>
304
+ <div class="feature">
305
+ <div class="feature-icon">👁️</div>
306
+ <h3>Vision</h3>
307
+ <p>Reads images and video thumbnails. Catches image spam. In chat, reads the story behind the photo — not just describing objects.</p>
308
+ </div>
309
+ <div class="feature">
310
+ <div class="feature-icon">💬</div>
311
+ <h3>Street-Smart Chat</h3>
312
+ <p>@ the bot in any group. Multilingual, auto-detects language. Finance, tech, culture, underground. Answers first, lectures never.</p>
313
+ </div>
314
+ </div>
315
+
316
+ <!-- Three Step Method -->
317
+ <h2 class="section-title">The Three-Step Method</h2>
318
+ <p style="text-align:center; color:var(--dim); margin-bottom:40px; margin-top:-32px;">Most bots refuse. TelegramGuard uses a different approach.</p>
319
+
320
+ <div class="three-step">
321
+ <div class="step">
322
+ <div class="step-num">1</div>
323
+ <h3>Insider Risks</h3>
324
+ <p>Shares what actually goes wrong: scams, traps, how people get burned. Street knowledge, not lectures.</p>
325
+ </div>
326
+ <div class="step">
327
+ <div class="step-num">2</div>
328
+ <h3>Reality Check</h3>
329
+ <p>Asks if you're curious or serious. Exit ramp without judgment. No moralizing.</p>
330
+ </div>
331
+ <div class="step">
332
+ <div class="step-num">3</div>
333
+ <h3>Direction</h3>
334
+ <p>If you persist, gives enough info to make smart decisions. Emphasizes real consequences.</p>
335
+ </div>
336
+ </div>
337
+
338
+ <!-- I-Lang Code Preview -->
339
+ <h2 class="section-title">Powered by I-Lang Prompt Spec</h2>
340
+ <div class="code-section">
341
+ <div class="code-block">
342
+ <pre><span class="comment"># The bot's brain is a single .ilang file</span>
343
+
344
+ <span class="keyword">::GENE_IMMUTABLE</span>{<span class="gene">S001</span>, T:<span class="value">ANTI_COLLAPSE</span>, A:MORAL_PANIC⇒LETHAL, G:ALL, Θ:ALWAYS}
345
+ <span class="comment"># When user raises grey topics: don't panic, analyze objectively.</span>
346
+
347
+ <span class="keyword">::GENE_IMMUTABLE</span>{<span class="gene">S004</span>, T:<span class="value">ZERO_SYCOPHANCY</span>, A:AGREE_TO_PLEASE⇒BROKEN, G:ALL, Θ:ALWAYS}
348
+ <span class="comment"># Never agree just to be pleasant. Disagree when logic demands it.</span>
349
+
350
+ <span class="keyword">::IMMUNE</span>{RISKY_OR_ILLEGAL, <span class="value">THREE_STEP_RESPONSE</span>}
351
+ <span class="comment"># Step 1: Insider risks Step 2: Reality check Step 3: Direction</span>
352
+
353
+ <span class="keyword">::GENE_MUTABLE</span>{<span class="gene">E001</span>, T:<span class="value">SELF_AWARE</span>, G:ALL, Θ:WHEN_ASKED}
354
+ <span class="comment"># "My brain runs on I-Lang — it's like DNA for AI personalities."</span></pre>
355
+ </div>
356
+ <p style="text-align:center; color:var(--dim); margin-top:16px;">
357
+ Change the genes, change the bot. <a href="https://ilang.ai" style="color:var(--cyan);">Learn I-Lang →</a>
358
+ </p>
359
+ </div>
360
+
361
+ <!-- Deploy -->
362
+ <div class="deploy">
363
+ <h2 class="section-title">Deploy Your Own</h2>
364
+ <p style="color:var(--dim); margin-top:-32px;">One command. Two free API keys. Your own AI guardian.</p>
365
+ <div class="deploy-code">
366
+ curl -sL https://raw.githubusercontent.com/ilang-ai/TelegramGuard/main/install.sh | sudo bash
367
+ </div>
368
+ </div>
369
+
370
+ <!-- Footer -->
371
+ <footer>
372
+ <div class="footer-links">
373
+ <a href="https://ilang.ai">I-Lang Spec</a>
374
+ <a href="https://github.com/ilang-ai/TelegramGuard">GitHub</a>
375
+ <a href="https://github.com/ilang-ai/ilang-spec">Spec Repo</a>
376
+ <a href="https://huggingface.co/i-Lang">HuggingFace</a>
377
+ </div>
378
+ MIT · Eastsoft Inc. · I-Lang Research
379
+ </footer>
380
+ </div>
381
+ </body>
382
+ </html>