Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nuzulul/telegram-rss
A simple converter Telegram channel to RSS Feeds
https://github.com/nuzulul/telegram-rss
node-js telegram telegram-api telegram-bot telegram-channel-rss telegram-channel-scraper telegram-channel-to-rss telegram-rss telegram-rss-generator telegram-scraper telegram-to-rss
Last synced: 2 months ago
JSON representation
A simple converter Telegram channel to RSS Feeds
- Host: GitHub
- URL: https://github.com/nuzulul/telegram-rss
- Owner: nuzulul
- License: mit
- Created: 2024-01-25T02:02:32.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-02-03T10:58:48.000Z (12 months ago)
- Last Synced: 2024-08-09T04:38:51.076Z (5 months ago)
- Topics: node-js, telegram, telegram-api, telegram-bot, telegram-channel-rss, telegram-channel-scraper, telegram-channel-to-rss, telegram-rss, telegram-rss-generator, telegram-scraper, telegram-to-rss
- Language: JavaScript
- Homepage: https://codesandbox.io/p/devbox/telegram-channel-rss-2c4rwz
- Size: 10.7 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# telegram-rss
A simple converter Telegram channel to RSS Feeds[![NPM](https://nodei.co/npm/telegram-rss.png?mini=true)](https://www.npmjs.com/package/telegram-rss)
[![npm version](https://badge.fury.io/js/telegram-rss.svg)](https://www.npmjs.com/package/telegram-rss)## Features
* ✅ No Authentication
* ✅ Plain Output
* ✅ Lightwight## Demo
[https://codesandbox.io/p/devbox/telegram-channel-rss-2c4rwz](https://codesandbox.io/p/devbox/telegram-channel-rss-2c4rwz)
## Installation
```javascript
npm install telegram-rss
```## Example Usage
```javascript
import {telegram_rss} from 'telegram-rss'void async function main() {
let telegram_channel_username = 'telegram'
let result = await telegram_rss(telegram_channel_username)
console.log(result)
}()
``````javascript
const {telegram_rss} = require('telegram-rss')void async function main() {
let telegram_channel_username = 'telegram'
let result = await telegram_rss(telegram_channel_username)
console.log(result)
}()
```## Example App
```javascript
const {telegram_rss} = require('telegram-rss')const http = require('http')
const serverport = process.env.PORT || 8080
let telegram_channel = 'telegram'
const server = http.createServer(async(req,res)=>{
let result = await telegram_rss(telegram_channel)
res.statusCode = 200
res.setHeader('Content-Type','application/xml')
res.setHeader('Access-Control-Allow-Origin','*')
res.end(result)
})server.listen(serverport,()=>{
console.log(`Server running at ${serverport}`)
})
```## Example Output
```javascript
telegram
https://t.me/telegram
RSS Feed from telegram Telegram channel
2024-01-25T05:17:14.725Z
For all the details on giveaways, including how to set them up and how to participate in a massive giveaway sponsored by @durov, check out the latest blog: https://telegram.org/blog/giveaways November Features 1 • 2 • 3 • More
https://t.me/telegram/254
For all the details on giveaways, including how to set them up and how to participate in a massive giveaway sponsored by @durov, check out the latest blog: https://telegram.org/blog/giveaways November Features 1 • 2 • 3 • More
2023-11-07T12:16:32+00:00
Joining a channel now shows a list of similar public channels that you can check out. November Features 1 • 2 • 3 • More
https://t.me/telegram/255
Joining a channel now shows a list of similar public channels that you can check out. November Features 1 • 2 • 3 • More
2023-12-04T13:26:43+00:00
Stories from your friends and favorite channels can be reposted – with extra text, audio or even a video comment. November Features 1 • 2 • 3 • More
https://t.me/telegram/256
Stories from your friends and favorite channels can be reposted – with extra text, audio or even a video comment. November Features 1 • 2 • 3 • More
2023-12-04T13:26:56+00:00
When posting or reposting a story, you can now add a video message to include extra commentary or comedic effects. November Features 1 • 2 • 3 • More
https://t.me/telegram/257
When posting or reposting a story, you can now add a video message to include extra commentary or comedic effects. November Features 1 • 2 • 3 • More
https://cdn1.cdn-telegram.org/file/On16bORCNk2sRC0CvL2nG-mHMYExrksjjs9cQlQgpLYSujxh5zdPVyZflTbcBhX3g_aKHmurBiLBNq5-7o_Nn5dShTRshg9VnRQrW5XT6jbK3LKZCXrjzSY4k_ZwH0rd5er6xyxS746im-Mb76i8_KsA3f4kZZGDVFVAa4ztbOSnz7SOI-cV5jPYg3X5TklWlCnDhMpYZ2CdGy-d2yvo-JpLxApuLsGquz_ZSJEodP0Z6kaWYm_dzIzW787TeFZaudvbPK1eBR8F9WUFSS59j7B-mfGjPAXY6quNLA2TmJhcmv2X1GvUUAm3FVJwy25jPpfSpCpd50fZKynPtH85DQ.jpg
When posting or reposting a story, you can now add a video message to include extra commentary or comedic effects. November Features 1 • 2 • 3 • More
https://t.me/telegram/257
2023-12-04T13:27:10+00:00
```
## License
MIT