Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram DC Latency Monitor 🌐⚡️

A modern, framework‑free website to monitor latency to Telegram datacenters with a premium glassmorphism UI, responsive layout, and instant country code search.

Features ✨

  • DC latency via HTTPS (median from parallel requests) with fallback to WebSocket
  • Auto refresh every 5s with animated countdown and status transitions
  • Real‑time country search (code like AT, +43, 43, partial numbers)
  • Glassmorphism design, dark/light theme with persistence
  • Mobile‑first responsive grid and smooth animations
  • Accessibility: ARIA labels, keyboard navigation, live regions

Datacenters 🛰

  • DC1 Pluto: wss://pluto.web.telegram.org/apiws
  • DC2 Venus: wss://venus.web.telegram.org/apiws
  • DC3 Aurora: wss://aurora.web.telegram.org/apiws
  • DC4 Vesta: wss://vesta.web.telegram.org/apiws
  • DC5 Flora: wss://flora.web.telegram.org/apiws

Getting Started 🚀

  1. Clone or copy the repository contents.
  2. Place dc.json at the project root (or use сfg.js embedded dataset).
  3. Serve statically:
    • macOS/Linux: python3 -m http.server 8000
    • Then open http://localhost:8000/

How Latency Is Measured ⏱

  • Primary: HTTPS GET to the DC host (mode: no-cors), 4 parallel attempts
    • Trimmed median: drop min/max, average the middle values
    • Prewarm DNS/TLS with a short fetch before the series
  • Fallback: WebSocket handshake RTT if HTTPS fails

Country Search 🔎

  • Loads from dc.json or сfg.js
  • Accepts AT, +43, 43, partial numeric inputs
  • Shows flag, country name, phone code, and DC assignment

Theme & Design 🎨

  • Dark theme (default) and Light theme toggle
  • Glass cards with blur, gradient borders, soft shadows
  • Smooth animations: fade‑in, pulse, slide‑in results, hover glow

License 📄

MIT — see LICENSE

Credits 🙌

Made by @Th3ryks

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages