tg-channel-to-rss
Telegram channel to JSON feed, with a live Datastar demo.
/feed API landing

Turn a public Telegram channel into a JSON feed.

Call /feed/{channel_name}, get structured JSON, and test it from this page without leaving the browser.

GET Single endpoint for direct JSON consumption.
60s Public cache window returned by the API.
Datastar Landing interactivity with declarative data-* bindings.

Curl

Use it from shell scripts and cron jobs.

Pipe the JSON to jq, store it, or fan it out to other systems.

curl 'https://tg-rss.contractsguard.com/feed/telegram'

Frontend

Fetch it directly from a browser app.

Use relative URLs in development, or an absolute host when deployed.

fetch('/feed/telegram') .then((response) => response.json()) .then((feed) => console.log(feed.items.length))

Direct URL

Open the feed in a browser or pass it to tooling.

Public channels only. Sensitive or protected channels may return limited data.

https://tg-rss.contractsguard.com/feed/telegram

Live demo

Preview the API response.

Enter a public Telegram channel name. The page will call the real endpoint and pretty-print the JSON.

Request URL

Open in new tab
Ready.

Response

{
  "hint": "Submit the demo to fetch a live feed"
}
Datastar powers the reactive bits. The fetch demo itself uses the same /feed/{channel} route your clients call. https://tg-rss.contractsguard.com/feed/telegram

Service creator

This service was developed by contractsguard.com .