Skip to content

Turn any Telegram channel into RSS. Aggregate multiple channels. Feed real-time info to your AI.

Notifications You must be signed in to change notification settings

shmlkv/telegram-rss-parser-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram RSS Aggregator

Turn any Telegram channel into RSS. Aggregate multiple channels. Feed real-time info to your AI.

Live Demo

Production instance: https://telegram-rss-parser-web.vercel.app

Try it now:

Features

  • Multi-channel aggregation: Combine RSS feeds from multiple Telegram channels
  • Chronological sorting: All posts sorted by publication date (newest first)
  • Flexible querying: Get feeds from all channels, specific channels, or individual channels
  • Multiple output formats: RSS 2.0 XML or JSON (add ?format=json parameter)
  • Image support: Extracts images from posts with proper RSS enclosures
  • Rich metadata: Includes title, description, link, pubDate, GUID, images, author, and category
  • CORS enabled: Can be used from any frontend application
  • AI-friendly: Perfect for feeding real-time information to AI assistants and LLMs

Installation

yarn install

Usage

Start the server:

yarn start

The server will run on port 8080 (or PORT environment variable).

Deploy to Vercel

Deploy with Vercel

Or manually:

npm i -g vercel
vercel

The vercel.json configuration file is already included for seamless deployment.

API Endpoints

1. GET /

Shows help message with available endpoints and channels list.

Response: Plain text

2. GET /crypto

Returns combined RSS feed from all predefined crypto channels, sorted by date.

Example: /crypto or /crypto?format=json

Response: XML (RSS 2.0) or JSON

3. GET /channels?list=channel1,channel2,channel3

Returns RSS feed from specified channels.

Example: /channels?list=quote,leftcurvemaxing,dragossden or with &format=json

Response: XML (RSS 2.0) or JSON

4. GET /{channel_name}

Returns RSS feed from any single Telegram channel.

Example: /quote or /quote?format=json

Response: XML (RSS 2.0) or JSON

Use Cases

AI Integration

This service is perfect for providing real-time Telegram content to AI assistants:

  • LLM Context: Feed latest posts from specific channels directly to ChatGPT, Claude, or other LLMs
  • Custom AI Agents: Use as a data source for AI agents that need up-to-date crypto/news information
  • Automated Analysis: Combine multiple channels into one feed for sentiment analysis or trend detection
  • RSS Readers with AI: Use with AI-powered RSS readers that can summarize and analyze content

Example workflow:

  1. Get aggregated feed in JSON: https://telegram-rss-parser-web.vercel.app/crypto?format=json
  2. Parse JSON response (or use RSS XML without format parameter)
  3. Feed content to your AI for analysis, summaries, or insights

Standard RSS Readers

Works with any RSS reader application (Feedly, Inoreader, NewsBlur, etc.)

Predefined Channels

The /crypto endpoint aggregates these channels:

  1. wizwhimsicals
  2. leftcurvemaxing
  3. asymmetric_thinker
  4. cryptostream_research
  5. dragossden
  6. lightsdeathnote
  7. soupworld
  8. tpapi_tg
  9. frontrun2
  10. ricedaily
  11. Defiscamcheck

Technical Details

  • Built with Node.js and native http module
  • Uses telegram-rss for Telegram channel parsing
  • Uses xml2js for RSS XML parsing
  • Parallel fetching with Promise.allSettled for optimal performance
  • Error handling per channel (failed channels don't break the entire feed)

Response Format

RSS XML Format (default)

Each item includes:

  • <title> - Post title
  • <link> - Telegram post URL
  • <guid> - Unique identifier
  • <description> - Post content with channel prefix
  • <pubDate> - Publication date
  • <source> - Channel name
  • <enclosure> - Image URL (if post contains image)
  • <image> - Full image metadata (url, title, link)

JSON Format (?format=json)

Each item includes:

{
  "channel": "channel_name",
  "title": "Post title",
  "link": "https://t.me/channel/123",
  "description": "Post content",
  "pubDate": "2025-10-12T12:00:00+00:00",
  "guid": "https://t.me/channel/123",
  "image": {
    "url": "https://cdn.telesco.pe/...",
    "title": "Image title"
  },
  "author": "Author name (if available)",
  "category": "Category (if available)"
}

License

MIT

About

Turn any Telegram channel into RSS. Aggregate multiple channels. Feed real-time info to your AI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published