https://github.com/dcdunkan/deno-news-bot
A bot for posting TypeScript news in a Telegram channel.
https://github.com/dcdunkan/deno-news-bot
Last synced: 8 months ago
JSON representation
A bot for posting TypeScript news in a Telegram channel.
- Host: GitHub
- URL: https://github.com/dcdunkan/deno-news-bot
- Owner: dcdunkan
- License: mit
- Created: 2022-08-23T20:48:40.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-14T19:26:14.000Z (over 1 year ago)
- Last Synced: 2025-05-06T19:56:15.573Z (about 1 year ago)
- Language: TypeScript
- Homepage: https://t.me/typescript_news
- Size: 56.6 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Deno News
Script for posting Deno (https://deno.land) related updates such as release
info, blog posts, and other news from various official sources in a Telegram
channel. Currently posting at , join for updates.
#### Sources (7)
The bot currently fetches the posts from the following sources:
-
-
- \*
- \*
-
- \*
- \*
- \*
-
> Refer to the main.ts file to find the RSS/Atom feed sources.
> \*: Indicates that the feed has a custom Telegram Instant-View. See the
> `iv-rules` directory for the Instant-View rule source. Also, I need help with
> keeping the instant views up-to-date. Contribute if you can.
#### Setup
You don't need to set anything up, if you're only looking for the real-time updates.
Just join: .
You need to set the following environmental variables to make this work properly:
- BOT_TOKEN: Bot token of the Telegram bot.
- CHANNEL: Chat ID where the bot is allowed to send and pin messages (only release news are pinned).
This project uses
- [Deno KV](https://docs.deno.com/deploy/kv/manual) to keep track of the already sent feed entries and to keep track of the last pinned message.
- [Deno Cron](https://docs.deno.com/deploy/kv/cron) to fetch latest posts and send them to the channel.