Giter Club home page Giter Club logo

rss_everyday's Introduction

进击的 RSS

RSS_EVERYDAY 是一个 RSS 订阅工具,它会每四小时采集一次新的文章,并通过 TG BOT 推送至指定的频道/群组。

How to use

项目使用姿势

TG Bot 创建

添加 @BotFather 机器人,注册一个 bot,记录下 bot 的 token

TG Channel 创建

创建一个 Channel,添加之前创建的 bot 为管理员,添加方式:
点击频道右上角的管理频道 - 管理员 - 添加管理员,搜索你创建的 bot 名称,将其添加为管理员即可,发送消息的权限必须赋予,其他权限可选。

点此登陆 网页版 telegram。点击你刚才创建的频道,链接格式类似 https://web.telegram.org/#/im?p=cxxx_ppp ,在这种情况下 -100xxx 为你的 Channel ID。

TG Group 创建

创建一个群组,添加之前创建的 bot 为管理员,添加方式类似 Channel。

点此登陆 网页版 telegram。点击你刚才创建的群组,链接格式类似https://web.telegram.org/#/im?p=sxxx_ppp ,在这种情况下 -100xxx 为你的 Group ID。 或者也有可能类似 https://web.telegram.org/#/im?p=gxxx ,在这种情况下 -xxx 为你的 Group ID。

github 配置

克隆本仓库,在仓库的 Settings-Secrets 新增两个字段 BOTTOKENCHANNELID ,他们的值分别是你的 bot token 和 Channel ID/Group ID。

RSS 源添加

如果网站本身提供了 RSS 链接,你可以按照 rss.json 的格式直接添加。如果没有提供 RSS 链接,你可以通过 RSSHub 制作对应的链接。

注意事项

代码中是使用发布时间进行筛选的,如果你所订阅的 RSS 链接无法解析出该字段,建议不要将该链接添加至 rss.json 文件。

此项目是基于 Github Action 的定时任务实现的,并且只会在达到设定时间的情况下才会触发 Action ,也可以手动触发。

rss_everyday's People

Contributors

ancientcatz avatar churchilldu avatar dianbanjiu avatar zibo-ye avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.