Skip to content

thesajidalam/Chat-UI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

A Futuristic Telegram Bot Command Center | Single HTML File | No Backend

A stunning, futuristic interface to control Telegram bots from your browser. This single HTML file transforms a simple bot token into a premium messaging dashboard with gradient animations, real-time simulation, and mobile-responsive design.

🚀 Features

🎨 Modern UI/UX

· Gradient Design System - Dynamic CSS gradients and glass-morphism effects · Responsive Layout - Perfect on mobile (320px) to desktop (8K) displays · Smooth Animations - 60fps message transitions and interactive elements · Dark Theme - Eye-friendly interface with futuristic aesthetics

⚡ Core Functionality

· Direct Telegram API Integration - Communicate directly with api.telegram.org · Bot Token Management - Secure input with one-click connection testing · Real-time Chat Simulation - Experience UI flow without actual bot token · Message History - Visual chat timeline with timestamps and status indicators

🔒 Security & Privacy

· Zero Backend - All code runs in your browser · No Data Collection - We don't store tokens, messages, or analytics · Direct API Calls - Your token only talks to Telegram's official servers · Transparent Code - Everything is in one readable HTML file

📦 Quick Start

Method 1: Instant Launch

# Clone and open immediately
git clone https://github.com/yourusername/chat2090.git
cd chat2090
open chat2090.html  # Or simply double-click the file!

Method 2: Manual Setup

  1. Copy the entire HTML code from this repository
  2. Paste into a new text file and save as chat2090.html
  3. Open in any modern browser (Chrome, Firefox, Edge, Safari)

Method 3: Live Demo

Visit our hosted demo to try instantly without downloading.

🔧 Configuration

  1. Get Your Telegram Bot Token
1. Open Telegram and search for @BotFather
2. Send /newbot and follow the instructions
3. Save your token: 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11
  1. Find Your Chat ID
// Method A: Direct Messages
1. Message your bot from any account
2. Visit: https://api.telegram.org/bot<YOUR_TOKEN>/getUpdates
3. Look for "chat":{"id": 123456789}

// Method B: Group Chats
1. Add your bot to a group
2. Send any message in the group
3. Check the same URL for group ID (negative number)
  1. Configure in App

  2. Open chat2090.html in your browser

  3. Enter your Bot Token and Chat ID in the left panel

  4. Click "TEST CONNECTION" - green indicator means success!

  5. Start sending messages from the chat interface

📱 Usage Guide

🎛️ Control Panel (Left Sidebar)

· Bot Token Input - Secure field for your Telegram bot token · Chat ID Field - Target user/group/channel identifier · Test Connection - Verify bot token validity instantly · Simulate Chat - Experience UI with demo messages

💬 Chat Interface (Main Area)

· Message Display - Gradient bubbles with timestamps · Connection Status - Live indicator with pulse animation · Message Input - Type and send with Enter key or button · Send Button - Animated submission with status feedback

🎯 Advanced Features

· Simulation Mode - Test UI without actual bot token · Responsive Design - Adapts to any screen size automatically · Direct API Access - Zero proxy, maximum security · Modern CSS - Variables, flexbox, grid, and transitions

🏗️ Architecture

graph TD
    A[Single HTML File] --> B{CSS + JS + HTML}
    B --> C[Telegram API]
    B --> D[Browser Storage]
    B --> E[UI Rendering]
    
    C --> F[Send Messages]
    C --> G[Get Bot Info]
    
    E --> H[Responsive Layout]
    E --> I[Animations]
    E --> J[Event Handling]
    
    F --> K[Live Chat]
    G --> L[Connection Status]
    
    H --> M[✨ User Experience]
    I --> M
    J --> M
    K --> M
    L --> M
Loading

Technical Stack:

· HTML5 - Semantic markup and structure · CSS3 - Variables, flexbox, grid, animations, gradients · Vanilla JavaScript - ES6+, async/await, fetch API · Telegram Bot API - Direct HTTPS communication

🌐 Browser Support

Browser Version Status Chrome 60+ ✅ Fully Supported Firefox 55+ ✅ Fully Supported Safari 12+ ✅ Fully Supported Edge 79+ ✅ Fully Supported Opera 50+ ✅ Fully Supported

About

Telegram Bot Control Panel with Modern Chat UI A single-file, responsive web application that provides a beautiful interface to interact with the Telegram Bot API. Enter your bot token and chat ID to send messages directly from your browser. Features a fully simulated real-time chat interface with gradient designs, smooth animations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages