send your rss feed to telegram bot
https://github.com/hyoban/rss-to-bot.git
Use Github Action to send your RSS feeds to Telegram bots.
Use this template to generate your own repositoryfeeds.txt and sent.jsonSettings->Secrets->Actions->New repository secrets to create:TG_TOKENTG_CHAT_ID of your conversation with the botTIMEZONE. For example Asia/ShanghaiGIST_ID used to store your feeds.txt and sent.json filesGIST_TOKEN is used to update the gist, GenerateTG_CHAT_IDYou can run the following code locally, then send /start to the robot.
const TelegramBot = require('node-telegram-bot-api')
const token = 'xxxxx'
const bot = new TelegramBot(token, { polling: true })
let chatId = null
bot.onText(/\/start/, (msg) => {
chatId = msg.chat.id
console.log('chatId:', chatId)
bot.sendMessage(chatId, chatId)
})
Edit the content of - cron: '0 7,12,17,22 * * *' in the .github/workflows/main.yml file, the default meaning is that it will be executed at 7,12,17,22 o'clock every day.