Lightweight Telegram Channel Post Viewer Script in PHP — fetch and display public Telegram posts with caching & without API or bot access.
In regions where access to Telegram is limited or restricted — like inside Iran — this script offers a practical solution: it fetches the latest posts from any public Telegram channel and displays them directly on your website.
It’s a perfect fit for situations where using the Telegram Bot API is not an option or you simply need a fast, API-free solution.
🔹 Key Features:
-
No Bot Token or Telegram API required
-
Fetches posts from
t.me/s/[channel]
using server-side cURL -
Stores post data in a lightweight file
-
Generates a static HTML page for fast and scalable access
-
Posts are sorted by latest first (newest on top)
-
Prevents duplicate posts upon repeated fetches
-
Includes sample design with Persian font & clean visual structure
-
Compatible with cron jobs for automatic updates
🔸 Who Is This Script For?
-
Journalists, emergency trackers, and users who need real-time access to channel updates
-
Webmasters who want to embed Telegram content on their site without relying on the API
-
Developers looking for a lightweight, ready-to-run script without any dependencies
✅ The script is fully tested and production-ready.
🟠 Easy to set up on any Linux-based shared or VPS hosting.
⚠️ Note: This script works only for public Telegram channels. Private or protected content is not supported.
Reviews
There are no reviews yet.