Spaces:
Running
Running
Add 3 files
Browse filesFiles changed (3)
- README.md+7-5
- index.html+617-19
- prompts.txtAdded
123452345678910111012---title: Telegram Checkeremoji: 🚀colorFrom: greencolorTo: graytitle: telegram-checkeremoji: 🐳colorFrom: pinkcolorTo: purplesdk: staticpinned: falsetags: - deepsite---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-referenceCheck out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference12345678910111213141516171819123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617<!doctype html><html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width" /> <title>My static Space</title> <link rel="stylesheet" href="style.css" /> </head> <body> <div class="card"> <h1>Welcome to your static Space!</h1> <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p> <p> Also don't forget to check the <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>. </p> </div> </body></html><!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Telegram Profile Checker</title> <script src="https://cdn.tailwindcss.com"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> <style> @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); :root { --telegram-blue: #0088cc; --telegram-light: #e6f4f9; --telegram-dark: #006699; } body { font-family: 'Inter', sans-serif; background-color: #f5f5f5; } .telegram-gradient { background: linear-gradient(135deg, var(--telegram-blue), var(--telegram-dark)); } .search-box { box-shadow: 0 10px 25px rgba(0, 136, 204, 0.2); } .profile-card { transition: all 0.3s ease; border-left: 4px solid var(--telegram-blue); } .profile-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); } .btn-telegram { background-color: var(--telegram-blue); transition: all 0.3s ease; } .btn-telegram:hover { background-color: var(--telegram-dark); transform: translateY(-2px); } .animate-pulse-slow { animation: pulse 3s infinite; } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } } .telegram-wave { position: absolute; bottom: 0; left: 0; width: 100%; overflow: hidden; line-height: 0; } .telegram-wave svg { position: relative; display: block; width: calc(100% + 1.3px); height: 150px; } .telegram-wave .shape-fill { fill: #FFFFFF; } </style></head><body> <!-- Navigation --> <nav class="bg-white shadow-sm sticky top-0 z-50"> <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> <div class="flex justify-between h-16"> <div class="flex items-center"> <div class="flex-shrink-0 flex items-center"> <i class="fab fa-telegram text-2xl text-blue-500 mr-2"></i> <span class="text-xl font-bold text-gray-900">TeleCheck</span> </div> <div class="hidden sm:ml-6 sm:flex sm:space-x-8"> <a href="#" class="border-blue-500 text-gray-900 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Home</a> <a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Features</a> <a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">API</a> <a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">About</a> </div> </div> <div class="hidden sm:ml-6 sm:flex sm:items-center"> <button class="btn-telegram text-white px-4 py-2 rounded-md text-sm font-medium shadow-sm">Get API Key</button> </div> <div class="-mr-2 flex items-center sm:hidden"> <button type="button" id="mobile-menu-button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-blue-500"> <span class="sr-only">Open main menu</span> <i class="fas fa-bars"></i> </button> </div> </div> </div> <!-- Mobile menu --> <div id="mobile-menu" class="hidden sm:hidden bg-white shadow-lg"> <div class="pt-2 pb-3 space-y-1"> <a href="#" class="bg-blue-50 border-blue-500 text-blue-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium">Home</a> <a href="#" class="border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium">Features</a> <a href="#" class="border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium">API</a> <a href="#" class="border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium">About</a> <div class="mt-4 px-4"> <button class="btn-telegram w-full text-white px-4 py-2 rounded-md text-base font-medium shadow-sm">Get API Key</button> </div> </div> </div> </nav> <!-- Hero Section with Search --> <div class="telegram-gradient text-white relative overflow-hidden"> <div class="max-w-7xl mx-auto py-24 px-4 sm:px-6 lg:px-8 relative z-10"> <div class="text-center"> <h1 class="text-4xl font-extrabold tracking-tight sm:text-5xl lg:text-6xl"> Check Telegram Profiles Instantly </h1> <p class="mt-6 max-w-2xl mx-auto text-xl text-blue-100"> Find and analyze any Telegram username with our powerful search tool </p> <!-- Search Box --> <div class="mt-10 max-w-2xl mx-auto"> <div class="search-box bg-white rounded-lg p-1 shadow-lg"> <div class="flex items-center"> <div class="flex-shrink-0 pl-4"> <i class="fab fa-telegram text-blue-500 text-xl"></i> </div> <input type="text" id="username-search" placeholder="Enter Telegram username (e.g., @username)" class="flex-1 px-4 py-3 border-0 focus:ring-0 focus:outline-none text-gray-700"> <button id="search-button" class="btn-telegram text-white px-6 py-3 rounded-md text-base font-medium"> Search </button> </div> </div> <p class="mt-3 text-sm text-blue-200"> Try: @durov, @telegram, @paveldurov </p> </div> </div> </div> <div class="telegram-wave"> <svg data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"> <path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" class="shape-fill"></path> </svg> </div> </div> <!-- Search Results Section --> <div id="search-results" class="hidden py-16 bg-white"> <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> <div class="text-center"> <h2 class="text-3xl font-extrabold text-gray-900 sm:text-4xl"> Profile Information </h2> <p class="mt-2 text-lg text-gray-500" id="searched-username"> Showing results for: <span class="font-medium text-blue-500">@username</span> </p> </div> <div class="mt-12 grid grid-cols-1 gap-8 md:grid-cols-2"> <!-- Profile Card --> <div class="profile-card bg-white p-8 rounded-xl shadow-md"> <div class="flex items-center"> <div class="flex-shrink-0"> <img id="profile-image" src="https://cdn-icons-png.flaticon.com/512/2111/2111644.png" alt="Profile" class="h-24 w-24 rounded-full bg-blue-100 p-2"> </div> <div class="ml-6"> <h3 class="text-2xl font-bold text-gray-900" id="profile-name">Loading...</h3> <p class="text-blue-500 font-medium" id="profile-username">@username</p> <div class="mt-2 flex space-x-4"> <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-blue-100 text-blue-800"> <i class="fas fa-user-friends mr-1"></i> <span id="profile-followers">0</span> followers </span> <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-green-100 text-green-800"> <i class="fas fa-check-circle mr-1"></i> <span id="profile-verified">Not verified</span> </span> </div> </div> </div> <div class="mt-6"> <h4 class="text-lg font-medium text-gray-900">Bio</h4> <p class="mt-2 text-gray-600" id="profile-bio">Loading profile information...</p> </div> <div class="mt-6 grid grid-cols-2 gap-4"> <div> <h4 class="text-sm font-medium text-gray-500">Phone Number</h4> <p class="mt-1 text-gray-900" id="profile-phone">Not available</p> </div> <div> <h4 class="text-sm font-medium text-gray-500">Last Seen</h4> <p class="mt-1 text-gray-900" id="profile-last-seen">Recently</p> </div> <div> <h4 class="text-sm font-medium text-gray-500">Account Created</h4> <p class="mt-1 text-gray-900" id="profile-created">Unknown</p> </div> <div> <h4 class="text-sm font-medium text-gray-500">Status</h4> <p class="mt-1 text-gray-900" id="profile-status">Active</p> </div> </div> </div> <!-- Activity Card --> <div class="profile-card bg-white p-8 rounded-xl shadow-md"> <h3 class="text-xl font-bold text-gray-900">Activity Stats</h3> <div class="mt-6 space-y-6"> <div> <h4 class="text-sm font-medium text-gray-500">Message Frequency</h4> <div class="mt-2 w-full bg-gray-200 rounded-full h-2.5"> <div class="bg-blue-600 h-2.5 rounded-full" style="width: 75%"></div> </div> <p class="mt-1 text-xs text-gray-500" id="message-frequency">High activity (10+ messages/day)</p> </div> <div> <h4 class="text-sm font-medium text-gray-500">Groups & Channels</h4> <div class="mt-2 flex space-x-4"> <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-purple-100 text-purple-800"> <i class="fas fa-users mr-1"></i> <span id="group-count">5</span> groups </span> <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-pink-100 text-pink-800"> <i class="fas fa-bullhorn mr-1"></i> <span id="channel-count">2</span> channels </span> </div> </div> <div> <h4 class="text-sm font-medium text-gray-500">Common Contacts</h4> <div class="mt-2 flex -space-x-2"> <img class="h-8 w-8 rounded-full border-2 border-white" src="https://randomuser.me/api/portraits/women/12.jpg" alt=""> <img class="h-8 w-8 rounded-full border-2 border-white" src="https://randomuser.me/api/portraits/men/32.jpg" alt=""> <img class="h-8 w-8 rounded-full border-2 border-white" src="https://randomuser.me/api/portraits/women/45.jpg" alt=""> <img class="h-8 w-8 rounded-full border-2 border-white" src="https://randomuser.me/api/portraits/men/76.jpg" alt=""> <span class="flex h-8 w-8 items-center justify-center rounded-full bg-gray-200 border-2 border-white text-xs font-medium text-gray-700">+12</span> </div> </div> <div> <button class="btn-telegram w-full text-white px-4 py-2 rounded-md text-sm font-medium"> <i class="fab fa-telegram mr-2"></i> Send Message </button> </div> </div> </div> </div> <!-- Additional Info --> <div class="mt-12"> <h3 class="text-xl font-bold text-gray-900">Similar Profiles</h3> <div class="mt-6 grid grid-cols-2 gap-4 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-6"> <div class="bg-white p-4 rounded-lg shadow-sm text-center"> <img class="h-16 w-16 rounded-full mx-auto" src="https://randomuser.me/api/portraits/men/32.jpg" alt=""> <p class="mt-2 text-sm font-medium text-gray-900">@alex</p> <p class="text-xs text-gray-500">Alex Johnson</p> </div> <div class="bg-white p-4 rounded-lg shadow-sm text-center"> <img class="h-16 w-16 rounded-full mx-auto" src="https://randomuser.me/api/portraits/women/44.jpg" alt=""> <p class="mt-2 text-sm font-medium text-gray-900">@maria</p> <p class="text-xs text-gray-500">Maria Garcia</p> </div> <div class="bg-white p-4 rounded-lg shadow-sm text-center"> <img class="h-16 w-16 rounded-full mx-auto" src="https://randomuser.me/api/portraits/men/75.jpg" alt=""> <p class="mt-2 text-sm font-medium text-gray-900">@john</p> <p class="text-xs text-gray-500">John Smith</p> </div> <div class="bg-white p-4 rounded-lg shadow-sm text-center"> <img class="h-16 w-16 rounded-full mx-auto" src="https://randomuser.me/api/portraits/women/68.jpg" alt=""> <p class="mt-2 text-sm font-medium text-gray-900">@sarah</p> <p class="text-xs text-gray-500">Sarah Lee</p> </div> <div class="bg-white p-4 rounded-lg shadow-sm text-center"> <img class="h-16 w-16 rounded-full mx-auto" src="https://randomuser.me/api/portraits/men/22.jpg" alt=""> <p class="mt-2 text-sm font-medium text-gray-900">@mike</p> <p class="text-xs text-gray-500">Mike Chen</p> </div> <div class="bg-white p-4 rounded-lg shadow-sm text-center"> <img class="h-16 w-16 rounded-full mx-auto" src="https://randomuser.me/api/portraits/women/90.jpg" alt=""> <p class="mt-2 text-sm font-medium text-gray-900">@lisa</p> <p class="text-xs text-gray-500">Lisa Wong</p> </div> </div> </div> </div> </div> <!-- Features Section --> <div class="py-16 bg-blue-50"> <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> <div class="text-center"> <h2 class="text-3xl font-extrabold text-gray-900 sm:text-4xl"> Why Use Our Telegram Checker? </h2> <p class="mt-4 max-w-2xl text-xl text-gray-500 mx-auto"> Powerful features to analyze any Telegram profile </p> </div> <div class="mt-20"> <div class="grid grid-cols-1 gap-12 sm:grid-cols-2 lg:grid-cols-3"> <!-- Feature 1 --> <div class="bg-white p-8 rounded-xl shadow-md"> <div class="flex items-center justify-center h-12 w-12 rounded-md bg-blue-500 text-white"> <i class="fas fa-search text-xl"></i> </div> <h3 class="mt-6 text-lg font-medium text-gray-900">Instant Search</h3> <p class="mt-2 text-base text-gray-500"> Find any Telegram user by their username in seconds with our lightning-fast search. </p> </div> <!-- Feature 2 --> <div class="bg-white p-8 rounded-xl shadow-md"> <div class="flex items-center justify-center h-12 w-12 rounded-md bg-green-500 text-white"> <i class="fas fa-chart-bar text-xl"></i> </div> <h3 class="mt-6 text-lg font-medium text-gray-900">Detailed Analytics</h3> <p class="mt-2 text-base text-gray-500"> Get comprehensive statistics about user activity, followers, and engagement. </p> </div> <!-- Feature 3 --> <div class="bg-white p-8 rounded-xl shadow-md"> <div class="flex items-center justify-center h-12 w-12 rounded-md bg-purple-500 text-white"> <i class="fas fa-shield-alt text-xl"></i> </div> <h3 class="mt-6 text-lg font-medium text-gray-900">Safety Check</h3> <p class="mt-2 text-base text-gray-500"> Verify account authenticity and check for suspicious activity patterns. </p> </div> <!-- Feature 4 --> <div class="bg-white p-8 rounded-xl shadow-md"> <div class="flex items-center justify-center h-12 w-12 rounded-md bg-yellow-500 text-white"> <i class="fas fa-history text-xl"></i> </div> <h3 class="mt-6 text-lg font-medium text-gray-900">Activity History</h3> <p class="mt-2 text-base text-gray-500"> Track changes in profile information, photos, and usernames over time. </p> </div> <!-- Feature 5 --> <div class="bg-white p-8 rounded-xl shadow-md"> <div class="flex items-center justify-center h-12 w-12 rounded-md bg-red-500 text-white"> <i class="fas fa-users text-xl"></i> </div> <h3 class="mt-6 text-lg font-medium text-gray-900">Network Analysis</h3> <p class="mt-2 text-base text-gray-500"> Discover common contacts and mutual groups between users. </p> </div> <!-- Feature 6 --> <div class="bg-white p-8 rounded-xl shadow-md"> <div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white"> <i class="fas fa-code text-xl"></i> </div> <h3 class="mt-6 text-lg font-medium text-gray-900">API Access</h3> <p class="mt-2 text-base text-gray-500"> Integrate our data into your applications with our developer-friendly API. </p> </div> </div> </div> </div> </div> <!-- CTA Section --> <div class="telegram-gradient"> <div class="max-w-7xl mx-auto py-16 px-4 sm:px-6 lg:px-8"> <div class="text-center"> <h2 class="text-3xl font-extrabold text-white sm:text-4xl"> Ready to explore Telegram profiles? </h2> <p class="mt-4 max-w-2xl mx-auto text-xl text-blue-100"> Start searching now or integrate our API into your application. </p> <div class="mt-8 flex justify-center space-x-4"> <button class="bg-white text-blue-600 px-8 py-3 rounded-md text-lg font-medium shadow-lg hover:bg-gray-100 transition duration-300"> Start Searching </button> <button class="btn-telegram text-white px-8 py-3 rounded-md text-lg font-medium shadow-lg"> Get API Key </button> </div> </div> </div> </div> <!-- Footer --> <footer class="bg-gray-800"> <div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8"> <div class="grid grid-cols-2 md:grid-cols-4 gap-8"> <div> <h3 class="text-white text-sm font-semibold tracking-wider uppercase">Product</h3> <ul class="mt-4 space-y-4"> <li><a href="#" class="text-gray-300 hover:text-white">Search Tool</a></li> <li><a href="#" class="text-gray-300 hover:text-white">API</a></li> <li><a href="#" class="text-gray-300 hover:text-white">Pricing</a></li> <li><a href="#" class="text-gray-300 hover:text-white">Features</a></li> </ul> </div> <div> <h3 class="text-white text-sm font-semibold tracking-wider uppercase">Resources</h3> <ul class="mt-4 space-y-4"> <li><a href="#" class="text-gray-300 hover:text-white">Documentation</a></li> <li><a href="#" class="text-gray-300 hover:text-white">Blog</a></li> <li><a href="#" class="text-gray-300 hover:text-white">Guides</a></li> <li><a href="#" class="text-gray-300 hover:text-white">Support</a></li> </ul> </div> <div> <h3 class="text-white text-sm font-semibold tracking-wider uppercase">Company</h3> <ul class="mt-4 space-y-4"> <li><a href="#" class="text-gray-300 hover:text-white">About</a></li> <li><a href="#" class="text-gray-300 hover:text-white">Careers</a></li> <li><a href="#" class="text-gray-300 hover:text-white">Privacy</a></li> <li><a href="#" class="text-gray-300 hover:text-white">Terms</a></li> </ul> </div> <div> <h3 class="text-white text-sm font-semibold tracking-wider uppercase">Subscribe</h3> <p class="mt-4 text-gray-300">Get the latest updates and news.</p> <form class="mt-4 sm:flex"> <label for="footer-email" class="sr-only">Email</label> <input id="footer-email" type="email" placeholder="Enter your email" class="px-4 py-2 rounded-md w-full"> <button type="submit" class="mt-3 sm:mt-0 sm:ml-3 btn-telegram px-4 py-2 rounded-md text-sm font-medium">Subscribe</button> </form> </div> </div> <div class="mt-12 border-t border-gray-700 pt-8 flex flex-col md:flex-row justify-between"> <div class="flex space-x-6"> <a href="#" class="text-gray-400 hover:text-white"> <i class="fab fa-telegram"></i> </a> <a href="#" class="text-gray-400 hover:text-white"> <i class="fab fa-twitter"></i> </a> <a href="#" class="text-gray-400 hover:text-white"> <i class="fab fa-github"></i> </a> <a href="#" class="text-gray-400 hover:text-white"> <i class="fab fa-instagram"></i> </a> </div> <p class="mt-4 md:mt-0 text-gray-400 text-sm"> © 2023 TeleCheck. All rights reserved. </p> </div> </div> </footer> <!-- Loading Indicator --> <div id="loading-indicator" class="hidden fixed inset-0 bg-black bg-opacity-50 z-50 flex items-center justify-center"> <div class="bg-white p-8 rounded-xl shadow-xl text-center"> <div class="animate-spin rounded-full h-16 w-16 border-b-2 border-blue-500 mx-auto"></div> <p class="mt-4 text-lg font-medium text-gray-900">Searching Telegram...</p> <p class="mt-1 text-gray-500" id="searching-username">Looking up @username</p> </div> </div> <script> // Mobile menu toggle const mobileMenuButton = document.getElementById('mobile-menu-button'); const mobileMenu = document.getElementById('mobile-menu'); mobileMenuButton.addEventListener('click', () => { mobileMenu.classList.toggle('hidden'); }); // Sample profile data (in a real app, this would come from an API) const sampleProfiles = { "durov": { name: "Pavel Durov", username: "@durov", bio: "Founder and CEO of Telegram. Freedom fighter.", followers: "5.2M", verified: "Verified", phone: "+1 415 123 4567", lastSeen: "Online now", created: "Jun 2013", status: "Active", image: "https://upload.wikimedia.org/wikipedia/commons/7/7e/Pavel_Durov_%2830.01.2014%29_%28cropped%29.jpg" }, "telegram": { name: "Telegram", username: "@telegram", bio: "Official Telegram channel. Fast. Secure. Powerful.", followers: "12.8M", verified: "Official", phone: "Not available", lastSeen: "Recently", created: "Aug 2013", status: "Active", image: "https://cdn-icons-png.flaticon.com/512/2111/2111644.png" }, "paveldurov": { name: "Pavel Durov", username: "@paveldurov", bio: "Personal account of Pavel Durov, founder of Telegram and VK.", followers: "3.7M", verified: "Verified", phone: "Not available", lastSeen: "2 hours ago", created: "Mar 2014", status: "Active", image: "https://upload.wikimedia.org/wikipedia/commons/7/7e/Pavel_Durov_%2830.01.2014%29_%28cropped%29.jpg" } }; // Search functionality const searchButton = document.getElementById('search-button'); const usernameInput = document.getElementById('username-search'); const searchResults = document.getElementById('search-results'); const searchedUsername = document.getElementById('searched-username'); const loadingIndicator = document.getElementById('loading-indicator'); const searchingUsername = document.getElementById('searching-username'); searchButton.addEventListener('click', () => { const username = usernameInput.value.trim().replace('@', ''); if (username.length < 3) { alert('Please enter a valid Telegram username (at least 3 characters)'); return; } // Show loading indicator searchingUsername.textContent = `Looking up @${username}`; loadingIndicator.classList.remove('hidden'); // Simulate API call with timeout setTimeout(() => { // Hide loading indicator loadingIndicator.classList.add('hidden'); // Show results section searchResults.classList.remove('hidden'); // Update searched username searchedUsername.innerHTML = `Showing results for: <span class="font-medium text-blue-500">@${username}</span>`; // Scroll to results searchResults.scrollIntoView({ behavior: 'smooth' }); // Update profile data (in a real app, this would come from an API response) const profileData = sampleProfiles[username.toLowerCase()] || { name: username.charAt(0).toUpperCase() + username.slice(1), username: `@${username}`, bio: "This is a sample profile. In a real application, this data would come from the Telegram API.", followers: Math.floor(Math.random() * 10000), verified: Math.random() > 0.7 ? "Verified" : "Not verified", phone: Math.random() > 0.5 ? `+1 ${Math.floor(Math.random() * 900000000) + 100000000}` : "Not available", lastSeen: ["Online now", "Recently", "Within a week", "Long time ago"][Math.floor(Math.random() * 4)], created: ["Jan 2015", "Mar 2016", "Sep 2017", "Dec 2018", "Feb 2020"][Math.floor(Math.random() * 5)], status: ["Active", "Inactive", "Restricted"][Math.floor(Math.random() * 3)], image: `https://i.pravatar.cc/150?u=${username}` }; // Update profile elements document.getElementById('profile-name').textContent = profileData.name; document.getElementById('profile-username').textContent = profileData.username; document.getElementById('profile-bio').textContent = profileData.bio; document.getElementById('profile-followers').textContent = profileData.followers; document.getElementById('profile-verified').textContent = profileData.verified; document.getElementById('profile-phone').textContent = profileData.phone; document.getElementById('profile-last-seen').textContent = profileData.lastSeen; document.getElementById('profile-created').textContent = profileData.created; document.getElementById('profile-status').textContent = profileData.status; document.getElementById('profile-image').src = profileData.image; // Update activity stats document.getElementById('group-count').textContent = Math.floor(Math.random() * 20); document.getElementById('channel-count').textContent = Math.floor(Math.random() * 10); const frequencies = ["Low", "Medium", "High"]; document.getElementById('message-frequency').textContent = `${frequencies[Math.floor(Math.random() * 3)]} activity`; }, 1500); }); // Allow search on Enter key usernameInput.addEventListener('keypress', (e) => { if (e.key === 'Enter') { searchButton.click(); } }); // Sample usernames click handler document.querySelectorAll('.similar-profiles p').forEach(el => { el.addEventListener('click', () => { usernameInput.value = el.textContent; searchButton.click(); }); }); </script><p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=lovecoding714/telegram-checker" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body></html>README.md+7-5
index.html+617-19
prompts.txtAdded